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
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