Commit Graph

1609 Commits

Author SHA1 Message Date
cgd
77e4fe47ef update for new syscall args description mechanism 1994-10-20 04:43:21 +00:00
mycroft
b2d8a64ebd Make another printf() #ifdef FD_DEBUG. 1994-10-20 03:38:13 +00:00
mycroft
872999d392 Make the verbose diagnostics #ifdef FD_DEBUG. 1994-10-20 00:52:23 +00:00
mycroft
70e27da16b Fix up some printfs and make them consistent. 1994-10-18 18:24:35 +00:00
mycroft
8ae8b4ab29 Bug fixes from Rafal Boni:
* Set promiscuous mode flag before configuring card, so it actually works.
* Handle failed TDR commands correctly.
* Remove some apparently defunct and bogus code.
(This driver needs more work.)
1994-10-18 13:40:30 +00:00
cgd
1725b07a35 there are no flags between us (and compiling) any more. 1994-10-18 06:11:15 +00:00
cgd
805605ce56 kill le0. *sigh* 1994-10-17 21:49:51 +00:00
cgd
320359f8e2 change, requested by Jarle Greipsland 1994-10-17 00:08:29 +00:00
mycroft
d00c05633a Wait on the correct bit in the lower half of kbc_get8042cmd(); and some other
mostly stylistic changes.  Based on suggestions from John Hood.
1994-10-16 15:46:13 +00:00
mycroft
06b14c27fd Substantially smaller and faster version, from me. 1994-10-16 15:37:41 +00:00
cgd
f501e4e128 make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files. 1994-10-15 04:57:29 +00:00
cgd
49c34d3337 move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS. 1994-10-14 18:26:22 +00:00
mycroft
6f5794ecba Fix bugs in dealing with odd-length mbufs in ed_pio_write_mbufs(). From
John Hood.
1994-10-14 13:05:13 +00:00
mycroft
7c01f7ce51 Changes from DG to deal with some old chips that corrupt the packet length. 1994-10-12 13:42:00 +00:00
mycroft
4252ca6644 Correct multicast filter calculation. 1994-10-09 21:19:04 +00:00
mycroft
ee5cde2719 Oops; slight optimization to the previous. 1994-10-09 18:10:55 +00:00
mycroft
8c5f95b10b Pretend that trap() and syscall() have no args. 1994-10-09 16:09:27 +00:00
mycroft
88501e66d2 Fix post-decrement loop to not overshoot, so the last change works right. 1994-10-09 15:49:10 +00:00
mycroft
867f51ab31 Only print the return address of an interrupt, trap, or syscall separately if
it was the last frame in the trace; otherwise the info is duplicated.
1994-10-09 15:40:51 +00:00
mycroft
236f105ccd Remove unneeded #includes. 1994-10-09 15:06:23 +00:00
mycroft
c3fa5122d6 #include cpufunc.h from pmap.h. 1994-10-09 15:00:38 +00:00
mycroft
2013b5f349 Combine INTERRUPT case with TRAP and SYSCALL. 1994-10-09 14:51:17 +00:00
mycroft
f72ff16e5b Oops. Just fake %ebp; nothing else. 1994-10-09 14:45:40 +00:00
mycroft
c9cb256e1d If DDB is configured, make a fake stack frame. 1994-10-09 14:43:00 +00:00
mycroft
5d0226231f Do something sensible with interrupt frames. 1994-10-09 14:37:54 +00:00
mycroft
aef750bbec Fix slight bogosity in trap frame handling, and combine with syscall case. 1994-10-09 13:48:40 +00:00
mycroft
e19b0472c8 Make multiple-inclusion protection consistent. 1994-10-09 13:33:53 +00:00
mycroft
c87fbde918 Fix typo. 1994-10-09 13:31:19 +00:00
mycroft
701c0f0058 Eliminate i386_saved_state. 1994-10-09 13:27:07 +00:00
mycroft
8295e4b8f2 Nuke dirty(). 1994-10-09 13:23:21 +00:00
mycroft
ebbc8e0476 Make the conversion macros more consistent. 1994-10-09 13:20:37 +00:00
mycroft
18830ce0ea Define pmap_update() using tlbflush(). 1994-10-09 13:11:18 +00:00
mycroft
e165978b36 Use pmap_update(), not tlbflush(). 1994-10-09 13:09:11 +00:00
mycroft
47db98b4d9 Eliminate register restrictions where possible. 1994-10-09 13:02:56 +00:00
mycroft
87041c0044 Make reg, frame, and sigcontext more similar. 1994-10-09 12:57:11 +00:00
mycroft
112dac786c Make reg, frame, and sigcontext more similar. 1994-10-09 12:39:05 +00:00
mycroft
cce04a7aa1 Put the delay in a macro, and implement it differently. 1994-10-09 09:28:54 +00:00
mycroft
13c1794b82 Eliminate tf_isp. 1994-10-09 09:20:28 +00:00
mycroft
ae6f1ba610 Don't use pusha and popa. 1994-10-09 09:19:29 +00:00
mycroft
621455a04a Don't allow interrupts while in DDB. 1994-10-09 09:13:18 +00:00
mycroft
b90985ee3d Don't poll the BUSY bit until the SDH register is set. 1994-10-07 11:34:52 +00:00
mycroft
1eaa03e7dc Fix initial allocation of dev array, and simplify the code
slightly.
1994-10-07 09:08:29 +00:00
mycroft
4010acf9f3 Handle Cyrix CPUs a bit differently. Based on suggestions from Michael
VanLoon.
1994-10-06 03:36:40 +00:00
jtc
badcc17a6d Add constants required by XPG3 1994-10-05 17:16:29 +00:00
mycroft
86e7908a72 Make some comments more clear. 1994-10-01 07:19:32 +00:00
mycroft
f7b0f89811 Various minor changes to sync better with DG's version. 1994-10-01 07:13:32 +00:00
mycroft
6ddbe860c2 Update from Wolfgang Stanglemeier. 1994-10-01 06:27:56 +00:00
mycroft
0e28696023 Add IO_PPI. 1994-10-01 03:52:46 +00:00
mycroft
e32c213d35 Add IO_PMP[12] and IO_PMPSIZE. 1994-10-01 03:48:49 +00:00
mycroft
1e0ffaa7d6 Clean up a little. 1994-10-01 03:42:59 +00:00
mycroft
c25a6980ac Add INTRUNMASK(). 1994-10-01 03:37:37 +00:00
jtc
62db8972b1 Updated bde's comments wrt. i387 control word settings so that they
describe NetBSD, rather than 386BSD 0.1.
Removed 386BSD and BDE control word constants, since we don't need and
will never use them.  However, The iBCS control word constant is kept,
since we might want to use it in the iBCS binary compatibility code.
1994-09-22 00:37:13 +00:00
mycroft
1c8e17fb63 Prototype spllower(). 1994-09-19 05:05:15 +00:00
mycroft
cc1852efe4 Add some delays to save the Gateway (lose, lose) keyboard controllers. 1994-09-18 19:33:11 +00:00
mycroft
b7cc64e049 Check the SB Pro IRQ and DRQ correctly. From Jason Thorpe. 1994-09-16 23:48:22 +00:00
mycroft
c7003d37d3 Only reset FIFO if changing baud rate. From John Kohl (slightly edited). 1994-09-16 02:50:39 +00:00
mycroft
8dd2c63b08 Turn off the delay debugging messages again. 1994-09-12 20:29:08 +00:00
mycroft
71564b8859 Turn off a few things. 1994-09-11 08:39:36 +00:00
jtc
bdd26b125c asm -> __asm (PR #463). 1994-09-10 01:07:08 +00:00
mycroft
0d3651018e Make kernel_pmap a macro that points directly to kernel_pmap_store. 1994-09-09 23:58:48 +00:00
mycroft
cf04bbff56 Small optimization for the !DIAGNOSTIC case. 1994-09-09 03:16:03 +00:00
mycroft
289bc175c6 Another tiny optimization. 1994-09-08 21:56:14 +00:00
mycroft
a90cca9558 Add a simple pv_page garbage collector (currently disabled). 1994-09-08 21:03:43 +00:00
mycroft
4116a4243e Various changes:
* Inline some functions.
* Eliminate redundant calls to pmap_page_index().
* Reduce the number of TLB flushes in accordance with the i386 SSWG.
* Inline pmap_remove() in pmap_remove_all().  (Most if it is unnecessary.)
* Allocate pv_entry's in pages, and keep a list of free entries in each page,
and a list of pages with free entries.  (Trying to reduce malloc() overhead,
and improve locality of reference.)
* Remove a couple of macros that aren't really useful.
* Remove pmap_kernel() completely.
1994-09-07 20:48:52 +00:00
mycroft
d884d26b32 Trivial change of no significance. 1994-09-07 20:32:45 +00:00
mycroft
9d4125d1ec A few small optimizations. 1994-09-07 20:32:00 +00:00
mycroft
e4bc47c9fc Remove bogus attempt to map the interrupt pins here. The BIOS is supposed to
do it anyway.
1994-09-06 01:25:22 +00:00
mycroft
faa18f6ce6 New iBCS2 code from Scott. 1994-09-05 01:08:43 +00:00
mycroft
584de55692 Missed an iobase that should be u_short. 1994-09-05 00:21:40 +00:00
mycroft
6c66af544c Fix some ugly code. 1994-09-02 05:12:12 +00:00
jtc
b3b55d02f1 Misc changes to make this file more like the asm.h headers used by other
architectures:
	Renamed _C_FUNC() to _C_LABEL()
	Renamed _ASM_FUNC() to _ASM_LABEL()
	Merged _BEGIN_ENTRY with _ENTRY
	Renamed _END_ENTRY to _PROF_PROLOGUE

When assembling with profiling enabled, set up stack frame before calling
mcount() in _PROF_PROLOGUE.  Also omit emitting .long 0's, as they are no
longer used by the profiling code.
1994-09-02 05:02:47 +00:00
mycroft
9ea30b3bf3 Check for bad p_emul. 1994-08-30 06:19:44 +00:00
mycroft
90b0e68767 Clean up deleted files. 1994-08-29 23:12:23 +00:00
cgd
e67ae11432 no more floppy bins; these now done by crunch. 1994-08-29 23:10:58 +00:00
mycroft
a13c1b15cc Minor. 1994-08-26 12:43:17 +00:00
deraadt
de20d2cf67 Re-enable EISA reset code -- definately needed now. do RX_DISCARD_TOP_PACK
before leaving splhigh(), to give incoming packets a better chance.
1994-08-26 12:11:44 +00:00
glass
891ca8ce21 my kernel config 1994-08-26 05:07:00 +00:00
deraadt
6c2b49032b fix debugging stuff, from dean 1994-08-25 20:18:25 +00:00
mycroft
cb3576ee87 If possible, lower the CPU class if the correct one is not configured. 1994-08-25 00:10:30 +00:00
mycroft
d20de15399 Add USPACE. 1994-08-24 19:32:36 +00:00
mycroft
f6a9558d05 Update to match reality. 1994-08-24 19:28:03 +00:00
mycroft
5e4a51278b Set the FIFO threshold based on the receive speed, per Mark Weaver. 1994-08-24 07:25:18 +00:00
deraadt
62939dc113 pcvt & bt dynamic irq 1994-08-24 07:10:22 +00:00
mycroft
c4eac0f370 Some cleanup, checked by Dean. 1994-08-23 23:40:55 +00:00
mycroft
8ac5e10c5d Various code cleanup. 1994-08-23 19:30:12 +00:00
deraadt
666f228bab add `eg' driver for the 3c505 by <dean@fsa.ca> 1994-08-23 17:59:33 +00:00
mycroft
996b2b5c54 Disable EISA reset, for now. 1994-08-22 21:53:23 +00:00
mycroft
71c5da7bfb Fix typo in WDCS_BITS. 1994-08-22 21:43:35 +00:00
mycroft
9c921e0ada Remove SF and SR. 1994-08-21 15:25:28 +00:00
mycroft
8b8390a4bb Look for MDMBUF in cflag, not lflag. 1994-08-21 15:04:37 +00:00
mycroft
24381e7f01 Validate unit number correctly. 1994-08-17 19:14:53 +00:00
deraadt
256353ef62 multicast 1994-08-17 06:04:49 +00:00
mycroft
0c5a342fde Add vnd. 1994-08-16 19:20:14 +00:00
mycroft
3481b6aa87 Add iBCS2 files. 1994-08-15 23:33:59 +00:00
mycroft
82ccfef767 Remove misplaced SVR4 dispatch. 1994-08-15 22:38:39 +00:00
mycroft
1ec65d2465 Add iBCS2 glue. 1994-08-15 22:24:22 +00:00
mycroft
01c2a3243e Add flags for iBCS2 compat. 1994-08-15 22:19:44 +00:00
cgd
cefdccbf31 changes for the new sys_process.c, and some cleanup 1994-08-15 16:37:04 +00:00
mycroft
d980c59b98 Better fix for the previous. 1994-08-15 15:19:55 +00:00
mycroft
05c7d6e9c7 Kill stupid compiler warning. 1994-08-15 15:17:07 +00:00