Commit Graph

53361 Commits

Author SHA1 Message Date
bjh21
b5c13de9bf Pull in <machine/conf.h> to get prototypes for cdevsw functions, and correct
the signature of iicioctl() appropriately.
2002-02-18 11:51:57 +00:00
bjh21
216b4f1c81 Add prototypes for dma_reset(), dma_setup(), dma_isactive(), dma_isintr() and
dma_intr().
2002-02-18 11:41:18 +00:00
bjh21
dbc5effbc8 Change signature of dma_intr() to match other interrupt handlers. 2002-02-18 11:40:42 +00:00
jmc
a10cd2d55f Print the tcode in hex when debugging like all other debug statements 2002-02-18 09:10:44 +00:00
uwe
b7a9ca77f2 We are using shared headers from dev/ebus now. 2002-02-18 04:55:00 +00:00
uwe
e158bed889 Switch to shared EBus headers in dev/ebus. 2002-02-18 04:52:26 +00:00
uwe
8598481f3c Convert to use shared headers in dev/ebus. Move ebus_softc definition here.
Normalize bar field of EBus children PROM "reg" property to be the BAR
offset in PCI config space like on sparc64 when building ebus_attach_args.
2002-02-18 04:50:57 +00:00
uwe
d2be07c591 Shared ebusvar.h for sparc and sparc64.
NB: ebus_attach_args member names are singular to be consistent with SBus.
sparc64 version uses plural, so update sparc64 drivers when converting them
to use this shared header
2002-02-18 04:44:41 +00:00
uwe
ea8decf111 Add DMA definitions.
Add some sparc32 related comments.
2002-02-18 03:43:29 +00:00
rafal
0208af27ee Regen: Use linux_sys_{g,s}setrlimit, remove linux_sys_ugetrlimit since
linux/mips doesn't seem to have one.
2002-02-18 00:10:26 +00:00
bjh21
943c65af59 Add prototype for stray_irqhandler(). 2002-02-17 23:58:35 +00:00
rafal
9751855fab the MIPS stat64 struct doesn't have a separate ino64 field, but the ino field
is a u_longlong.
2002-02-17 23:57:57 +00:00
rafal
efdd3f2dd7 There is no linux_sys_ugetrlimit on mips, so don't try building it (XXX: adds
icky ifdefs)
2002-02-17 23:56:35 +00:00
rafal
dfcb814799 Use linux_sys_{g,s}etrlimit() since there's a common implementation now; but
MIPS has no sys_ugetrlimit, so don't declare it (209 is UNIMPL in the OSS
Linux-mips tree)
2002-02-17 23:55:23 +00:00
bjh21
490dd78bcc cons_decl(com), to get prototypes. 2002-02-17 23:53:18 +00:00
bjh21
8eb5175b46 Add __RCSID(). 2002-02-17 23:47:56 +00:00
bjh21
63dc353d42 Add prototypes for lpt_port_test() and lptprobe(). 2002-02-17 23:45:29 +00:00
bjh21
ca677d0d06 Add a prototype for linux_syscall(). It should be in a header file, but
other files that refer to it don't know its argument types anyway.
2002-02-17 23:37:18 +00:00
thorpej
15bffcdeed Add a comment describing what SA_USE_LOADFILE is for. 2002-02-17 23:22:22 +00:00
thorpej
0d210931e3 Add a missing "static". 2002-02-17 23:19:00 +00:00
rafal
9f99fdabde Adapt for changes to linux_to_native_sigset() and native_to_linux_sigset(). 2002-02-17 23:18:38 +00:00
thorpej
bf9a052aa4 Add EOFFSET. 2002-02-17 23:18:32 +00:00
bjh21
db030aa93f Add an lst_ino64 member to struct linux_stat64. 2002-02-17 23:18:11 +00:00
bjh21
0fd75dd4e5 Adapt for changes to limux_old_extra_to_native_sigset() and
native_to_linux_old_extra_sigset().
2002-02-17 23:05:08 +00:00
manu
457750dabf Implemented irix_sys_systeminfo() 2002-02-17 22:49:53 +00:00
bjh21
9e7faceaf4 Add LINUX_SA_NOCLDWAIT. 2002-02-17 22:45:29 +00:00
bjh21
d0dfca3108 Regen. 2002-02-17 22:30:22 +00:00
bjh21
e5087cd2b4 getrlimit and setrlimit now have Linux-specific implementations. Use them. 2002-02-17 22:29:46 +00:00
bjh21
6c9d7cafe8 linux_sys_break() is marked OBSOL, so don't include it. 2002-02-17 22:03:23 +00:00
bjh21
3113edfb9a linux_sys_rt_sigreturn is currently marked UNIMPL, so leave the stub out. 2002-02-17 22:00:09 +00:00
augustss
0786bd90ab Add another tlp card (found by trial and error). 2002-02-17 21:21:58 +00:00
augustss
c8b7c9e3ba Regen. 2002-02-17 21:21:15 +00:00
augustss
9c5176e112 Add a 10/100 Ethertnet card from Hawking. 2002-02-17 21:20:46 +00:00
uch
f0c9c394ec fix #ifdef condition 2002-02-17 21:02:16 +00:00
uch
000bb38949 SH3/SH4 common kernel support. 2002-02-17 21:01:15 +00:00
uch
6e0794b560 To determine CPU architecture and product, add cpu_arch and cpu_prduct variables.
these are initialized by sh_cpu_init()@sh3/sh3_machdep.c
(see sh3/include/cputypes.h for detail.)
add "options SH3" for SH3 kernel config file.
2002-02-17 20:59:33 +00:00
uch
14bcf8c92a add cache dump 2002-02-17 20:58:35 +00:00
uch
a96c1d0e8f change register naming. 2002-02-17 20:58:02 +00:00
uch
70826aa2cd sh_cpu_init() is added. its initialize cache, MMU ops appropriately.
machine locore code call this at first.
2002-02-17 20:57:09 +00:00
uch
780de330ba Add new MMU API. for detail, see sh3/mmu.h's comment. 2002-02-17 20:55:50 +00:00
uch
779bf563f4 ANSIfy. remove #if 0 ... #endif. 2002-02-17 20:53:40 +00:00
uch
615800d782 Fix calling convention. r0-r7 are caller saved. 2002-02-17 20:53:01 +00:00
manu
d383f72720 reworked signal handling:
- do not save/and restore registers that should not be saved and restore
- do give an accurate sigcontext pointer to the signal handler
- do use the struct sigreturna from IRIX.
This eliminates panics and hangs in certain circonstances

