diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1999-11-09 06:30:16 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1999-11-09 06:30:16 +0000 |
commit | 773e33a81bb0d8f0adc9a147f29b1c49438718f8 (patch) | |
tree | bcfb4add33bbbec228b562881271dae0f69cef79 /sys/arch/powerpc/stand/ofdev.h | |
parent | adbdd023d1619dc80b45b1042e9b0fb545d04857 (diff) |
Add OpenBSD tags.
changes to boot on Apple iMac G3 (333). ethernet address changes
Locore.c
OpenBSD tag
hack to delay decrementer exception until after bootload,
apple OFW enables interrupts during "system calls"
add OF_call_method, to make ofw call by name.
Apple OFW can return unexpected values from getchar calls.
alloc.c
OpenBSD tag
boot.c
OpenBSD tag
updated (but still unused load symbol code).
Code cleanup for egcs.
cache.c
OpenBSD tag
use dcbst, not dcbf
icbi has both arguments as registers, not constant and register.
net.c
OpenBSD tag
netif_of.c
OpenBSD tag
add "local-mac-address" to methods of fetching mac address,
it can be stored in that variable or in mac-address.
support dma buffers,
add additional return value for OF_read for network timeout purposes.
ofdev.c
OpenBSD tag
support dma buffers,
ofdev.h
OpenBSD tag
add dmabuf
remove MAC default kernel def.
ofwmagic.S
OpenBSD tag
openfirm.h
OpenBSD tag
boot.mac/Makefile
Build debug, - not used for version 3 apple openfirmware, ie imacs.
Diffstat (limited to 'sys/arch/powerpc/stand/ofdev.h')
-rw-r--r-- | sys/arch/powerpc/stand/ofdev.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/powerpc/stand/ofdev.h b/sys/arch/powerpc/stand/ofdev.h index 104aea6012c..77e23d32340 100644 --- a/sys/arch/powerpc/stand/ofdev.h +++ b/sys/arch/powerpc/stand/ofdev.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ofdev.h,v 1.5 1999/11/09 06:30:15 rahnds Exp $ */ /* $NetBSD: ofdev.h,v 1.1 1997/04/16 20:29:22 thorpej Exp $ */ /* @@ -38,17 +39,14 @@ struct of_dev { int type; u_long partoff; int bsize; + void *dmabuf; }; /* Known types: */ #define OFDEV_NET 1 #define OFDEV_DISK 2 -#ifdef MAC -#define DEFAULT_KERNEL ":bsd" -#else #define DEFAULT_KERNEL "/bsd" -#endif extern char opened_name[]; |