Commit Graph

13559 Commits

Author SHA1 Message Date
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
dfb2f56868 if no packets were received, exit with status 1. this should be
documented somewhere.  As suggested by Rens Troost.
1995-04-22 15:27:08 +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
briggs
74b3f483db Define DELAY. 1995-04-22 13:17:51 +00:00
cgd
b5fb8715b0 quiet compiler warning via (ugly) cast 1995-04-22 13:08:30 +00:00
cgd
92fad4a481 be more careful when rounding sockaddr_dl sizes. also, one u_short * ->
u_int16_t * conversion.
1995-04-22 13:07:12 +00:00
cgd
725dc02e10 make tcflag_t an unsigned int (rather than unsigned long; alpha)
make tcflag_t an unsigned int (rather than long; alpha, POSIX)
make c_?speed members of struct termios be ints (rather than longs; alpha)
1995-04-22 13:03:10 +00:00
cgd
87725ecb8b use explicit type sizes for most data 1995-04-22 12:55:10 +00:00
cgd
a67f72b7d6 kernel config files for jura.pdl.cs.cmu.edu and scapa.pdl.cs.cmu.edu,
the DECpc AXP 150 and the AlphaStation 400 4/233 in my office.
NEITHER TYPE OF MACHINE WORKS YET, and i'm not even going to be
working on the DECpc AXP 150 support any more.
1995-04-22 12:47:54 +00:00
cgd
de324e173a clean up, change drive -> lun for mi scsi files description. 1995-04-22 12:46:06 +00:00
cgd
7a43f1fdc7 clean up a bit, use MI files lists. add a bunch of comments.
Also, include the EISA, ISA, and PCI files lists.
1995-04-22 12:45:08 +00:00
cgd
387a2d7ee1 kill some non-gnu-tools cruft, allow rest of programs to be parameterized 1995-04-22 12:44:08 +00:00
cgd
82315c022a get rid of bogus header inclusions 1995-04-22 12:43:22 +00:00
cgd
993d5501b3 promcnputc now returns void 1995-04-22 12:42:51 +00:00
cgd
12dae0a656 add option HALTLOOP to loop in boot() instead of halting/rebooting 1995-04-22 12:42:01 +00:00
cgd
71fa065268 deal with renamed header file. 1995-04-22 12:41:05 +00:00
cgd
97cd254342 console putc returns void 1995-04-22 12:35:17 +00:00
cgd
610d597217 adjust for networking code changes 1995-04-22 12:34:15 +00:00
cgd
31be280321 explicitly set zoneinfo files to be read-only by everyone. fixes pr 984 1995-04-22 12:10:17 +00:00
briggs
a992a8136c Add some multicast byteorder-related changes from djh@mulga.cs.mu.OZ.AU. 1995-04-22 12:08:12 +00:00
cgd
0f6f98c7bc don't print 'Message:' prompt if stdin is not a terminal.
(from Masanobu Saitoh <saitoh@spa.is.uec.ac.jp> in pr 982.)
Also, fix usage string and manual page to note that width argument
for -w is _not_ optional.
1995-04-22 11:55:13 +00:00
briggs
dda57ad059 Use vfs_shutdown(). 1995-04-22 11:53:40 +00:00
cgd
75fd9356ae don't forget to install the docs. 1995-04-22 11:18:35 +00:00
cgd
887dd216b0 clean up import, NetBSD RCS IDs, etc. 1995-04-22 10:58:17 +00:00
cgd
24a07ca3f9 src/games/trek from Lite 1995-04-22 10:40:47 +00:00
cgd
982615d7df clean up import, NetBSD RCS IDs 1995-04-22 10:36:43 +00:00
cgd
7ee35daafd clean up import, NetBSD RCS Ids 1995-04-22 10:27:22 +00:00
cgd
e99f511266 clean up fputchar types (again) 1995-04-22 10:26:09 +00:00
cgd
4dfcb6d743 src/games/rogue from Lite 1995-04-22 10:20:57 +00:00
cgd
f27050860d fix up botched include 1995-04-22 10:18:17 +00:00
cgd
ee0f9d10fe RCS Ids 1995-04-22 10:16:53 +00:00