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
mycroft
5f27568164
Eliminate struct pte and struct pde.
1994-08-15 14:46:45 +00:00
mycroft
36975ff354
Don't use altsts. Sigh.
1994-08-15 08:22:20 +00:00
gwr
486ad2cc03
Correct bad memory reference when dumpdev == NODEV (i.e. DISKLESS).
1994-08-14 22:47:28 +00:00
gwr
8a15866490
Just like GENERIC but gets root/swap from NFS.
1994-08-14 22:38:54 +00:00
mycroft
a618f9d915
Slight optimization, and don't go bonkers if one of the sub-devices is not
...
configured.
1994-08-14 14:13:25 +00:00
mycroft
a570fcd929
Re-enable EISA reset.
1994-08-14 09:43:59 +00:00
mycroft
cd2f7cc8a0
Clean up a little.
1994-08-14 09:24:55 +00:00
mycroft
60280d9735
Don't allow VM86 mode, for now.
1994-08-13 06:55:47 +00:00
mycroft
3c3258eb6d
Make this work.
1994-08-11 04:54:13 +00:00
mycroft
55b11feb0a
Update some comments.
1994-08-10 04:37:52 +00:00
mycroft
e079a8f355
Add ncr0.
1994-08-09 22:31:45 +00:00
mycroft
d291808d92
Add NCR and PCI files.
1994-08-09 22:24:29 +00:00
mycroft
8dbfcf9e2e
Add NCR 53c8XX driver, originally from Wolfgang Stanglmeier.
1994-08-09 22:20:44 +00:00
mycroft
199e2eea6a
Fix handling of M-RET with PCVT_META_ESC defined.
1994-08-09 13:56:25 +00:00
mycroft
6df721be97
Add PCI autoconfiguration support.
1994-08-09 00:47:46 +00:00
mycroft
061c42c22d
Minor update.
1994-08-08 07:09:31 +00:00
mycroft
59de58a39b
Count up the silo overflows and only log a warning at most once per minute.
1994-08-07 11:27:51 +00:00
mycroft
9c8afcf191
Avoid using DFIFOHF, which doesn't exist on 6260 chips. Turn off
...
AIC_USE_DWORDS by default.
1994-08-07 10:51:40 +00:00
mycroft
b0db502d9c
Remove diagnostic.
1994-08-07 10:49:06 +00:00
mycroft
d9a996a92e
Add multiplexer for RT 4-port serial cards.
1994-08-07 10:45:53 +00:00
mycroft
70cc90a193
Add rtfps.
1994-08-07 10:43:56 +00:00
mycroft
b6e9bf14c8
Simplify the DEPCA memory test, and fix a problem with using the alternate
...
PROM address.
1994-08-07 00:56:04 +00:00
deraadt
ebd23fe5e0
cleanup
1994-08-06 23:19:39 +00:00
mycroft
558c00c001
Fix spelling of `STEREO'.
1994-08-05 22:56:19 +00:00
deraadt
cefefb25ca
cleanup, working 32 bit IO on the 3c579, and memory alignment of insl/insw
...
for better performance.
1994-08-05 21:16:33 +00:00
mycroft
74d29b909d
Disable most of the Cyrix-specific code by default; just turn off aching of
...
the ISA hole.
1994-08-03 22:35:02 +00:00
mycroft
3882663a9f
Don't mess with Cyrix configuration bits that are hardware-specific. Move
...
all of the cache-enabling junk into an #ifdef. Print a warning even if the
cache is enabled.
1994-08-03 22:11:53 +00:00
deraadt
ffb9d6e173
document cyrix configuration registers
1994-08-03 21:39:16 +00:00
mycroft
9d7eefb176
Change iosize to 16.
1994-08-03 09:17:12 +00:00
mycroft
a17171c0a2
Add a missing splx() and increase the reset delay during probe, as suggested
...
by Juergen Keil. Add a diagnostic message if the controller info is not what
we expect.
1994-08-03 08:57:59 +00:00
mycroft
50a6dfb61a
Actually, preserve PSL_T for debugging.
1994-08-03 06:28:10 +00:00
mycroft
0cdf874ccb
Reset eflags on exec.
1994-08-03 06:26:00 +00:00
mycroft
5cd29a7fce
Kill IOPL, dead, dead, dead.
1994-08-03 06:22:26 +00:00
ws
55211b963a
Unmount the first dir, too.
1994-08-02 12:27:10 +00:00
mycroft
45b0217c1e
Fix up u14_find() a bit; mainly, don't include a DRQ for the 34f.
1994-07-31 19:21:40 +00:00
mycroft
a00c5fdb91
Add some missing newlines in the attach messages.
1994-07-31 18:25:50 +00:00
mycroft
8a9df6389d
Bug fixes from Mark Weaver.
1994-07-31 11:34:38 +00:00
mycroft
fc66b93a38
Fix for Cirrus Logic 542x boards, from Onno van der Linden.
1994-07-31 09:44:50 +00:00
mycroft
01d7a6c28b
0 --> NODEV
1994-07-31 04:59:36 +00:00
mycroft
6990b98c64
Patch from Onno var der Linden to fix reading and writing of 360K floppies
...
in 1.2MB drives.
1994-07-31 01:20:52 +00:00
mycroft
3436a4a65b
Remove DIOCSDINFO completely; disklabel(8) will deal.
1994-07-31 00:47:52 +00:00
mycroft
1d2563f804
Use `swap generic'.
1994-07-29 01:16:35 +00:00
mycroft
3ed3679b67
Make this work.
1994-07-28 21:40:27 +00:00
mycroft
53f3b61cdc
Redux.
1994-07-28 19:57:31 +00:00
mycroft
c405e84a24
port --> iobase
1994-07-28 09:50:33 +00:00
mycroft
d02e11d543
Make the EISA reset code like the other drivers.
1994-07-28 08:44:47 +00:00
mycroft
fb500c4d07
Redo some of the EISA config stuff.
1994-07-28 02:39:21 +00:00
mycroft
c1a5741a3b
Remove unused macros.
1994-07-27 15:02:59 +00:00
mycroft
aeac43f556
Use the automatic IRQ/DRQ detection.
1994-07-27 14:46:34 +00:00
mycroft
5e04cfb942
Fix typo.
1994-07-27 13:24:17 +00:00
mycroft
4ac4810048
Normalize.
1994-07-27 13:14:14 +00:00
mycroft
1939acdbd2
Fix the DMA setup.
1994-07-27 13:10:33 +00:00
mycroft
1a9c6d05a3
Enable IRQ probing, and fix the DMA setup.
1994-07-27 12:57:02 +00:00
mycroft
dffcd8ea8d
Enable IRQ probing.
1994-07-27 03:09:21 +00:00
mycroft
16878bf2f9
Enable IRQ probing.
1994-07-27 01:50:57 +00:00
mycroft
35b4db3030
Add IRQUNK.
1994-07-27 01:50:15 +00:00
mycroft
55be0e4936
Don't lose if the symbol table is empty.
1994-07-27 01:48:29 +00:00
mycroft
3ba1d35da1
Fix a bogon that crept in when swdevt was changed to end with NODEV. Also
...
change to use MAXPARTITIONS.
1994-07-27 00:21:16 +00:00
mycroft
1e24ff6b3b
Don't modify the device number; let the driver do it.
1994-07-26 19:37:00 +00:00
mycroft
b5ce4d0cdd
Normalize label handling.
1994-07-26 19:36:06 +00:00
mycroft
233b5d12f4
Make sure this runs on a 386.
1994-07-26 19:33:49 +00:00
mycroft
a18c0c0d83
Look for errors in the right place in a transmit descriptor, and count
...
collisions.
1994-07-25 22:54:58 +00:00
mycroft
220a5a5095
Add missing splbio()s, pointed out by Gene Stark.
1994-07-25 04:29:56 +00:00
mycroft
8328e78454
Don't allow the clock chip to be reset if the time hasn't been initialized.
1994-07-25 00:19:47 +00:00
mycroft
45f83d31c4
Make this compile with GCC 2.6.
1994-07-22 22:26:12 +00:00
mycroft
5dcf8d2fa5
Change a btrl to btl. The use of btrl is no longer necessary.
1994-07-22 07:52:50 +00:00
mycroft
1c46c460ee
Return EINVAL if the requested transfer size is weird.
1994-07-21 23:44:16 +00:00
mycroft
f9a027fa33
Update version number.
1994-07-21 20:34:13 +00:00
mycroft
1dda4b8dab
Old fs compat.
1994-07-21 20:25:17 +00:00
mycroft
285ed388fb
Give a better diagnostic message for the previous.
1994-07-21 19:05:31 +00:00
mycroft
64232122c2
Make a rather lame attempt to discover bogus directories and not get wedged
...
in an infinite loop.
1994-07-21 18:06:26 +00:00
mycroft
7fca65c005
Remove something which cannot possibly be correct.
1994-07-21 04:15:05 +00:00
mycroft
37dc11891c
Fix a typo.
1994-07-21 03:40:53 +00:00
mycroft
4469aea569
Do the EISA probing a little differently.
1994-07-21 03:30:18 +00:00
deraadt
3013b3fdbc
check if eisa card exists before tromping on dma
1994-07-21 02:51:53 +00:00
mycroft
6d61cde9dd
Fix handling of null selectors.
1994-07-20 23:01:26 +00:00
cgd
3fbc338a62
define __BIT_TYPES_DEFINED__ for compatibility with things like BIND and nvi
1994-07-20 05:44:19 +00:00
mycroft
f2d6bac657
Fix various bugs, from Duncan McEwan and John Kohl.
1994-07-19 05:08:55 +00:00
mycroft
698fdf82c5
Add various and sundry options.
1994-07-18 08:34:59 +00:00
cgd
8ee00127c9
deal properly with 'obj' dirs, when making boot blocks, etc.
1994-07-18 08:03:20 +00:00
mycroft
560cc3b8bb
Invert the button logic. (Oops.)
1994-07-18 07:18:57 +00:00
mycroft
10e27106d0
Minor cleanup.
1994-07-17 19:35:32 +00:00
mycroft
ee120821cf
Updated to match other drivers, and three bugs fixed.
1994-07-17 19:24:40 +00:00
cgd
c750222ef4
reenable MSDOSFS
1994-07-16 21:46:44 +00:00
cgd
ea3d9333af
add MSDOSFS, DIAGNOSTIC, DEBUG
1994-07-16 21:41:11 +00:00
mycroft
cc9da7d69f
Fix failed probe message.
1994-07-16 13:45:59 +00:00
mycroft
e88e13f3bb
Fix a bogon relating to >16-bit addresses that I introduced. Fix up BPF
...
support for received packets.
1994-07-15 21:20:48 +00:00
mycroft
22b754f8e7
Fix disassembly of bit test instructions with an immediate shift count.
1994-07-15 21:11:34 +00:00
mycroft
551f7bc780
Since we're no longer using xchg instructions, there's no reason to prefer
...
a q reg over and other. Also, fix some types in the case of _POSIX_SOURCE.
1994-07-15 21:10:21 +00:00
mycroft
db0e00db86
Clean up a bit.
1994-07-10 17:53:12 +00:00
deraadt
e25b08cfa8
few more things i need/want..
1994-07-08 09:15:06 +00:00
mycroft
7fdb1ca08c
Swap comment lines.
1994-07-07 19:31:31 +00:00
mycroft
668c4747b3
Rename flags; clean up a bit.
1994-07-05 21:20:20 +00:00
mycroft
628f44ceb3
Kill addupc().
1994-07-04 23:20:44 +00:00
mycroft
bc31358508
Fix some profiling stuff.
1994-07-04 23:19:17 +00:00
cgd
3b513cecb5
ISOFS -> CD9660
1994-07-04 20:22:26 +00:00
mycroft
801d30952a
ISDEBUG --> LEDEBUG, and fix some ugly code.
1994-07-02 04:13:16 +00:00
deraadt
943735dc41
modifications to the threshold and nicer error checking from christos
...
and .. splhigh() around insw/outsw code.. yetch
1994-07-01 23:08:11 +00:00
mycroft
73aca695ac
Make sure we don't leave the interrupt masked after some errors.
1994-07-01 21:38:19 +00:00
mycroft
2f609096e4
Inline le{rd,wr}csr().
1994-07-01 21:34:40 +00:00
mycroft
bf74fc41d1
Add prototype.
1994-07-01 21:33:20 +00:00
mycroft
f62bc452ca
Correct some comments.
1994-07-01 21:31:14 +00:00
mycroft
4a9a4fb27b
Clean up deleted files.
1994-07-01 20:25:29 +00:00
mycroft
66e72cdf4b
Rename is to le, and add support for some models of DEPCA.
1994-07-01 20:25:25 +00:00
deraadt
7926e3feb5
match normal Makefile
1994-07-01 20:18:48 +00:00
mycroft
6b879e0403
is0 --> le0, and give trinity one.
1994-07-01 20:09:56 +00:00
deraadt
877c6d65ed
do not use /usr/include to compile
...
link against libkern, not libc
1994-07-01 03:02:29 +00:00
deraadt
cc7bf234c6
exec_aout.h not needed
1994-07-01 02:57:52 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
mycroft
91e5666a46
Optimize vmapbuf().
1994-06-29 02:32:56 +00:00
mycroft
88c2dbd163
Add a couple of casts.
1994-06-29 01:54:09 +00:00
mycroft
527648cd2f
Eliminate use of b_bufsize, and clean a little.
1994-06-29 01:51:06 +00:00
deraadt
50b13742e4
_MACHINE_VARGS_H_
1994-06-29 00:45:01 +00:00
deraadt
e9aa986658
nice little colons
1994-06-28 07:55:25 +00:00
deraadt
f28df7b8d5
i will run quotas
1994-06-27 21:16:36 +00:00
jtc
50707cfa03
Track changes in "real" /bin/sh: builtins was renamed builtins.def.
1994-06-24 07:47:57 +00:00
cgd
fe8d272fd5
kill MSDOSFS in generic kernels until it works; so i can make a snapshot
1994-06-18 23:49:26 +00:00
mycroft
f9f1bab190
Change vmapbuf() and vunmapbuf() to use b_bufsize, not b_bcount.
1994-06-17 22:20:49 +00:00
mycroft
a69dd750a2
b_un.b_addr -> b_data
1994-06-16 01:07:30 +00:00
mycroft
0248bdda10
Allow overriding the name of the awk program. This is a bit different from
...
how Gordon did it.
1994-06-15 16:46:39 +00:00
deraadt
4a1739545a
build vnode_if.* early in a kernel compile
1994-06-15 02:13:47 +00:00
mycroft
4ebc7fb219
Remove some old debugging code.
1994-06-14 20:43:42 +00:00
mycroft
6cfd63c0a3
Add some missing cld's.
1994-06-14 20:25:53 +00:00
mycroft
ef17960ce8
Print `rebooting...' before doing so.
1994-06-14 19:55:06 +00:00
mycroft
978442b5d8
Add some comments, and junk the old (unused) icode.
1994-06-14 19:53:39 +00:00
mycroft
e38ec56cb5
Fix minor bogons in isdisk() and chrtoblk().
1994-06-14 19:47:51 +00:00
mycroft
470742fbc0
profile_tick() is no longer needed.
1994-06-14 19:37:39 +00:00
cgd
f89d2ee28f
re-enable COMPAT_NOMID
1994-06-14 05:27:20 +00:00
mycroft
53159e3876
Clean up deleted files.
1994-06-14 04:19:45 +00:00
cgd
12d059b759
as pointed out by jtc, echo is unnecessary
1994-06-14 04:19:43 +00:00
jtc
cc7d820954
Fix addresses for lpt ports
1994-06-14 03:59:06 +00:00
cgd
f2c7f5cde7
update for new flags method
1994-06-14 01:19:50 +00:00
cgd
2a714498ae
update for new program Makefiles
1994-06-14 01:16:30 +00:00
mycroft
5c8e7d1afc
Format police.
1994-06-13 19:32:05 +00:00
cgd
6e12a4d7e4
update for 4.4-Lite file system includes and macros
1994-06-13 19:15:14 +00:00
mycroft
f4a9e46aaf
Fix unimportant typos.
1994-06-13 18:54:41 +00:00
mycroft
b617dc888e
Need to offset cpu_vendor by KERNBASE during startup.
1994-06-11 20:44:13 +00:00
pk
ff9c5cdde5
Set `uio_procp' field in case we ever need it.
1994-06-09 20:00:13 +00:00
mycroft
bb4ba15c7f
Add (experimental) 24f handling.
1994-06-08 11:16:49 +00:00
mycroft
3fa62971df
Build vnode_if.o.
1994-06-08 07:51:36 +00:00
mycroft
907eccc9de
Shift vn back to major 14.
1994-06-04 02:41:46 +00:00
deraadt
00eb72f54b
two fixes from christos
1994-06-04 01:52:28 +00:00
cgd
9e65b66176
reenable SYSVMSG,SYSVSEM,SYSVSHM
1994-06-03 20:52:09 +00:00
cgd
d3e4051878
kill DDB (again)
1994-06-03 20:28:48 +00:00
mycroft
9bc7771492
Allow the probe to succeed again on 445S cards.
1994-06-03 15:56:18 +00:00
mycroft
9a87e0deef
Increase default NKPDE.
1994-06-02 09:29:01 +00:00
mycroft
b623f8de21
Remove SLIP.
1994-05-30 17:30:25 +00:00
mycroft
efa75ea465
No more V_SWTCH.
1994-05-29 06:48:56 +00:00
mycroft
ebe4e58802
Don't increment switch count in cpu_switch(); mi_switch() does it.
1994-05-29 06:48:35 +00:00
mycroft
71cbfd8499
Increment switch count on exit.
1994-05-29 06:47:51 +00:00
mycroft
444bdb2ce2
Print trap info on every entry if trapdebug set.
1994-05-27 13:01:47 +00:00
cgd
a3307af1e6
remember, DDB isn't necessarily in if DIAGNOSTIC is on
1994-05-27 13:00:27 +00:00
cgd
45891fdae4
kill DDB for the summer
1994-05-27 12:39:47 +00:00
mycroft
65a32ed04c
Add cpu_set_init_frame().
1994-05-27 11:22:58 +00:00
mycroft
bde4697a5e
Set up for the 4.4 way of starting init(8).
1994-05-27 11:18:26 +00:00
mycroft
37c76e16d1
Only print the blasted messages *once* per error.
1994-05-27 08:54:52 +00:00
pk
ae4b215714
fix RCSid
1994-05-26 11:28:51 +00:00
hpeyerl
30c08c899f
Copyright foo.
1994-05-25 20:41:53 +00:00
pk
7672b8b95b
New style core dumps.
1994-05-25 10:56:56 +00:00
mycroft
0645f8963f
Check the bus type, and don't attempt to enable the round-robin algorithm
...
on early boards. As suggested by Atsushi Murai.
1994-05-24 13:39:15 +00:00