diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1999-11-09 04:13:55 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1999-11-09 04:13:55 +0000 |
commit | 03d4fb716427823837399569ed28e97ba72a2c87 (patch) | |
tree | 1cc2a7d33389cbb734eeebdfadf25b3aa635df9b /sys/arch/powerpc/include/autoconf.h | |
parent | 5e5bf313585557019b4eca25c977aa529dd6e86e (diff) |
autoconf.h
add mac hooks to the powerpc config structure, probably
a hack, and certainly needs to be cleaned up.
bus.h
p4e_ -> ppc_X
add write_multi and prototypes for bus_space_X_raw_multi functions.
intr.h
add structure for interrupt handler.
pio.h
remove the unnecessary and slowing "sync" instruction from
each pio access.
remove unnecessary newline characters from the generated asm.
eieio after writes, but before reads.
types.h
formatting change
vmparam.h
change powerpc kernel virtual memory sizing from a fixed segment
to a variable, initialized with a segment size, this is
so that the pmap allocator can steal virtual memory, if vm
is not yet set up. Necessary for mapping devices before the
kernel vm structures are initialized.
Diffstat (limited to 'sys/arch/powerpc/include/autoconf.h')
-rw-r--r-- | sys/arch/powerpc/include/autoconf.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/autoconf.h b/sys/arch/powerpc/include/autoconf.h index 652bc8c0d16..b5a8618016d 100644 --- a/sys/arch/powerpc/include/autoconf.h +++ b/sys/arch/powerpc/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.5 1999/07/05 21:01:19 rahnds Exp $ */ +/* $OpenBSD: autoconf.h,v 1.6 1999/11/09 04:13:54 rahnds Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -38,6 +38,8 @@ #ifndef _MACHINE_AUTOCONF_H_ #define _MACHINE_AUTOCONF_H_ +#include <machine/bus.h> + /* * System types. */ @@ -81,6 +83,16 @@ typedef struct bushook { struct confargs { char *ca_name; /* Device name. */ bushook_t *ca_bus; /* bus device resides on. */ + /* macobio hooks ?? */ + bus_space_tag_t ca_iot; + bus_space_tag_t ca_memt; /* XXX */ + u_int32_t ca_node; + int ca_nreg; + u_int32_t *ca_reg; + int ca_nintr; + int32_t *ca_intr; + u_int ca_baseaddr; + }; void set_clockintr __P((void (*)(struct clockframe *))); |