Commit Graph

13634 Commits

Author SHA1 Message Date
mycroft ae11bd216c Remove historical garbage. 1995-05-01 08:14:25 +00:00
mycroft 17dd9534bf Update to match include files. Eliminate _ucodesel, _udatasel, and IdlePTD. 1995-05-01 08:06:22 +00:00
mycroft 5a7e987371 Make md_regs a pointer to a trapframe. 1995-05-01 07:56:20 +00:00
mycroft f32276958e Use segments.h, and some other cleanup. 1995-05-01 07:55:21 +00:00
mycroft 33e0286648 Remove PCB_SAVEFPU. 1995-05-01 07:55:04 +00:00
mycroft 8b51849f9d Make this includable from locore. Remove unused GDT and LDT slots. 1995-05-01 07:37:43 +00:00
mycroft c2e46efab2 Rename ibcs2_sigflags to __spare, but leave the space for now. 1995-05-01 04:53:24 +00:00
mycroft 7688f4456e Remove usages of ibcs_sigflags. 1995-05-01 04:50:28 +00:00
mycroft 92e9818c88 Expose idt[] here. 1995-05-01 04:49:51 +00:00
mycroft b8d3de2758 Add pcb_cr0. 1995-05-01 04:49:28 +00:00
mycroft 17a5f987ba Be more aggressive about lazy saving and initialization. 1995-05-01 04:47:43 +00:00
mycroft 825d2fee22 Add Masahiro SEKIGUCHI's MB8696[05] driver, ported, with some additional
changes by me:
* Make autoconfiguration work correctly for more models of AT1700.
* Make the debugging code more robust and complete.
* Tweak the output routine for better performance, and to eliminate an ugly
kluge.
Various other style cleanup.  Needs more work.
1995-05-01 02:47:07 +00:00
mycroft 03e77f5565 Tweak the output routine for slightly better performance. 1995-05-01 02:39:30 +00:00
mycroft f55c4a0a19 Another trivial optimization. 1995-05-01 01:24:04 +00:00
briggs c8338a3451 Remove xref to mount_lofs and add xref to mount_ados and mount_msdos. 1995-04-30 20:42:12 +00:00
christos 60fe6da7c1 Kill gcc -Wall warnings 1995-04-30 19:39:37 +00:00
briggs 34e5f975f9 Don't set mrg vectors if we're using the serial console--this allows
machines w/ non-working desktop bus to actually get on with booting.
1995-04-30 17:01:06 +00:00
leo 58cd4c0a1d Get 68040 defines in line with other 68k ports so libkvm/kvm_m68k.c compiles
cleanly.
1995-04-30 14:02:12 +00:00
leo f677a89489 Small changes in dma locking code. 1995-04-30 12:06:01 +00:00
leo 12c60f7bc0 Complete rewrite, made necessary because Falcon SCSI needs to share
NCR5380 and DMA access with floppy.
1995-04-30 12:04:48 +00:00
leo e95337c226 Added lock status bits, update function prototypes. 1995-04-30 12:02:03 +00:00
leo fb4939eddf Moved softint definitions still in cpu.h into mtpr.h and did some minor
cleanups.
1995-04-30 12:00:31 +00:00
leo 8996e3866b - Move softint definitions to mtpr.h
- Add flags for TT/Falcon model for machineid, we definitely need them
1995-04-30 11:56:22 +00:00
cgd 4d059559f7 resurrect, and move files.pmax.newconf to new location. 1995-04-30 10:11:00 +00:00
cgd 14b1452a90 kill unnecessary blank line at end of file 1995-04-30 07:03:13 +00:00
cgd b835913465 first arg to open() is a 'const char *'. pointed out by David Brownlee
in pr 1004.
1995-04-30 03:57:54 +00:00
cgd 7dc11a1202 kill an apparently-bogus ampersand. it made a char ** into a char ***,
which was an incompatible pointer type for the usage.
This is either a bug, or it should have been cast and explained.
1995-04-30 03:28:14 +00:00
cgd 9b7c37148b new-config files list. missed this yesterday. 1995-04-30 02:44:44 +00:00
mycroft 556d212c3d Use POSIX signal semantics. Change p_pid and p_jobid to pid_t's. 1995-04-29 23:21:28 +00:00
mycroft f6f6145e7f Make sure to reset signal mask on errors. 1995-04-29 22:42:07 +00:00
jonathan fb9f07db36 Update MIPS stack backtrace code to trace through locore functions,
traps, and interrupts  The earlier (4.4bsd) code didn't do the first two, and
got the last one wrong.  Also print some functions (e.g., trap handlers)
by name.  Add hook to use something other than printf() as the output
function, e.g,. for kernel debugging.
Tested with the `native' toolset, but not ELF format kernels.
(i.e., unwinding the $GP register is not tested.)

The stack backtrace code that interprets and unwinds stackframes is still
opaque and stylistically awkward.
1995-04-29 21:10:31 +00:00
christos 42c2892cc9 Fixed the key mapping code and reverted Charles' changes. 1995-04-29 20:44:00 +00:00
briggs 59b4da2b39 Add new nubus handling that's much more robust.
Update via, if_ae, and grf accordingly.
Revamp grf.
1995-04-29 20:23:36 +00:00
christos 67c2aabd6c Fix small typo; from Chris Torek 1995-04-29 17:05:08 +00:00
jtc 33b1cf8691 Winning Strategies has placed this code into the Public Domain. 1995-04-29 06:49:13 +00:00
cgd 096459aaec cast pointers to longs, not ints. 1995-04-29 05:59:11 +00:00
cgd 7a9112fdf0 XXX casts of LONG_MAX. this is wrong, and is marked as such. 1995-04-29 05:58:27 +00:00
cgd 2e659538b6 string.h, and clean up signal handler-related warnings. 1995-04-29 05:56:57 +00:00
cgd 7d9d6e9faf needs string.h 1995-04-29 05:55:25 +00:00
cgd 5cac5e9c7c various includes, casts, and cleanups... 1995-04-29 05:54:42 +00:00
cgd 7cc5a0ed42 make FLT_ROUNDS call __flt_rounds, so dynamic rounding mode is grabbed. 1995-04-29 05:45:44 +00:00
cgd b1863c5155 just include stdlib.h to get malloc proto. 1995-04-29 05:44:35 +00:00
cgd 64fe160dd5 include string.h and/or stdlib.h as appropriate, if NetBSD. 1995-04-29 05:42:23 +00:00
cgd 55a02ad429 define STDC_HEADERS, because it seems to work and because we need the protos 1995-04-29 05:37:13 +00:00
cgd 6054080b24 include string.h on NetBSD; we need the proto 1995-04-29 05:36:24 +00:00
cgd ebaadd7e30 include stdlib.h and string.h on NetBSD, because we _need_ the protos. 1995-04-29 05:34:41 +00:00
cgd a12c29d63c if NetBSD, include sys/cdefs.h and don't define __P here. 1995-04-29 05:32:40 +00:00
cgd 62ee060840 provide group_from_gid() proto if not _POSIX_SOURCE and not _XOPEN_SOURCE 1995-04-29 05:30:40 +00:00
cgd 8352779370 provide user_from_uid() proto if not _POSIX_SOURCE and not _XOPEN_SOURCE 1995-04-29 05:30:00 +00:00
cgd 2583d406f9 change some of the rpc "on-the-wire" structures' fields to be explicitly-sized
types.  add xdr_{,u_}int{16,32}_t() functions to convert them.
This is necessary, because things like BPF use the RPC headers to look
at the on-the-wire data, so the headers must accurately represent
what's on the wire, too.
1995-04-29 05:26:31 +00:00