Bruce Evans
2a32c15f45
Unspammed includes in <machine/cpufunc.h> in the !SMP case. Partially
...
unspammed them in the SMP case.
1999-01-08 19:17:49 +00:00
Eivind Eklund
5526d2d920
Split DIAGNOSTIC -> DIAGNOSTIC, INVARIANTS, and INVARIANT_SUPPORT as
...
discussed on -hackers.
Introduce 'KASSERT(assertion, ("panic message", args))' for simple
check + panic.
Reviewed by: msmith
1999-01-08 17:31:30 +00:00
Bruce Evans
68ba369606
Moved declarations related to copying and zeroing to the right place.
1999-01-08 16:29:59 +00:00
Eivind Eklund
f8f8d7afe8
Instead of providing bad instructions here, point people at the
...
appropriate docs.
Prodded by: Sheldon Hearn <axl@iafrica.com>'s message in -current
1999-01-08 16:04:18 +00:00
Luoqi Chen
fcf37ac337
Allocate kernel page table object (kptobj) before any kmem_alloc calls.
...
On a system with a large amount of ram (e.g. 2G), allocation of per-page
data structures (512K physical pages) could easily bust the initial kernel
page table (36M), and growth of kernel page table requires kptobj.
1999-01-08 14:20:54 +00:00
Kazutaka YOKOTA
2c9619f2a6
Update #ifdef directive.
...
# I forgot this bit when I committed VESA KLD update a few days ago ;-<
1999-01-08 12:57:06 +00:00
Dmitrij Tejblum
6143bceb3f
Make pmap_ts_referenced check more than 1 pv_entry. (One should be carefull
...
when move elements to the tail of a list in a loop...)
1999-01-07 22:15:51 +00:00
Kazutaka YOKOTA
fc847f6651
Remove a hard-coded table of kernel console I/O functions exported
...
from sc, vt and sio drivers. Use instead a linker_set to collect them.
Staticize ??cngetc(), ??cnputc(), etc functions in sc and vt drivers.
We must still have siocngetc() and siocnputc() as globals because they
are directly referred to by i386-gdbstub.c :-(
Oked by: bde
1999-01-07 14:14:24 +00:00
Andrzej Bialecki
cf93ca2686
When compiled with INTRO_USERCONFIG, skip the intro screen anyway if we
...
already loaded and interpreted userconfig_script. Otherwise, when using
such kernel system would always block waiting for user input in UserConfig,
while the intention was to avoid this by having userconfig_script.
Reviewed by: msmith
1999-01-07 09:49:28 +00:00
Peter Wemm
c30fe42c78
Flip the kernel default to ELF.. Add a test to try and warn people
...
that they might be about to blow their feet off if they have not been
reading their mail. I don't know if or how well this will work, but it's
worth a try.
1999-01-07 06:52:41 +00:00
Peter Wemm
6c7178bdfb
OBJFORMAT_DEFAULT = elf now. (this is where /usr/bin/objformat and
...
libc/gen/getobjformat.c get their default from)
1999-01-07 06:35:18 +00:00
Julian Elischer
2267af789e
Add (but don't activate) code for a special VM option to make
...
downward growing stacks more general.
Add (but don't activate) code to use the new stack facility
when running threads, (specifically the linux threads support).
This allows people to use both linux compiled linuxthreads, and also the
native FreeBSD linux-threads port.
The code is conditional on VM_STACK. Not using this will
produce the old heavily tested system.
Submitted by: Richard Seaman <dick@tar.com>
1999-01-06 23:05:42 +00:00
Andrzej Bialecki
cede0c3b9d
Add new sysctl machdep.uc_devlist. It allows to cleanly retrieve the
...
list of devices which has been changed in UserConfig, without resorting
to reading /dev/kmem.
The data returned consist of series of struct isa_device and
char dev_name[8].
Ok'd by: jkh
1999-01-06 09:09:22 +00:00
Jordan K. Hubbard
d8befbbfcc
Don't build biosboot by default - there's no point now that nothing
...
looks for /usr/mdec/boot{1,2}. The other stuff in here is probably
equally useless/pointless but I'm going to not worry about it for now.
1999-01-06 08:46:26 +00:00
Kazutaka YOKOTA
2d15a1badc
Move IO_PSMSIZE from kbdio.h to isa.h. I thought I did this a long time
...
ago...
While I am here, correct the values for IO_MDASIZE and IO_CGASIZE; they
should be 12 rather than 16.
1999-01-06 05:40:01 +00:00
Kazutaka YOKOTA
c01db52553
Assign CDEV 112 to the keyboard driver.
1999-01-06 05:35:39 +00:00
Luigi Rizzo
73a5bda360
Fix YMF719 detection (report by jose@we.lc.ehu.es).
...
Fix compile problems without "controller pnp0"
(fix by German Tischler)
1999-01-04 20:06:38 +00:00
Luigi Rizzo
2bd69c5d34
Bring in ad1816 patches from German Tischler.
...
Fix 'device not configured' problem that people were experiencing
when only PCI devices are present.
1999-01-04 10:40:14 +00:00
Nick Hibma
0d3c3d3942
Corrected the major number for usb and added ums as major 111
1999-01-03 16:48:03 +00:00
KATO Takenori
8f1ca31497
- Remove bus-dependent addresses from `ic' file.
...
- Special registers of IO-DATA device's RSA series are defined in
ic/rsa.h (new file).
Pointed out by: Bruce Evans <bde@zeta.org.au>
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-01-03 15:57:02 +00:00
Jordan K. Hubbard
372b7d7a2e
Revert r1.4 - I was confused as to its real meaning.
...
Noted by: bde
1999-01-03 07:38:15 +00:00
KATO Takenori
3171a83027
Support following devices:
...
- on board 2nd CCU
- Midori Elec. MDC-926Rs
- Midori-Hayes ESP98
- NEC PC-9861K, PC-9801-101 PC-9801-120
- Melco IND-SP and IND-SS
- PIO-9032A/B/C
- B98-01 and B98-02
- IO-data device RSA-98II and RSA-98III
- MC-16550
- MC-RS98
- Media Inteligent RSB-2000/3000 and RSB-384
- PCMCIA modem card
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-01-03 05:03:47 +00:00
Jordan K. Hubbard
d26a815b77
Clean up some more residual /usr/mdec references. I left all the
...
extra rbootd/boot rom cruft pointing at /usr/mdec since it either
doesn't exist or doesn't work anyway, so who cares? :)
1999-01-03 02:18:58 +00:00
Tim Vanderhoek
28cb15a9a9
Extraneous space.
1999-01-02 17:11:45 +00:00
Luigi Rizzo
0a1dd951c8
unbreak devfs support after wrong cut&paste...
...
ReportedBy: Louis A. Mamakos
1999-01-01 14:53:31 +00:00
Dag-Erling Smørgrav
70bfbd280e
Correct typo in macro name.
1999-01-01 14:38:30 +00:00
Bruce Evans
93ac7ca8cf
Minor English and spelling fixes.
1999-01-01 14:21:13 +00:00
Bruce Evans
b55dcca107
The previous commit was bogus. malloc(..., M_WAITOK) should not be
...
used in device attach routines. At least for attaches at boot time,
actually waiting, or actually failing for malloc(..., M_NOWAIT), are
almost equally unlikely and harmless, but using M_WAITOK interferes
with automatic detection of bogus M_WAITOK's.
1999-01-01 12:35:47 +00:00
Peter Wemm
b3c0a3cc54
Part 3 of the pcvt/voxware revival.
...
Reviewed by: core
1999-01-01 08:23:23 +00:00
Peter Wemm
a0f70ac053
Part 2 of pcvt/voxware revival. I hope I have not clobbered any other
...
deltas, but it is possible since I had a few merge conflicts over the last
few days while this has been sitting ready to go.
(Part 1 was committed to the config files, but cvs aborted grrr..)
Approved by: core
1999-01-01 08:18:13 +00:00
Peter Wemm
c19da41ebb
Part 1 of pcvt/voxware revival. I hope I have not clobbered any other
...
deltas, but it is possible since I had a few merge conflicts over the last
few days while this has been sitting ready to go.
Approved by: core
1999-01-01 08:09:58 +00:00
Peter Wemm
3ea799d5aa
Oops, forgot to commit entry in LINT for statically configured vinum.
1999-01-01 04:16:32 +00:00
Luigi Rizzo
c28525ce6e
Enable the ES1370 driver. You don't need any options for this,
...
the existing "device pcm..." entry will take care of that.
1998-12-31 08:17:08 +00:00
Luigi Rizzo
68ec4eb602
Enable entries for DUMMYNET, BRIDGE and device pcm. LINT compiles
...
fine with these enabled.
1998-12-31 08:03:52 +00:00
Luigi Rizzo
4964edb0c6
Extend the callback mechanism and add hooks to support PCI cards.
...
Remove a few unused variables.
1998-12-31 07:34:01 +00:00
Luigi Rizzo
172ea6ae6f
Update documentation on cards and config
1998-12-31 07:28:24 +00:00
KATO Takenori
9ffb74afa4
Another(better) way to support Access/NOTE N98(PC-98) without any effects
...
for other Access/PC series.
Submitted by: Chiharu Shibata <chi@bd.mbn.or.jp>
1998-12-31 03:21:14 +00:00
Søren Schmidt
e76bba09e3
Commit patch in
...
PR: 9232
Submitted by: marcel@scc.nl <Marcel Moolenaar>
1998-12-30 21:20:00 +00:00
Søren Schmidt
397e476030
Commit #2 of
...
PR: 9235
Submitted by: marcel@scc.nl <Marcel Moolenaar>
1998-12-30 21:01:34 +00:00
Søren Schmidt
abbc72c904
Commit #1 of:
...
PR: 9235
1998-12-30 20:58:28 +00:00
Kazutaka YOKOTA
13e05026dd
Make the VESA KLD module work!
1998-12-30 11:21:08 +00:00
Bruce Evans
2a408617a9
Enforce building with -aout, since building with OBJFORMAT=elf doesn't
...
work.
Rely on ../Makefile.inc to set the the default for BINDIR.
1998-12-30 10:55:50 +00:00
Bruce Evans
296134343a
Rely on ../Makefile.inc to set the object format in CFLAGS and the
...
default for BINDIR.
Fixed some style bugs in previous aout enforcement.
1998-12-30 10:48:09 +00:00
Bruce Evans
468071c356
Enforce building with -aout, since building with OBJFORMAT=elf doesn't
...
work.
1998-12-30 10:37:45 +00:00
Bruce Evans
938f0e20c6
Enforce building with -aout, since building with OBJFORMAT=elf doesn't
...
work.
Rely on ../Makefile.inc to set the the default for BINDIR.
Removed comments about installing links to bootxx and xxboot.
1998-12-30 10:34:48 +00:00
Bruce Evans
a3b2fa527f
Rely on ../Makefile.inc to set the default for BINDIR.
1998-12-30 10:26:18 +00:00
Bruce Evans
d389c929de
Rely on ../Makefile.inc to set the object format in CFLAGS and the
...
default for BINDIR. The default BINDIR of /usr/mdec can't be overridden
yet because libdisk still uses /usr/mdec and installing in /boot might
clobber the new boot blocks.
Don't install links to bootxx or xxboot.
Install boot1 and boot2 in 1 step.
Don't delete the boot.help source file on installing it when ${COPY} is
null.
1998-12-30 10:21:37 +00:00
Bruce Evans
75d1228cbb
Add -aout to CFLAGS centrally.
...
Set the default for BINDIR (to /usr/mdec) centrally.
1998-12-30 10:05:56 +00:00
Poul-Henning Kamp
4dfe8ba8b4
We don't specify "vector mumble" anymore
...
Submitted by: Boris Staeblow <balu@dva.in-berlin.de>
1998-12-30 09:43:36 +00:00
Tim Vanderhoek
dea9268b70
Silence -Wtrigraph.
...
Submitted by: Bradley Dunn <bradley@dunn.org> (pr: kern/8817)
1998-12-30 00:37:44 +00:00