Commit Graph

7103 Commits

Author SHA1 Message Date
gwr d73db495da Fixed RPC code to deal with RPC messages larger than one mbuf. 1995-04-24 21:54:56 +00:00
gwr e49b0de53f short -> int (alignment) 1995-04-24 21:34:04 +00:00
pk 6404739df8 AMD9730 telephony chip (used to be sparc/dev/bsd_audioreg.h). 1995-04-24 19:17:17 +00:00
pk 30f71c550f A couple of fixes frm Rolf Grossmann. 1995-04-24 19:13:52 +00:00
cgd fab3d7b117 kill a bogus NOTREACHED, fix spacing 1995-04-24 06:24:19 +00:00
chopps df9af2897a bring up-to-date with recent conf.c and sunos changes. 1995-04-23 18:24:21 +00:00
chopps 10eb24c459 add needed signal debug stuff so it will compile with DEBUG 1995-04-23 18:22:14 +00:00
chopps 35bb9b1ffd new grfcl driver submitted by Ezra Story <ezy@panix.com> 1995-04-23 16:20:43 +00:00
briggs c937b8a519 Fix compiler error in sunos_reboot(). 1995-04-23 01:00:46 +00:00
briggs a2bc99d6f1 Make these compile again. 1995-04-23 00:37:23 +00:00
briggs 11632db942 Make this actually compile... 1995-04-23 00:27:48 +00:00
christos 79e736e176 syscalls.master was changed 1995-04-22 23:48:37 +00:00
christos ebdad87ea2 Added sunos_reboot(). 1995-04-22 23:45:29 +00:00
christos 00e1cff41a Shared sunos_machdep.c 1995-04-22 23:43:07 +00:00
christos 5f162d51b1 Moved sunos_machdep.c to m68k 1995-04-22 23:41:32 +00:00
christos 545f388282 Removed sunos_machdep.c 1995-04-22 23:40:24 +00:00
christos 94289bf2b0 Move sunos_machdep.c to m68k 1995-04-22 23:39:02 +00:00
christos 4bca9bf670 Remove sunos_machdep.c 1995-04-22 23:38:27 +00:00
christos 1d807c1a1d move sunos_compat.c to m68k 1995-04-22 23:36:56 +00:00
christos ac9454c2e1 remove sunos_machdep.c 1995-04-22 23:36:10 +00:00
christos 6cdccaf3ed Remove sunos_machdep.c and fix sunos_reboot. 1995-04-22 23:23:58 +00:00
leo 03df025c9d Change allocation algorithm to best-fit, fix bug in free_stmem. 1995-04-22 22:23:38 +00:00
leo 8e56abf0fa Define DELAY to call delay() 1995-04-22 22:20:36 +00:00
leo 3517d2e5ac - Prefix 'dma-defines' with DMA_
- Add function prototypes
1995-04-22 22:18:57 +00:00
leo dcdee517ef - Remove register access functions from dma.c -> fd.c and inline them
- Add write protect checking (mistereously disapeared during port)
- Make fdclose() return a sensible value
- Prefix 'dma-defines' with DMA_
1995-04-22 22:18:17 +00:00
leo e8312d3ac3 Adapt for new conf.h:
- Add xxxtty() functions
	- Remove xxx_tty array
1995-04-22 22:06:43 +00:00
leo c9a522cd2b Adapt for new conf.h. 1995-04-22 22:05:17 +00:00
christos 4bf1b61d8f Convert sun_ to sunos_ and fix sunos_sigreturn() bugs. 1995-04-22 21:23:18 +00:00
christos c5f01c2a4c Fixed comparison in SYS__syscall to be against sysent instead of
p->p_emul->e_sysent [Thanks Charles for pointing this out].
I think that this code needs to be fixed anyway for emulations where
SYS_syscall is not the same number as the NetBSD one (0)... (Only the
alpha port so far?)
1995-04-22 20:49:06 +00:00
christos de42a28a1b - added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
christos 44eef7c28b - added struct emul to all emulations.
- removed all setup functions.
- added copyargs() functions where needed.
1995-04-22 19:48:19 +00:00
christos 2a83f6028f makesyscalls.sh was changed. 1995-04-22 19:44:38 +00:00
christos 1c1cf96baf makesyscalls.sh was changed 1995-04-22 19:43:50 +00:00
christos 3d1b06ab09 - new copyargs routine.
- use emul_xxx
- deprecate nsysent; use constant SYS_MAXSYSCALL instead.
- deprecate ep_setup
- call sendsig and setregs indirectly.
1995-04-22 19:42:47 +00:00
christos 9575475067 - new struct emul for OS emulations.
- deprecated exec_setup_fcn
- deprecated EMUL_???
- added sunos_machdep.c for the m68k ports.
1995-04-22 19:40:29 +00:00
cgd b439a787bc kill a host of null dereference bugs... tracking down a _different_ bug,
i was getting "KSP INVALID" death.  It was being cause by never-ending
MM faults, caused by null derefs (of curproc) in the MM fault trap
handler.  the original MM fault was caused by a null deref (of
curproc, again) in the unaligned access handler!
1995-04-22 16:59:47 +00:00
cgd 5fe7be7a26 be a little smarter when printing syscall names & args 1995-04-22 14:17:18 +00:00
cgd a24d2f6e17 cast pointers to longs, print appropriately 1995-04-22 14:10:10 +00:00
cgd b94f71c618 prototype strlen; shouldn't be here. 1995-04-22 14:09:29 +00:00
cgd 29038d1929 cast pointers to longs 1995-04-22 14:09:00 +00:00
cgd f8e4de6a7a ints and pointers of various types are _NOT_ interchangable in protos 1995-04-22 14:07:54 +00:00
cgd 01208c85a3 cast pointers to longs, kill stupid local var return error, types. 1995-04-22 14:01:40 +00:00
cgd 586427643d various attribute poisoning, don't be as quick to specify size of files[] 1995-04-22 13:57:03 +00:00
cgd 4316c36ca7 cast pointers to longs 1995-04-22 13:53:48 +00:00
cgd 07231e5b52 note properly whether or not functions return, etc. 1995-04-22 13:51:19 +00:00
cgd 60b1ffa877 cast ptrs to longs, etc. 1995-04-22 13:50:27 +00:00
cgd 06b2dbd4dd cast ptrs to longs. 1995-04-22 13:47:52 +00:00
cgd 84d0d2f495 various type fixups 1995-04-22 13:46:50 +00:00
cgd 239425ba96 cast pointers to longs, not ints 1995-04-22 13:29:33 +00:00
cgd c7d6aa46d5 copy routines should take size_t lengths for prototype consistency.
don't assume that tick is >= 1000; loses badly on alpha (div. by zero)
only try unaligned copies if NetBSD's UNALIGNED_ACCESS symbol is defined.
various misc type size cleanups, mostly short -> int16_t.
1995-04-22 13:26:20 +00:00