mycroft
900084ce24
Clean up deleted files.
1994-01-16 02:00:01 +00:00
cgd
d8f4f2b929
add nearly every option known to man, and clean up
1994-01-16 01:38:07 +00:00
cgd
82a0744073
turn on SYSVSHM and note the default value of SHMMAXPGS
1994-01-16 01:36:15 +00:00
cgd
ea52295d11
SHMMAXPGS now pegged at 1024, where it belongs
1994-01-16 01:36:07 +00:00
mycroft
ee47a9e354
Just #ifdef BDB the appropriate code; it's too flaky to live right now.
1994-01-15 05:33:23 +00:00
briggs
2e6a049555
undefined variable defined.
1994-01-15 03:24:23 +00:00
mycroft
2ff1cb8f3b
Totally trivial anality, not worth mailing about.
1994-01-14 02:58:37 +00:00
mycroft
33a067f307
Junk comselect(); it's the same at ttselect().
1994-01-13 14:58:12 +00:00
cgd
8ca18c3fa8
use exec_map
1994-01-13 06:23:57 +00:00
cgd
aebed65bf3
add SYSV*
1994-01-13 04:30:10 +00:00
mycroft
9a58b58c31
Change the bufpages calculation back to .10min(physmem,2mb)+.05max(0,physmem-2mb).
1994-01-13 04:00:09 +00:00
mycroft
7e32102eda
We are simply not ready to use pkthdr.len yet.
1994-01-12 04:12:10 +00:00
mycroft
47f759bc3c
Use pkthdr.len field.
1994-01-12 02:58:26 +00:00
mycroft
cfdaa9d2ea
Use the pkthdr.len field rather than traversing the mbuf chain. Also put some
...
sanity checking code in, #ifdef DEBUG, just in case.
1994-01-12 02:38:17 +00:00
mycroft
81c6dcf43d
Remove some unnecessary casting.
1994-01-11 22:39:40 +00:00
mycroft
82420de143
Fix typos.
1994-01-11 22:35:55 +00:00
mycroft
c21cb48980
Fix the segment validation in sigreturn().
1994-01-11 21:46:49 +00:00
brezak
65f742625b
Check the users selectors in sigreturn()
1994-01-11 19:19:01 +00:00
mycroft
960908a885
Deal with fusubail.
1994-01-11 19:12:07 +00:00
mycroft
9a96e9531b
Add V_TRAP; remove TF_ERR.
1994-01-11 18:59:02 +00:00
mycroft
8e447f8afd
Minor changes to match magnum branch; nothing of importance.
1994-01-11 18:57:24 +00:00
mycroft
10865c97fa
Synchronize some more bits.
1994-01-11 17:51:40 +00:00
mycroft
e12a200e8a
Remove an unnecessary cast.
1994-01-11 17:37:28 +00:00
mycroft
101e3f31f7
Cleanup from magnum branch; no functional differences.
1994-01-11 17:35:04 +00:00
mycroft
495c0903ec
Change return type of strat function.
1994-01-11 16:38:48 +00:00
mycroft
4448a68e2c
Get rid of disklabel indirection functions.
1994-01-11 16:35:44 +00:00
mycroft
158545c164
strategy functions return nothing. Synchronize with magnum branch.
1994-01-11 16:25:52 +00:00
mycroft
07a07b09a6
Synchronize with magnum branch.
1994-01-11 15:37:18 +00:00
mycroft
ad116f4438
Some minor cleanup, mostly from magnum branch.
1994-01-11 15:11:36 +00:00
mycroft
2f414f2686
Fix the BDB bug for real.
1994-01-11 14:37:01 +00:00
mycroft
798a4ffff3
Reformat.
1994-01-11 14:24:11 +00:00
mycroft
bdf5bd0cf3
Simplify OMAGIC and NMAGIC handling. Remove all support for loading the
...
kernel in low memory, and always load the symbol table.
1994-01-11 14:13:49 +00:00
mycroft
497b6ddc04
Tiny code shortening tweaks.
1994-01-11 14:01:15 +00:00
mycroft
5e0b965829
Remove a pointless register save.
1994-01-11 13:59:24 +00:00
mycroft
03058aa56a
Remove mostly useless RCS logs.
1994-01-11 13:58:00 +00:00
mycroft
c8b8051b89
Gratuitous formatting changes.
1994-01-11 13:30:40 +00:00
cgd
62af8f99cc
clean up and trim some
1994-01-09 23:57:00 +00:00
mycroft
8d49c8420a
Use db_recover. Print trap name when entering DDB. Use trap_type and
...
trap_types like m68k.
1994-01-09 22:53:16 +00:00
cgd
3f787778b2
LBL /dev/audio and soundblaster drivers, as ported by brad@fcr.com.
...
both should work with both old- and new-config i386 trees.
Some notes:
bsd_audio.c has dependencies on the soundblaster. This should
be fixed, so that it can be used for the PC speaker
(when its driver has been modified), as well.
sb.c needs some cleanup, and will have sections trimmed, eventually
(when new config becomse standard for i386). additionally,
the SBPro support needs some cleanup.
1994-01-09 19:35:00 +00:00
cgd
cb875046b8
LBL "/dev/audio" include file.
...
probably will need to be hacked if "the right things" are done to bsd_audio.c
1994-01-09 19:30:17 +00:00
cgd
52778508b5
add 'audio' entries, at minor number 42
1994-01-09 19:28:27 +00:00
cgd
5b94c9652a
add entries for the 'audio' pseudo-dev and for the new soundblaster driver
1994-01-09 19:27:36 +00:00
deraadt
84ab77272a
*chuckle* -- i ran out of bpfilters.... (don't ask)
1994-01-09 18:21:10 +00:00
cgd
8cdc8d997d
define PT_STEP, and clean up some
1994-01-09 16:53:03 +00:00
mycroft
f1be23e81a
Add the infamous IOPL sanity check, and speed up some bits.
1994-01-09 15:02:24 +00:00
mycroft
f8154a63c0
Don't bogusly save the supervisor stack on signals. Correct PSL checks. Fix
...
some return values from sigreturn().
1994-01-09 14:59:42 +00:00
mycroft
4eb1bbfb0b
Use PSL_MBO and PSL_MBZ in the more traditional way.
1994-01-09 14:58:14 +00:00
mycroft
ec0fa1f388
Use NULLVP, just for Correctness (tm).
1994-01-08 16:06:04 +00:00
cgd
23c144e8b3
code reorg
1994-01-08 11:13:52 +00:00
mycroft
b7f8d61752
Clean up deleted files.
1994-01-08 11:13:10 +00:00
cgd
5fc4970c26
code reorg
1994-01-08 11:12:15 +00:00
cgd
957ce06f24
far reaching but relatively minor cleanup and slight reorg of exec code
1994-01-08 07:14:24 +00:00
mycroft
6d386b5202
Fix two casts.
1994-01-08 05:45:20 +00:00
mycroft
155811b49c
#include vm_kern.h.
1994-01-08 05:29:15 +00:00
jtc
ceb7f9888d
Change default NetBSD NPX control word to 0x137f.
...
This masks all FP exceptions (like every other UNIX system), and makes
it possible for gcc 2.5's long double support to work.
1994-01-08 01:19:06 +00:00
pk
6f81dd8136
Add .type directive to ENRTY().
...
Move PIC_ macros over here from SYS.h
1994-01-07 00:46:20 +00:00
mycroft
c26cce685a
Declare a return type explicitly.
1994-01-06 23:59:15 +00:00
cgd
48b5ac1a52
add 'maxfdescs 2048' to everything. i'm sick of the warning...
1994-01-06 12:07:41 +00:00
mycroft
c8fbd64ff5
Remove explicit link addresses.
1994-01-05 17:17:17 +00:00
mycroft
243ce5b9bf
*** empty log message ***
1994-01-05 17:05:56 +00:00
cgd
b7309d4800
don't include KERNFS and FDESC
1994-01-05 16:30:17 +00:00
cgd
e09a770e77
add some options
1994-01-05 16:28:55 +00:00
mycroft
07e22c53b9
LOAD_ADDRESS is now fixed at 0xf8100000.
1994-01-05 16:03:32 +00:00
mycroft
d5bb16fdb2
Move kernel to 0xf8000000.
1994-01-05 16:02:36 +00:00
deraadt
489e12a1a7
small cleanup
1994-01-05 13:38:57 +00:00
cgd
8e1f0c6b2f
add procfs machine-dependent code, from Jan-Simon Pendry, jsp@sequent.com.
1994-01-05 07:41:44 +00:00
mycroft
0a5a73ec5f
#include cpufunc.h.
1994-01-05 03:18:25 +00:00
cgd
61cf5bd904
add LKM
1994-01-04 14:06:23 +00:00
mycroft
9eb8814652
Remove the last two dependencies on 0xfe000000.
1994-01-04 01:50:18 +00:00
mycroft
e254def3cf
Fix VM_{MIN,MAX}_KERNEL_ADDRESS.
1994-01-04 00:44:03 +00:00
mycroft
d16aafd49f
Fix another off-by-one error.
1994-01-04 00:24:02 +00:00
mycroft
608662ce74
Fix two off-by-one errors.
1994-01-04 00:15:26 +00:00
mycroft
eee671fcc9
Default address is now 0xfe100000; assume we aren't going to revert.
1994-01-04 00:02:38 +00:00
mycroft
92d7ef960c
Use KERNBASE, not 0xfe000000.
1994-01-03 23:53:29 +00:00
mycroft
664f968d53
Inline all the [lr]cr[023]() `functions' in cpufunc.h.
1994-01-03 16:23:06 +00:00
mycroft
c0e772492e
Inline all the [lr]cr[023]() `functions' in cpufunc.h.
1994-01-03 16:21:48 +00:00
mycroft
7131e8517e
Garbage collection.
1994-01-03 16:20:47 +00:00
mycroft
e75be43c5d
Make sure we get the correct `rep' prefix per the Intel manual (though really
...
GAS should figure this out itself).
1993-12-31 21:11:32 +00:00
deraadt
debf054992
compile genassym -static as suggested by Jim McKim <mckim@lerc.nasa.gov>
1993-12-30 06:56:48 +00:00
deraadt
89ea303b7c
fix __asm() clobber list for some instructions. fix from
...
Lennart Augustsson <augustss@cs.chalmers.se>
1993-12-30 05:16:43 +00:00
ws
778a3db3d0
Correct dumping to WD (was destroyed by MACHINE_NONCONTIG code)
1993-12-24 13:56:14 +00:00
cgd
b0603af6e5
fix typo pointed out by Rich Murphey
1993-12-23 07:28:41 +00:00
cgd
c231ef26cb
need sys/types.h, as pointed out by Rich Murphey. also, use 'machine/pio.h'
1993-12-23 07:12:00 +00:00
cgd
fd9de878ef
add NPTEPG back in. gdb wants it. Thanks to Rich Murphey for pointing it out.
1993-12-22 17:39:45 +00:00
cgd
c0f153885d
alphabetize... again
1993-12-22 13:11:03 +00:00
cgd
e1c650fe5f
rename struct 'regs' to 'reg'
1993-12-22 13:07:47 +00:00
cgd
d2ad7a00c2
should be 'struct reg' not 'struct regs' -- it's in reg.h, after all!
...
also, delete r_fs and r_gs; looking at the code and comments
describing/using this struct, they don't belong here
(though if support for them is ever put in here, they should be,
but for i486-en only... how do you do that 'reasonably,' though?
interface issues...)
1993-12-22 12:57:24 +00:00
cgd
7fbfc4bac0
add (possibly iffy) definitions of PSL_USERSET and PSL_USERCLR,
...
"standard" PSL masks.
1993-12-22 12:56:08 +00:00
cgd
dced52af6c
bump MAXSSIZ back down to 8M (from 256M, where charles put it).
...
execve() currently allocated MAXSSIZ of address space (AND PAGE TABLES)
for the stack. until that's changed, and the stack-handling code is
updated to match, MAXSSIZ==256M will make execve() significantly slower
than MAXSSIZ==8M.
1993-12-22 12:30:59 +00:00
mycroft
6c32b87568
Remove two unused fields.
1993-12-21 09:47:45 +00:00
brezak
ac8be1b959
Add pseudo-device vn
1993-12-21 05:27:35 +00:00
brezak
7d88d99ac0
Add vn block/char device
1993-12-21 05:26:49 +00:00
davidb
ddefd2e1b8
Fixed bug where with two or more SCSI controllers of the same type, you
...
could not have devices at the same ID on each bus.
This patch not directly applicable to magnum branch, which is using Julian's
new SCSI code.
1993-12-20 23:27:28 +00:00
ws
cf3c69ea3b
Correct support for single stepping of syscalls and fpu emulation
1993-12-20 17:16:42 +00:00
cgd
fb9b8e7923
add DIAGNOSTIC to each
1993-12-20 10:07:58 +00:00
mycroft
0d115f4690
Remove out of line versions of pio functions.
1993-12-20 09:20:54 +00:00
mycroft
6cbf9be7da
Use cpufunc.h only where (currently) needed.
1993-12-20 09:11:38 +00:00
mycroft
0cd3f0fdd2
Remove some things which should not be here.
1993-12-20 09:08:11 +00:00
mycroft
de04e7e727
New, more complete version.
1993-12-20 09:07:22 +00:00
mycroft
f2a0b4b335
Canonicalize all #includes, and add pio.h where appropriate.
1993-12-20 09:05:17 +00:00
cgd
680c4cb0a0
change panic() for "unknown cpu type" so that it's only got one arg;
...
"#ifdef notdef" the old way; panic() will be upgraded eventually...
1993-12-20 06:40:55 +00:00
mycroft
335014be84
Increment cnt.v_trap in npxintr().
1993-12-20 05:30:55 +00:00
mycroft
e7a1e00bd6
Garbage collection.
1993-12-20 05:26:36 +00:00
mycroft
2250fff236
Cleanup and garbage collection; nothing significant. From magnum branch.
1993-12-20 05:25:02 +00:00
mycroft
546d92cec9
Forgot to decrement these.
1993-12-19 07:54:52 +00:00
mycroft
c857af00dc
Clean up trap handling and macroize interrupt entry and exit code. From
...
magnum branch.
1993-12-19 06:58:12 +00:00
mycroft
a0e7e031f6
Cleanup of trap handling, and macroization of interrupt entry and exit
...
sequences. From magnum branch.
1993-12-19 04:16:45 +00:00
mycroft
8b7ff01b9e
Clean up deleted files.
1993-12-19 03:42:13 +00:00
mycroft
90b25c90a1
Cleanup from magnum branch.
1993-12-19 03:41:30 +00:00
mycroft
122460dca2
Clean bogus arguments to newvers, and don't pass KERN_IDENT any more.
1993-12-18 04:23:04 +00:00
deraadt
be71d62793
direct -> dirent
1993-12-17 00:41:23 +00:00
mycroft
ea13c12adc
From magnum branch:
...
Remove Jolitz's netisr kluge. Make sure cpl == 0 really means base priority.
Other minor cleanup.
1993-12-17 00:10:06 +00:00
mycroft
5d474c1aad
Remove an `#ifdef MACHINE_NONCONTIG', as it is now required.
1993-12-16 20:23:56 +00:00
mycroft
8ab45ada42
Eliminate reference to Maxmem.
1993-12-16 20:22:56 +00:00
hpeyerl
b4b8e47e12
IFF_LLC0->IFF_LINK0
1993-12-16 20:14:10 +00:00
hpeyerl
4eef2bd5ca
oh my... make NS work.
...
(mental note to check more thoroughly in future)
1993-12-16 04:29:07 +00:00
hpeyerl
32fa8934ac
Octal; Hex... It's all the same... :-)
...
>From deaven@ishmael.ameslab.gov
1993-12-16 00:40:05 +00:00
mycroft
4b68c8d809
Fix a serious bug I introduced.
1993-12-15 14:47:38 +00:00
mycroft
a317941b21
Minor change.
1993-12-15 11:33:47 +00:00
mycroft
1cc1b73beb
Cleanup of startup and signal handling code from magnum branch.
1993-12-15 09:31:29 +00:00
mycroft
6c404098c1
Rearrange some tests to improve efficiency a little when using BPF and
...
multicast at the same time.
1993-12-15 03:01:07 +00:00
deraadt
11d78045d5
correct docs
1993-12-15 01:06:55 +00:00
mycroft
cbe3d33b6d
P[GD]_SHIFT --> P[GD]SHIFT
1993-12-15 00:50:45 +00:00
mycroft
13552373e2
Some general code cleanup.
1993-12-14 13:02:52 +00:00
mycroft
fccc819b20
Fold in most of the magnum vm changes.
1993-12-14 05:31:17 +00:00
hpeyerl
e870ded5c4
Driver for 3Com Etherlink-III (3c509) written by me. Kudos to Charles
...
and Theo for help and optimizations. (without which this driver would
never have achieved speeds of 1010KB/sec)
1993-12-14 04:26:45 +00:00
cgd
55a9a547a2
from Soeren Schmidt <sos@login.dkuug.dk>:
...
Basically it does a timeout on lost interrupts, starting the operation
again and logging and error message on the console.
additionally fixes some of the (newer ending) while loops
(that made it work with two IDE disks !)
1993-12-13 10:16:56 +00:00
deraadt
e24af4c37c
what the heck; i've got tunnel drivers now too
1993-12-13 05:03:18 +00:00
deraadt
819b21a7fc
add tunnel driver
1993-12-13 05:02:06 +00:00
hpeyerl
ac0c68e1db
ie. also pass up any packet with the multicast bit set in the ethernet
...
>From: Havard Eidnes <Havard.Eidnes@runit.sintef.no>
1993-12-12 20:24:37 +00:00
cgd
40be71a246
bump up number of SLIP pseudo-devs to 4
1993-12-10 16:22:58 +00:00
cgd
0e5dbe1a22
IF_LLC0 -> IF_LINK0
1993-12-10 10:57:40 +00:00
mycroft
e4f36e2ea9
Remove excess cruft. This machine has too little memory for unused baggage.
1993-12-10 08:55:32 +00:00
mycroft
714c5818db
Make sure the high 16 bits of cpl gets a sane value (0) when reloading after a
...
process switch. (HI THEO!)
1993-12-10 08:51:28 +00:00
hpeyerl
7e2c70ce74
Add random.s for multicast stuff.
1993-12-10 05:38:37 +00:00
hpeyerl
dc1b697fb8
More multicast stuff
...
>From cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-10 05:37:33 +00:00
hpeyerl
3a4bc73f21
More multicast related stuff.
...
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-09 00:32:14 +00:00
deraadt
9a48e42157
__386BSD__ -> __NetBSD__
1993-12-07 12:51:58 +00:00
mycroft
fb60f2ced9
Turn off special mask mode by default. It is clearly not supported enough.
1993-12-05 11:20:09 +00:00
cgd
b26f063ecf
add MACHINE_ARCH as i386
1993-12-04 02:04:31 +00:00
deraadt
c05bd599a0
i have an ep
1993-12-04 01:20:51 +00:00
deraadt
8ca56a8a85
ep driver..
1993-12-03 12:02:38 +00:00
mycroft
720d26b6bf
Add dummy speakerattach() until it's made into a real device. Reported by
...
Mark_Weaver@brown.edu .
1993-12-03 09:37:56 +00:00
deraadt
c69bc4a95f
I have a scsi controller now!
1993-12-03 05:31:03 +00:00
deraadt
0977b6ec81
add ep driver
1993-12-03 02:58:42 +00:00
mycroft
3956e86fbd
Enable mcd0.
1993-11-29 18:19:29 +00:00
mycroft
7095375da9
Enable ch*.
1993-11-29 04:59:26 +00:00
mycroft
aadbc0a6da
Remove explicit port for ahb[01].
1993-11-29 01:03:44 +00:00
mycroft
4e20653888
Enable ahb[01].
1993-11-29 00:39:21 +00:00
mycroft
6ac9e15bb1
New test config.
1993-11-28 10:50:44 +00:00
mycroft
4acf267f87
Enable uha[01].
1993-11-26 10:50:36 +00:00
mycroft
003abe0b84
Enable st and cd.
1993-11-25 08:01:13 +00:00
mycroft
11ba2e43d8
Enable aha[01], sd*.
1993-11-24 03:26:04 +00:00
cgd
7abca02b8a
added two copyright strings at the request of Gary Clark II
...
<gclarkii@freefall.cdrom.com>, because he hacked and is in the process
of hacking the code significantly.
1993-11-17 12:22:50 +00:00
cgd
183fd1b02f
cut down SHMMAXPGS (temporary)
1993-11-15 11:41:54 +00:00
mycroft
7377ae9734
Support for ESIS over X.25 is not complete.
1993-11-14 19:40:47 +00:00
mycroft
9c68389ee6
Junk PARANOID.
1993-11-14 17:58:12 +00:00
mycroft
c237d6b7d7
Fix typo in last change.
1993-11-14 17:42:19 +00:00
mycroft
bc94b1cf89
Add a few things that were missing, and fix some comments.
1993-11-14 17:41:37 +00:00
cgd
fa0d8faf42
Update from trunk:
...
Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 14:45:16 +00:00
cgd
c5446cd8e0
add SYSVMSG and SYSVSEM
1993-11-14 14:40:44 +00:00
cgd
4878a43c3d
Add the System V message queue and semaphore facilities. Implemented
...
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 13:21:59 +00:00
ws
5f65d904b7
Don't skip BIOS variables on boot if load address isn't 0
1993-11-13 16:31:48 +00:00
mycroft
243bc4cc05
Boundary check on backspace.
1993-11-11 15:43:52 +00:00
cgd
b41210b362
add addr32, as noted on freebsd-hackers by bde himself.
1993-11-10 16:08:19 +00:00
mycroft
2f5635f70b
A slightly unfinished i82586 driver, based on Garrett Wollman's.
1993-11-08 20:15:31 +00:00
mycroft
5aa77a4ddc
Enable ie0.
1993-11-08 20:10:32 +00:00
cgd
34178aa2ef
don't use splclock()/splnone(), use splclock()/splx().
...
pointed out by david greenman.
1993-11-05 23:18:51 +00:00
cgd
ab12bacae0
note that use of splnone() is prolly bogus; splnone() itself is bogus,
...
so it's use is. 8-)
1993-11-05 23:18:04 +00:00
cgd
6ca8998c91
GENERIC: add mcd0
...
TEST: add mcd0, commented out
files.i386.newconf: add support for mcd driver
1993-11-04 09:28:26 +00:00
cgd
08c263706c
add mcd: Mitsumi CD driver by Holger Veit and Brian Moore
1993-11-04 09:12:30 +00:00
mycroft
3bb5fc8b74
Enable is0.
1993-11-03 21:32:45 +00:00
mycroft
fa3ccaa273
Change comment about pms.
1993-11-03 13:29:37 +00:00
mycroft
e163596ee8
Fix some comments and enable tb.
1993-11-03 12:48:31 +00:00
mycroft
dd896d55b8
A theoretically working version. The probe routine needs work.
1993-11-02 23:59:34 +00:00
mycroft
6c77f913e9
I have pms. ;-)
1993-11-02 20:40:57 +00:00
glass
3e21ea2e33
tablet line discipline compiles and probably works now.
1993-11-02 06:19:24 +00:00
mycroft
3103af7e6b
Take advantage of special mask mode by leaving interrupts masked in ISR until
...
they are serviced. No need to frob IMR.
1993-11-01 08:36:50 +00:00
mycroft
1a2c258aa6
Enable chaining IRQ only if we're using an IRQ on the slave. Other minor
...
cleanup.
1993-11-01 00:06:04 +00:00
mycroft
44c93f17b5
Grumble. Just set the blasted ICU mode before every read. Also, send the EOIs
...
to the right port in isa_flushintrs().
1993-10-31 20:21:11 +00:00
mycroft
b1c739de48
Need to change to reading ISR in isa_discoverintr().
1993-10-31 20:11:31 +00:00
mycroft
58dd8e7222
Read ISR by default. If DIAGNOSTIC, display ISR and IRR status for stray
...
interrupts.
1993-10-31 20:05:43 +00:00
mycroft
a4cf218142
Rearrange IDT initialization so it's easier to change ICU_OFFSET.
1993-10-31 18:36:21 +00:00
mycroft
a74a4778b9
Enable fdc1 and assign it drq 3.
1993-10-29 20:38:46 +00:00
andrew
0f926f7b02
ttyfree() bugfix edition, plus various minor tweaks.
1993-10-29 08:58:34 +00:00
mycroft
8bef6d7b03
Enable ed.
1993-10-29 04:33:34 +00:00
cgd
7c3008b8d7
kill physstrat
1993-10-29 02:15:30 +00:00
brezak
c1f78e111c
Apply fix for PIT_MODE from Keith White <kwhite@csi.UOttawa.CA>
1993-10-28 14:00:54 +00:00
mycroft
757af3406e
isa_discoverintr(): Also check ipending, in case the interrupt is being shared.
...
Use delay() for timeout rather than timer channel 2.
1993-10-27 17:45:40 +00:00
mycroft
ebe64b7361
Reenable interrupts in ipending before resetting it.
1993-10-27 08:00:40 +00:00
mycroft
651d86ab91
Arrange that IF is on but we are at splhigh() during autoconfig. Clear
...
ipending in isa_flushintrs().
1993-10-27 06:48:39 +00:00
brezak
b92626678c
Cleanup LDT/GDT defines
1993-10-26 15:53:54 +00:00
brezak
5be77b1847
Fix for new ZMAGIC. Define start address.
1993-10-26 15:52:55 +00:00
mycroft
32ee2e4e3f
Stylistic change to IDT initialization.
1993-10-26 15:45:18 +00:00
mycroft
79682dc7fe
Replace a %s with %x.
1993-10-26 14:22:41 +00:00
mycroft
787c131944
Remove bogus port for pccons. Remove ACCOUNTING.
1993-10-26 12:19:38 +00:00
mycroft
4d9cffef5e
Hard-wire the timer IRQ.
1993-10-26 12:18:28 +00:00
mycroft
08f5f6a6fa
Add MADDRUNK.
1993-10-26 12:16:35 +00:00
mycroft
3883efe0da
Fix IDT initialization bug. Don't allow IRQ 0 to be autoconfigured.
1993-10-26 12:10:01 +00:00
paul
899963d591
Latest version of isolan driver.
...
Replaced all static arrays with malloc'ed memory.
Added code so that debug ioctl actually does something.
1993-10-25 03:30:54 +00:00
davidg
16a520e7ed
* Revision 2.11 1993/10/23 04:21:03 davidg
...
* Novell probe changed to be invasive because of too many complaints
* about some clone boards not being reset properly and thus not
* found on a warmboot. Yuck.
*
* Revision 2.10 1993/10/23 04:07:12 davidg
* increment output errors if the device times out (done via watchdog)
*
* Revision 2.9 1993/10/23 04:01:45 davidg
* increment input error counter if a packet with a bad length is
* detected.
*
* Revision 2.8 1993/10/15 10:59:56 davidg
* increase maximum time to wait for transmit DMA to complete to 120us.
* call ed_reset() if the time limit is reached instead of trying
* to abort the remote DMA.
*
* Revision 2.7 1993/10/15 10:49:10 davidg
* minor change to way the mbuf pointer temp variable is assigned in
* ed_start (slightly improves code readability)
*
* Revision 2.6 93/10/02 01:12:20 davidg
* use ETHER_ADDR_LEN in NE probe rather than '6'.
1993-10-23 04:59:41 +00:00
mycroft
3810963ed5
Add at_setup_dmachan(). Minor cleanup.
1993-10-22 20:24:14 +00:00
mycroft
4b7f8b8a62
It does not make sense to mask a fastintr.
1993-10-22 19:33:13 +00:00
mycroft
0c9ce6ed1f
New file with interrupt-handling code. Add intr_fasttrap().
1993-10-22 19:27:40 +00:00
mycroft
f1dda6c852
Add intr.c.
1993-10-22 19:17:32 +00:00
cgd
1b8b52c8c5
mapping the mem or kmem devices is *very* dangerous with the current
...
vm system. Don't allow it.
1993-10-21 23:55:02 +00:00
cgd
80a3179079
vanquish the tree of the last traces of /dev/acct
1993-10-21 00:29:03 +00:00
cgd
430d001c1a
get rid of ACCOUNTING option. it's mandatory, and there's no define any more.
1993-10-20 23:04:52 +00:00
cgd
27bc255b86
kill accounting.
1993-10-18 23:22:56 +00:00
cgd
d7498e64da
fix the 'size allocated vs. MAXBSIZE' check for buffers. Instead
...
of making vfs_bio *and* machdep.c deal with it, just deal with it
here, where we actually allocate the physical memory for pages.
1993-10-18 23:14:13 +00:00
mycroft
9eafd05204
Add I486_CPU.
1993-10-18 16:25:42 +00:00
pk
f0c6138247
Made "start" the entry point (for consistency with other "ld" lines).
1993-10-18 14:41:31 +00:00
pk
f8b564f223
Fixed typo.
1993-10-18 14:35:45 +00:00
pk
14ba800a2f
Provided entry point (_boot1) to ld.
...
Use DESTDIR when installing.
1993-10-18 13:34:26 +00:00
pk
14e6ea89aa
Put definition of __LDPGSZ and `struct relocation_info' where they belong:
...
in <machine/exec.h>.
1993-10-18 09:46:56 +00:00
pk
593a6c40ef
Explicit entry point specified in kernel link command.
...
(so far, we've been lucky only because vers.o doesn't contain text)
1993-10-17 20:56:09 +00:00
mycroft
107d011b19
Add KBR_EXTENDED.
1993-10-17 14:04:15 +00:00
mycroft
7620c96e5d
Make atdevbase an int.
1993-10-17 14:03:54 +00:00
mycroft
6067dc9ea8
Minor cleanup.
1993-10-17 05:34:23 +00:00
mycroft
7e8063835d
Use `swap generic'.
1993-10-16 07:48:04 +00:00
mycroft
2ce6de16d5
Add isa_establish(), for all it's worth (which is to say, nothing).
1993-10-16 05:25:21 +00:00
mycroft
c73d85d341
Panic if DMA with odd length attempted on a 16-bit channel.
1993-10-16 03:55:59 +00:00
cgd
4bcf529b86
oops; forgot to move these definitions over, before...
1993-10-15 13:47:22 +00:00
cgd
fba9bbc5d9
add back the bufpages limit
1993-10-15 11:55:39 +00:00
mycroft
4f94812b29
New file with DMA code from isa.c, modified to check for some errors.
1993-10-14 05:22:57 +00:00
mycroft
5448e175cf
Only include isa/dma.c if a driver which needs it is configured.
1993-10-14 05:17:24 +00:00
cgd
0eabc3bc13
sysarch() belongs in sys_machdep.c
1993-10-13 08:25:57 +00:00
cgd
a1c3bf517a
use the new location for libkern, auto-depend on it, and include
...
the right one, for profiling or non-profiling.
1993-10-13 06:43:17 +00:00
rgrimes
d466119aa4
Convert space to tabs on the trapframe and sigframe lines
1993-10-10 07:23:34 +00:00
rgrimes
4119b752e0
Add symbols KERNSIZE and PDRSHIFT so that they can be used along with
...
KERNBASE to caclulate several constants in locore.s used for setting
up the vm system.
1993-10-10 07:07:52 +00:00
mycroft
4cbf1951c1
Put back assembler versions of setrq() and remrq(). GCC 2 is just too lame.
1993-10-09 22:49:29 +00:00
mycroft
c8431a9508
Add locore2.c as standard.
1993-10-09 22:17:36 +00:00
mycroft
99e736549a
Remove `device-driver' flags.
1993-10-09 08:55:24 +00:00
cgd
7b64280a28
patch from rod grimes:
...
Fix definitions to be in terms of a minimum number of constants by
using the SHIFT value as the basis for the other values, for example
instead of:
#define NBPG 4096
#define PGSHIFT 12
use:
#define PGSHIFT 12
#define NBPG (1 << PGSHIFT)
1993-10-09 01:35:50 +00:00
cgd
f51618137b
genassym needs a dependency...
1993-10-09 00:31:21 +00:00
cgd
fa29c74cd0
fix the mmap of kmem somewhat, but it's still not perfect...
...
(or, at least, it crashes the machines in some situations where
i don't think it should...)
1993-10-06 23:37:09 +00:00
cgd
d4435d2bd4
get rid of excess target line for machdep.o
1993-10-06 21:19:11 +00:00
mycroft
004534e441
Add FASTLINKS.
1993-10-06 12:15:33 +00:00
mycroft
501c1b99ad
Add cy.
1993-10-06 12:14:31 +00:00
mycroft
8cc28d314c
Merge changes from trunk.
1993-10-06 12:09:35 +00:00
mycroft
e9b92335b0
Add DRQUNK and IOBASEUNK.
1993-10-06 12:09:25 +00:00
andrew
81a9642670
Added entry for Cyclades Cyclom-{4/8/16}Y multiport async serial board
...
driver.
1993-10-06 09:31:30 +00:00
andrew
e256404adc
Cyclades Cyclom-{4/8/16}Y multiport async serial board driver.
1993-10-06 09:30:16 +00:00
andrew
13a48b8263
Goes with the new cy driver.
1993-10-06 09:27:27 +00:00
cgd
a92b57431b
make nbuf = bufpages, now that vfs_bio can do the rational thing.
1993-10-04 04:57:09 +00:00
cgd
174c25bd21
add mmmmap (mem device mmap routine). possible problems:
...
(1) the 'physmem' constant has a value which i don't think is
correct
(2) not sure what happens if you mmap a region of kmem which is
not in the kernel's address space...
1993-10-02 00:16:24 +00:00
mycroft
ee70c53e3f
Display a less cryptic message when the ring buffer overflows.
1993-10-01 23:12:04 +00:00
mycroft
f969ea9aa8
Fix probe routine to work for multiple controllers.
1993-10-01 23:07:27 +00:00
mycroft
018d1230b2
Read ethernet address correctly on NE1000 boards.
1993-10-01 22:59:57 +00:00
mycroft
4d4bfb2287
*** empty log message ***
1993-10-01 04:00:45 +00:00
davidg
892a4681ae
* Revision 2.5 93/09/30 17:44:14 davidg
...
* patch from vak@zebub.msk.su (Serge V.Vakulenko) to work around
* a hardware bug in cheap WD clone boards where the PROM checksum
* byte is always zero
*
* Revision 2.4 93/09/29 21:24:30 davidg
* Added software NIC reset in NE probe to work around a problem
* with some NE boards where the 8390 doesn't reset properly on
* power-up. Remove initialization of IMR/ISR in the NE probe
* because this is inherent in the reset.
*
* Revision 2.3 93/09/29 15:10:16 davidg
* credit Charles Hannum
*
* Revision 2.2 93/09/29 13:23:25 davidg
* added no multi-buffer override for 3c503
*
* Revision 2.1 93/09/29 12:32:12 davidg
* changed multi-buffer count for 16bit 3c503's from 5 to 2 after
* noticing that the transmitter becomes idle because of so many
* packets to load.
*
* Revision 2.0 93/09/29 00:00:19 davidg
* many changes, rewrites, additions, etc. Now supports the
* NE1000, NE2000, WD8003, WD8013, 3C503, 16bit 3C503, and
* a variety of similar clones. 16bit 3c503 now does multi
* transmit buffers. Nearly every part of the driver has
* changed in some way since rev 1.30.
1993-10-01 02:01:43 +00:00
mycroft
e57ef97529
Add LKM.
1993-09-30 20:15:25 +00:00
mycroft
83f32ad82b
Add needs-flag (or needs-count for tty devices) to all driver in the
...
switch tables. Remove ancient ethernet drivers.
1993-09-30 20:14:55 +00:00
mycroft
845512b39a
TEST: Enable com ports.
...
files.i386.newconf: Add needs-count to com.c for now.
1993-09-30 17:30:32 +00:00
mycroft
81c776a8e4
Enable mms.
1993-09-29 15:24:41 +00:00
mycroft
c27a6e4acf
Fix TIMEZONE specs; add DST.
1993-09-29 06:57:10 +00:00
mycroft
5085e2ca53
files.i386: Defunct.
...
files.i386.newconf: Remove lpa.
TEST: Enable lms and lpt.
*: Change all lpa's to lpt's. Change fd[0-3] to fd* and wd[0-3] to wd*.
Remove all explicit irq's.
1993-09-29 05:37:29 +00:00
cgd
ff24138e60
get rid of an "#if 0", and allocate buffers here.
1993-09-29 04:51:12 +00:00
cgd
4a21fe3648
ifdef out the ttyfree()'s, so that fill_eproc doesn't panic when
...
a process's session still holds a ref to a tty which has been deallocated
and reused.
1993-09-29 02:36:21 +00:00
cgd
b85a24ec4e
get rid of stray printfs (turn them into "lprintf"s)
1993-09-28 21:26:59 +00:00
mycroft
cd216b5938
Make Ctrl-Space input a NUL and Ctrl-/ input a ^/ (undo in Emacs).
1993-09-28 04:55:17 +00:00
andrew
ef83446787
Exports the pccons ioctls.
1993-09-28 03:26:17 +00:00
andrew
ceb2a05027
Added keyboard typematic rate adjustment ioctl. Rudimentary support for
...
entering DDB from X11 by means of the F12 key (when XSERVER_DDB is
defined).
1993-09-28 03:25:01 +00:00
jtc
e7ecd24ac3
Do not provide quad constants if compiling in a strict ansi or a strict
...
posix environment.
1993-09-24 18:22:31 +00:00
mycroft
06c199bb44
Renamed from clock.h.
1993-09-24 09:04:56 +00:00
mycroft
054e0b73bc
clock.c: Finish conversion. Make rtcput() work if VRT bit not set. Speed up
...
time conversion in delay().
fd.c: Minor changes to autoconfig. Use dv_parent rather than storing another
pointer to the fdc_softc in each fd_softc. Change disk label stuff for our
kernel.
icu.s: Make splx() and splnone() return previous cpl for now.
isa.c: Minor autoconfig changes.
isa.h: rtcin() is now nvram() and is declare in nvram.h. Make isaphysmem a
caddr_t.
pccons.c: XXXX: Maybe we should insist they open /dev/io now.
timerreg.h: #define TIMER_NPORTS.
wd.c: Delete unused wdnoreloc() and wddospart(), and use remaining two bits in
unit number. struct disk --> struct wd_softc. struct board --> struct
wdc_softc. Still needs much work.
1993-09-24 08:49:21 +00:00
mycroft
3540378534
GENERIC, TEST: Remove all irqs.
...
std.i386: Re-add clock0 and timer0.
1993-09-24 08:45:03 +00:00
cgd
2dc346f0d1
add accounting
1993-09-23 21:31:56 +00:00
brezak
4212e64961
Include sys/signal.h instead of machine/signal.h
1993-09-21 20:51:12 +00:00
brezak
b54c7ce913
Be sure to get sys/signal.h
1993-09-21 13:43:15 +00:00
brezak
a9f5756dd2
In resettodr() handle rtcget() failure.
1993-09-21 13:09:10 +00:00
brezak
39804a17e5
Remove unneeded saving of segment regs for USER_LDT.
1993-09-21 13:08:34 +00:00
brezak
d0b8b43cf2
Add USER_LDT option.
1993-09-19 19:11:24 +00:00
brezak
42f1476a71
Changes for per-process/user settable LDT and full sigcontexts
1993-09-19 19:00:44 +00:00
brezak
90add535c9
Add tISP offset
1993-09-19 18:59:35 +00:00
brezak
a3e9fd6947
Add per-process LDT slot.
1993-09-19 18:59:17 +00:00
brezak
044ac34c5a
Define signal frame here.
1993-09-19 18:58:39 +00:00
brezak
66f540572a
Defines architecure dependant syscalls.
1993-09-19 18:58:14 +00:00
brezak
5413da0ff5
Machine dependant signal.h. Defines sigcontext and sig_atomic_t for i386 port.
1993-09-19 18:57:48 +00:00
cgd
0145d113ae
get rid of the #ifndef KERNEL around the include of sys/cdefs.h,
...
a la 4.4, because it seriously breaks things otherwise, given
inclusion of endian.h in types.h
1993-09-17 01:44:08 +00:00
mycroft
a46b224043
Add constants for quad support.
1993-09-16 06:01:11 +00:00
mycroft
111aecd0a9
Add an #ifndef _POSIX_SOURCE...
1993-09-16 05:59:43 +00:00
brezak
cb098b5eb0
Changes to use a trap frame for syscalls.
1993-09-16 03:24:13 +00:00
mycroft
606544f20d
Add _QUAD_HIGHWORD and _QUAD_LOWWORD for Torek's quad stuff.
1993-09-16 02:25:45 +00:00
cgd
a3b397dd18
compile boot blocks with -O6. this makes them "fit". this is sick.
1993-09-15 22:17:54 +00:00
brezak
ff02097496
No need to lospecifiy load address at 1M, now the default for any kernel.
1993-09-14 20:01:19 +00:00
mycroft
fd156a97fa
New i386 code.
1993-09-14 17:28:06 +00:00
brezak
5823e758f1
Remove SYMTAB_SPACE from config so that boot symbols are used.
1993-09-13 18:19:26 +00:00
brezak
7d2eb9e6b6
Default LOAD_ADDRESS at 0xfe100000 (1M)
1993-09-13 15:28:23 +00:00
brezak
b119f3ec4f
Add MACHINE_NONCONTIG option
1993-09-13 14:22:42 +00:00
jtc
c3f643cd8a
Remove NEED_* defines, as they are now satisfied by libkern.
1993-09-11 00:16:40 +00:00
jtc
0d2e8f0fcb
Link with libkern.
1993-09-11 00:14:13 +00:00
jtc
cab4d78107
Removed functions moved to libkern: strcpy, strlen, ffs, etc.
1993-09-11 00:12:56 +00:00
mycroft
c87683c012
Make various macros work if outb() is being inlined.
1993-09-09 15:16:14 +00:00
davidg
1c880d62bf
As of this revision, all known bugs have been fixed. Some of the fixes include:
...
1) fixed 3c503 lock-up if the thinwire cable was disconnected at boot time
2) 8013EBT boards now work (quite well!) in 16bit/16k mode
3) ED_NO_DOUBLE_BUFFERING flag now works
4) slightly higer performance (about 3%) with 16bit WD/SMC boards
5) support for WD8013WC (10BaseT) boards
Additionally, the probe code has been reorganized to be much cleaner. This
revision of the driver is 1.25. The release notes have been updated as well.
1993-09-09 09:40:56 +00:00
jtc
aabddf622f
STDC -> __STDC__
1993-09-08 16:55:17 +00:00
mycroft
6409dcaef1
Trivial stylistic change.
1993-09-07 07:35:41 +00:00
mycroft
0230178143
Clean up deleted files.
1993-09-07 02:25:20 +00:00
deraadt
a6b1318c68
Adding the (non-optional) option MACHINE_NONCONTIG
1993-09-07 00:56:05 +00:00
mycroft
515949e42e
Add a bunch more shit that was missing.
1993-09-07 00:36:27 +00:00