Also some cosmetic changes with tabs usage
2002-02-17 20:50:06 +00:00
manu
853adfc30b - implement SGI_GETSID command for syssgi()
- reworked SGI_GETPGID implementation to use the getpgid() system call instead
  of duplicating it.
2002-02-17 20:44:17 +00:00
bjh21
e6e848ef6d Our assembler handles FPA instructions fine, so don't use .word for them. 2002-02-17 20:41:02 +00:00
thorpej
77fa5a7974 Pay attention to the file name provided by the DHCP server, using
it rather than the default of "netbsd" if it's in the reply.
2002-02-17 20:14:08 +00:00
bjh21
00994a7564 Add prototypes for static functions. 2002-02-17 20:08:34 +00:00
thorpej
76ea45942b Cleanup of i386 bootloader building:
* Add separate directories for the individual netboot ROMs and
  always build them.
* Each bootloader Makefile explicitly specifies the start file
  and link address it wishes to use.
* genprom becomes a proper host program.
* Make sure all generated files get cleaned up.
* Set BINDIR in Makefile.inc
* Add compressed image support to pxeboot.
* Make pxeboot use the default serial console speed (9600).
2002-02-17 20:03:05 +00:00
bjh21
cb7a3d0674 ANSIfy, and othe KNF cleanup. 2002-02-17 19:53:44 +00:00
thorpej
45f23105c2 Make this compile again (update for changes to register bit names). 2002-02-17 19:49:58 +00:00