I just know I'm going to get flamed for adding for the miserable
abortion that is libkern, but what am I supposed to do? At least I
didn't drag in the ctype stuff! :-)
Reduce _JBLEN for the i386 to what is actually used.
Encapsulate jmp_buf and sigjmp_buf in structs.
Enlarge jmp_buf to the same size as sigjmp_buf.
Declare *longjmp as non-returning.
Remove stale comments about sig*jmp not being implemented.
of memory to work without running out of kernel VM (and increasing it to
even more than it is now (96MB) is out of the question. Changed bufpages
calculation to allocation a little less bufer cache (16% of mem-2MB instead
of 20%); this is simply a better figure for most systems.
text. Fixed rounding bug that caused the last page of kernel text to be
read/write instead of read-only. This is important now that tmpstk can
crash into it. Removed +4 bias of tmpstk because it screws up ddb's
ability to traceback correctly.
1) malloc.h doesn't exits in 2.0.
2) Makefile.inc wasn't picked up so one of the build steps (install?)
failed.
3) LIBMD wasn't depended on.
4) "ctm foo" dumped core because "foo" doesn't have a '.' in it.
Bruce
I updated the mkCTM stuff while I was at it anyway. /phk
Reviewed by: phk
Submitted by: bde
aa.bb aa:bb and aa!bb treated as user+host and not as local user
names (especially aa.bb is common case).
Only @ is valid user/host separator according to manpage.
Pointed-by: doctor@dream.demos.su
which is enabled by default (use `-c' to get the old format). The new
format looks like this (only the values are correct; this was taken on my
machine with a slightly old kernel):
Device St Parent Description
---------- -- ---------- --------------------------------------------------
isa0 NC -
sc0 NC isa0 Parallel printer adapter
ed0 NC isa0 SMC8216/SMC8216C
sio0 NC isa0 RS-232 serial port
sio1 NC isa0 RS-232 serial port
fdc0 NC isa0 floppy disk/tape controller
fd0 NC fdc0 floppy disk
wdc0 NC isa0 ST506/ESDI/IDE disk controller
wd0 NC wdc0 ST506/ESDI/IDE disk
npx0 NC isa0 Floating-point unit
Note that many of these fields could be made more informative; I tried to make
my changes as unintrusive as possible. See the `mcd' driver for an example
of one which actually does something with the `state' field.
and all SCSI devices (except that it's not done quite the way I want). New
information added includes:
- A text description of the device
- A ``state''---unknown, unconfigured, idle, or busy
- A generic parent device (with support in the m.i. code)
- An interrupt mask type field (which will hopefully go away) so that
. ``doconfig'' can be written
This requires a new version of the `lsdev' program as well (next commit).