]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
29 years agoAdd userconfig.
jkh [Wed, 26 Oct 1994 19:19:12 +0000 (19:19 +0000)]
Add userconfig.

29 years agoAdd my user configuration utility - userconfig().
jkh [Wed, 26 Oct 1994 19:18:28 +0000 (19:18 +0000)]
Add my user configuration utility - userconfig().
David wrote the I/O routines for this thing and deserves most of the
credit for thinking the whole idea up.

29 years agoUse -DNON_UNIX_STDIO as our FILE doesn't have the usual fields.
ljo [Wed, 26 Oct 1994 18:53:13 +0000 (18:53 +0000)]
Use -DNON_UNIX_STDIO as our FILE doesn't have the usual fields.
Submitted by: pete@pelican.pelican.com

29 years agoInstall f2c.h for FORTRAN support.
ljo [Wed, 26 Oct 1994 18:35:40 +0000 (18:35 +0000)]
Install f2c.h for FORTRAN support.
Obtained from: netlib.att.com

29 years agoInvoke userconfig() if kernel compiled with options USERCONFIG and
jkh [Wed, 26 Oct 1994 18:35:02 +0000 (18:35 +0000)]
Invoke userconfig() if kernel compiled with options USERCONFIG and
-c flag used.

29 years agoThis commit was generated by cvs2svn to compensate for changes in r3904,
ljo [Wed, 26 Oct 1994 18:20:35 +0000 (18:20 +0000)]
This commit was generated by cvs2svn to compensate for changes in r3904,
which included commits to RCS files with non-trunk default branches.

29 years agoMerged f2c library.
ljo [Wed, 26 Oct 1994 18:20:35 +0000 (18:20 +0000)]
Merged f2c library.

29 years agoThis commit was generated by cvs2svn to compensate for changes in r3902,
ljo [Wed, 26 Oct 1994 18:17:41 +0000 (18:17 +0000)]
This commit was generated by cvs2svn to compensate for changes in r3902,
which included commits to RCS files with non-trunk default branches.

29 years agoLibrary for f2c (part 2 of 2)
ljo [Wed, 26 Oct 1994 18:17:41 +0000 (18:17 +0000)]
Library for f2c (part 2 of 2)
Obtained from: netlib.att.com

29 years agoThis commit was generated by cvs2svn to compensate for changes in r3900,
ljo [Wed, 26 Oct 1994 18:15:35 +0000 (18:15 +0000)]
This commit was generated by cvs2svn to compensate for changes in r3900,
which included commits to RCS files with non-trunk default branches.

29 years agoLibrary for f2c. (part 1 of 2)
ljo [Wed, 26 Oct 1994 18:15:35 +0000 (18:15 +0000)]
Library for f2c. (part 1 of 2)
Obtained from: netlib.att.com

29 years agoRepair the damage done by whomever blew the last commit. Now it
jkh [Wed, 26 Oct 1994 15:23:04 +0000 (15:23 +0000)]
Repair the damage done by whomever blew the last commit.  Now it
compiles again.

29 years agoFrom: Michael Reifenberger <root@rz-wb.fh-sw.de>
jkh [Wed, 26 Oct 1994 14:52:43 +0000 (14:52 +0000)]
From: Michael Reifenberger <root@rz-wb.fh-sw.de>

Could you please commit this patch to usr.sbin/crunch/examples ?
This should make fixit.conf compilable again.
VI needs some hacks.

[Note:  I'm not sure how relevant this example is anymore, but then it's only
an example]
Submitted by: mr

29 years agoFrom: John Hay <jhay@mikom.csir.co.za>
jkh [Wed, 26 Oct 1994 14:49:07 +0000 (14:49 +0000)]
From: John Hay <jhay@mikom.csir.co.za>
Make swapinfo use libc functions for obtaining device information.

Note:  swapinfo should actually be deprecated, not fixed.  pstat -s performs
the same function.
Submitted by: jhay

29 years agoRemove the code for asking for a filesystem floppy. We don't need
jkh [Wed, 26 Oct 1994 13:46:34 +0000 (13:46 +0000)]
Remove the code for asking for a filesystem floppy.  We don't need
it anymore, and neither David nor I can think of a reasonable
mechanism to stick in its place.

29 years agoRemove RB_ASKFS again - to make this meaningful we'd need to invest in
jkh [Wed, 26 Oct 1994 13:45:52 +0000 (13:45 +0000)]
Remove RB_ASKFS again - to make this meaningful we'd need to invest in
implementing too much generality at this stage.

29 years agoAdd RB_ASKFS
jkh [Wed, 26 Oct 1994 13:38:23 +0000 (13:38 +0000)]
Add RB_ASKFS

29 years agoAdd RB_CONFIG.
jkh [Wed, 26 Oct 1994 13:33:01 +0000 (13:33 +0000)]
Add RB_CONFIG.

29 years agoAdd RB_CONFIG flag.
jkh [Wed, 26 Oct 1994 13:18:49 +0000 (13:18 +0000)]
Add RB_CONFIG flag.

29 years agoI'm going to nuke strtol() for now. Now I need strncmp() and rather
jkh [Wed, 26 Oct 1994 11:14:21 +0000 (11:14 +0000)]
I'm going to nuke strtol() for now.  Now I need strncmp() and rather
that add it too, and end up fighting an unwanted battle right now,
I'm just going to back away from both and start including my own private
copies of everything.  I'm not going to use _anything_ from libkern
until we decide its fate.

29 years agoCorrect a little spelling.
jkh [Wed, 26 Oct 1994 10:33:36 +0000 (10:33 +0000)]
Correct a little spelling.

29 years agoFix two very minor nits, one of which caused a warning (no return type for
jkh [Wed, 26 Oct 1994 10:18:24 +0000 (10:18 +0000)]
Fix two very minor nits, one of which caused a warning (no return type for
main).

29 years agoClean up the mess from the previous commit which used a out of sync
paul [Wed, 26 Oct 1994 07:34:38 +0000 (07:34 +0000)]
Clean up the mess from the previous commit which used a out of sync
patch file.

Now, we should be able to configure disklabels using the editor.

29 years agoAdded some glue code so disklabel editor can be used to edit disklabel
paul [Wed, 26 Oct 1994 07:14:51 +0000 (07:14 +0000)]
Added some glue code so disklabel editor can be used to edit disklabel
and have changes propagated to later stages.

29 years agoOptimize delwin a bit
ache [Wed, 26 Oct 1994 07:13:51 +0000 (07:13 +0000)]
Optimize delwin a bit

29 years agoTwo crunch-specs.
phk [Wed, 26 Oct 1994 05:42:25 +0000 (05:42 +0000)]
Two crunch-specs.

29 years agoWill make two-floppy set now.
phk [Wed, 26 Oct 1994 05:41:47 +0000 (05:41 +0000)]
Will make two-floppy set now.

29 years agoSo there. Now we live on the hard-disk!
phk [Wed, 26 Oct 1994 05:41:02 +0000 (05:41 +0000)]
So there.  Now we live on the hard-disk!

29 years agoPut the README where we need it. This comes from the ...INPUT file.
phk [Wed, 26 Oct 1994 04:28:10 +0000 (04:28 +0000)]
Put the README where we need it.  This comes from the ...INPUT file.

29 years agoCompleted disklabel configuration editor. The editor is working but the
paul [Wed, 26 Oct 1994 04:09:19 +0000 (04:09 +0000)]
Completed disklabel configuration editor. The editor is working but the
glue code to pass the edited configuration onto the following stages
isn't done yet.

29 years agoWhen all else fails, try to use "/stand/sysinstall" as "init" process. The
phk [Wed, 26 Oct 1994 03:34:20 +0000 (03:34 +0000)]
When all else fails, try to use "/stand/sysinstall" as "init" process.  The
new installation procedure needs this.

29 years agoNew and Improved! crunch with gzip, newfs, fsck and cpio. gzip result.
phk [Wed, 26 Oct 1994 02:53:15 +0000 (02:53 +0000)]
New and Improved!  crunch with gzip, newfs, fsck and cpio.  gzip result.
fits on 1200 kb floppy with unstripped GENERIC kernel.

29 years agoSync with termcap.src
ache [Wed, 26 Oct 1994 02:20:47 +0000 (02:20 +0000)]
Sync with termcap.src

29 years agocons25w: add NP,cb
ache [Wed, 26 Oct 1994 02:16:00 +0000 (02:16 +0000)]
cons25w: add NP,cb

29 years agoSync with termcap.src
ache [Wed, 26 Oct 1994 01:47:19 +0000 (01:47 +0000)]
Sync with termcap.src

29 years agoReorganize entries to not have duplicated "ac" capability in environment
ache [Wed, 26 Oct 1994 01:42:15 +0000 (01:42 +0000)]
Reorganize entries to not have duplicated "ac" capability in environment
or tgetent() buffer

29 years agoMake devices for sd2 and sd3 too. If we have them in Generic, we should
phk [Wed, 26 Oct 1994 01:30:47 +0000 (01:30 +0000)]
Make devices for sd2 and sd3 too.  If we have them in Generic, we should
have the devices too.

29 years agoSync with termcap.src
ache [Wed, 26 Oct 1994 01:20:11 +0000 (01:20 +0000)]
Sync with termcap.src

29 years agocons25: add more parametrized capabilities: cv,ch,ec
ache [Wed, 26 Oct 1994 01:15:06 +0000 (01:15 +0000)]
cons25: add more parametrized capabilities: cv,ch,ec

29 years agoFixed a couple of wrong printfs (too few arguments supplied). Also zapped
phk [Wed, 26 Oct 1994 00:16:20 +0000 (00:16 +0000)]
Fixed a couple of wrong printfs (too few arguments supplied).  Also zapped
a couple of unused vars at the same time.  Added a #include <sys/proc.h>
to isa.c while here anyway.

29 years agoModified fifth parameter (imask) to register_intr() according to
se [Tue, 25 Oct 1994 23:09:08 +0000 (23:09 +0000)]
Modified fifth parameter (imask) to register_intr() according to
new definition of that function.

29 years agoBEWARE: Interface change of register_intr() !
se [Tue, 25 Oct 1994 23:06:16 +0000 (23:06 +0000)]
BEWARE: Interface change of register_intr() !

Changed the fifth parameter to register_intr() from u_int mask into
u_int *maskptr in preparation for new features (shared interrupts and
removable devices, eg. for PCMCIA).

29 years agoMove dialog_update() to another place, because it is now in dialog_clear()
ache [Tue, 25 Oct 1994 22:44:09 +0000 (22:44 +0000)]
Move dialog_update() to another place, because it is now in dialog_clear()

29 years agoBEWARE: Interface change of register_intr() !
se [Tue, 25 Oct 1994 22:35:12 +0000 (22:35 +0000)]
BEWARE: Interface change of register_intr() !

Changed the fifth parameter to register_intr() from u_int mask into
u_int *maskptr in preparation for new features (shared interrupts and
removable devices, eg. for PCMCIA).

29 years agoRemove unneeded dialog_update() because now in dialog_clear()
ache [Tue, 25 Oct 1994 22:23:18 +0000 (22:23 +0000)]
Remove unneeded dialog_update() because now in dialog_clear()

29 years agoPatch for proper multicast support on point-to-point links.
swallace [Tue, 25 Oct 1994 22:13:32 +0000 (22:13 +0000)]
Patch for proper multicast support on point-to-point links.
Submitted by: apg@demos.su (Paul Antonov) - patch020

29 years agoApplied patch009. Also added appropriate #include <string.h> which
swallace [Tue, 25 Oct 1994 20:50:41 +0000 (20:50 +0000)]
Applied patch009.  Also added appropriate #include <string.h> which
would have detected that memset was not being passed a pointer in the first
place.

Submitted by: Gene Stark (?) - 1.1.5.1 patch009

29 years agoNever strip the kernel.
bde [Tue, 25 Oct 1994 19:34:57 +0000 (19:34 +0000)]
Never strip the kernel.

Recommend -Wimplicit in CWARNFLAGS next.  There are still a few hundred
potential arg mismatches because no function declaration is in scope.

Don't duplicate option `-I.'.

Remove null editing of the assembler source for all profiled objects.
The required magic has been done since prehistoric times by an
asm("mcount") declaration.

Simplify the clean rule.

Don't try to be clever about timestamps involving genassym.  genassym's
timestamp usually got ahead of assym.s's timestamp, so `make' almost
always had to run genassym and compare *assym.s to decide that nothing
needed to be done.  The cost is reassembling a few files whenever
genassym is rebuilt.  Assembling is almost as fast as comparing.

Always go through genassym.o to build genassym.  This would have avoided
numerous bugs involving mkdep -p.  Now it just stops genassym from
depending on the name of the temporary object file.

Use ${CFLAGS} for building genassym.  Mainly ${CWARNFLAGS} were missing.

29 years agoAdded decoding of chipset registers for Pentium 90/100 CPUs.
se [Tue, 25 Oct 1994 18:45:19 +0000 (18:45 +0000)]
Added decoding of chipset registers for Pentium 90/100 CPUs.

29 years agoUse the correct macro for deciding whether syscons' variables should
bde [Tue, 25 Oct 1994 18:22:32 +0000 (18:22 +0000)]
Use the correct macro for deciding whether syscons' variables should
be accessed.

Remove some unused declarations and document a bogus one.

29 years agoUse += instead of ?= for setting LDDESTDIR. Some Makefiles, such as
bde [Tue, 25 Oct 1994 18:09:44 +0000 (18:09 +0000)]
Use += instead of ?= for setting LDDESTDIR.  Some Makefiles, such as
cc/Makefile.inc use (abuse?) LDDESTDIR for their internal libraries
so "?=" hides non-default external libraries.  Adding multiple paths
to LDDESTDIR works except it makes it even harder than usual to
decide which libraries will actually be linked against.

29 years agoSome profiled/shared objects were being built despite NOPROFILE/NOPIC
bde [Tue, 25 Oct 1994 17:55:25 +0000 (17:55 +0000)]
Some profiled/shared objects were being built despite NOPROFILE/NOPIC
being set.

29 years agoDon't write outside of partp[] if the user gives an invalid partition
bde [Tue, 25 Oct 1994 17:46:53 +0000 (17:46 +0000)]
Don't write outside of partp[] if the user gives an invalid partition
number for the partition to be made active.  Do nothing instead.  This
allows clearing all the active flags by specifying an invalid partition.

29 years agoDefine DKBAD_MAGIC the same as in 1.1.5 (as 0x4321 instead of 0). 0 is
bde [Tue, 25 Oct 1994 17:33:25 +0000 (17:33 +0000)]
Define DKBAD_MAGIC the same as in 1.1.5 (as 0x4321 instead of 0).  0 is
a poor value for a magic number, and we need to be compatible.

29 years agoAdd perl.
bde [Tue, 25 Oct 1994 16:59:57 +0000 (16:59 +0000)]
Add perl.

29 years agoAdded refresh() to dialog_clear so that it actually
paul [Tue, 25 Oct 1994 15:10:27 +0000 (15:10 +0000)]
Added refresh() to dialog_clear so that it actually
clears the screen.
Reviewed by:
Submitted by:
Obtained from:

29 years agoAdd strtol() to libkern in support of some other work I'm doing.
jkh [Tue, 25 Oct 1994 14:57:57 +0000 (14:57 +0000)]
Add strtol() to libkern in support of some other work I'm doing.
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! :-)

29 years agoAdded f77 program. This is a modified version of the c++ program.
ljo [Tue, 25 Oct 1994 14:36:50 +0000 (14:36 +0000)]
Added f77 program. This is a modified version of the c++ program.
All it does is add -lf2c and -lm.

29 years agoImprove error detection and handling:
bde [Tue, 25 Oct 1994 14:11:35 +0000 (14:11 +0000)]
Improve error detection and handling:
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.

29 years agoReenable sigsetjmp.S. Preserve the FP state. Rearrange offsets
bde [Tue, 25 Oct 1994 14:08:13 +0000 (14:08 +0000)]
Reenable sigsetjmp.S.  Preserve the FP state.  Rearrange offsets
to match setjmp.S.

29 years agoNuke sigsetjmp.c. sigsetjmp() can't be implemented as a C function
bde [Tue, 25 Oct 1994 14:04:32 +0000 (14:04 +0000)]
Nuke sigsetjmp.c.  sigsetjmp() can't be implemented as a C function
that calls setjmp(), since returning from the function usually
clobbers the saved environment.

29 years agoAdd this from Mark Dapoz. It requires LaTeX to format it, but it's
jkh [Tue, 25 Oct 1994 13:47:17 +0000 (13:47 +0000)]
Add this from Mark Dapoz.  It requires LaTeX to format it, but it's
sure a lot better than nothing.
Submitted by: md

29 years agoAdded FORTRAN rule.
ljo [Tue, 25 Oct 1994 13:36:02 +0000 (13:36 +0000)]
Added FORTRAN rule.

29 years agoChanged some variable names in lf_addblock to make the code both
dg [Tue, 25 Oct 1994 11:27:51 +0000 (11:27 +0000)]
Changed some variable names in lf_addblock to make the code both
understandable and conform to other conventions used in the file.

29 years agoAllow MAXMEM kernel option to indicate more memory than is detected; it
dg [Tue, 25 Oct 1994 08:58:33 +0000 (08:58 +0000)]
Allow MAXMEM kernel option to indicate more memory than is detected; it
previously could only be used to limit the amount of memory.

29 years agoPatch to fix QIC-02/QIC-36 by Gene Stark.
swallace [Tue, 25 Oct 1994 08:57:39 +0000 (08:57 +0000)]
Patch to fix QIC-02/QIC-36 by Gene Stark.
From patch003 in CLEAR-1.1.5.1-PATCHES.
Submitted by: Gene Stark

29 years agoRestricted maximum bufpages to 1500; this is required for machines >64MB
dg [Tue, 25 Oct 1994 08:34:50 +0000 (08:34 +0000)]
Restricted maximum bufpages to 1500; this is required for machines >64MB
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.

29 years agoMoved swapon -a to before the fsck. It isn't possible to run fsck on
dg [Tue, 25 Oct 1994 08:23:02 +0000 (08:23 +0000)]
Moved swapon -a to before the fsck. It isn't possible to run fsck on
moderately sized filesystems on 4MB machines otherwise.

29 years agoMoved initialization of tmpstk so that it immediately follows the kernel
dg [Tue, 25 Oct 1994 07:25:56 +0000 (07:25 +0000)]
Moved initialization of tmpstk so that it immediately follows the kernel
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.

29 years agoImproved I/O error reporting.
dg [Tue, 25 Oct 1994 07:06:20 +0000 (07:06 +0000)]
Improved I/O error reporting.

29 years agoChanged NO_SHARED_LIBCC_INT to SHARED_LIBCC_INT and changed the logic
dg [Tue, 25 Oct 1994 07:02:23 +0000 (07:02 +0000)]
Changed NO_SHARED_LIBCC_INT to SHARED_LIBCC_INT and changed the logic
as appropriate. This makes gcc not built with a shared cc_int the
default.

29 years ago#if 0'd out the object cache trimming code - there are multiple ways
dg [Tue, 25 Oct 1994 05:35:44 +0000 (05:35 +0000)]
#if 0'd out the object cache trimming code - there are multiple ways
that the pageout daemon can deadlock otherwise.

Submitted by: John Dyson

29 years agoAdded lsdev.
wollman [Mon, 24 Oct 1994 22:22:44 +0000 (22:22 +0000)]
Added lsdev.

29 years agoWhen -v not given, display longer `state' and no `parent'.
wollman [Mon, 24 Oct 1994 22:21:51 +0000 (22:21 +0000)]
When -v not given, display longer `state' and no `parent'.

29 years agoAdded sea0 - Seagate driver lines to config
sos [Mon, 24 Oct 1994 22:18:12 +0000 (22:18 +0000)]
Added sea0 - Seagate driver lines to config

29 years agoSeagate st01/02 driver.
sos [Mon, 24 Oct 1994 22:14:34 +0000 (22:14 +0000)]
Seagate st01/02 driver.
Obtained from: FreeBSD-1.1.5.1

29 years agoFixed cut&paste error.
wollman [Mon, 24 Oct 1994 21:36:38 +0000 (21:36 +0000)]
Fixed cut&paste error.

Submitted by: davidg

29 years agoThese patches fix some lesser problems:
phk [Mon, 24 Oct 1994 20:09:39 +0000 (20:09 +0000)]
These patches fix some lesser problems:

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

29 years agoA nice little PPP.doc file from:
phk [Mon, 24 Oct 1994 17:51:54 +0000 (17:51 +0000)]
A nice little PPP.doc file from:

Submitted by: Gennady B. Sorokopud ( gena@NetVision.net.il )

29 years agoAdded share/examples/ibcs2 directory
sos [Mon, 24 Oct 1994 10:00:00 +0000 (10:00 +0000)]
Added share/examples/ibcs2 directory

29 years agoadded ibcs2 directory.
sos [Mon, 24 Oct 1994 09:56:42 +0000 (09:56 +0000)]
added ibcs2 directory.

29 years agoPartially back out previous fix (in cases ':' and '!'),
ache [Mon, 24 Oct 1994 05:42:34 +0000 (05:42 +0000)]
Partially back out previous fix (in cases ':' and '!'),
leave case '.' as valid user name, not host reference.
Document new behaviour.

29 years agoUse configurable dialog attributes instead of hard-coded ones
ache [Mon, 24 Oct 1994 05:16:00 +0000 (05:16 +0000)]
Use configurable dialog attributes instead of hard-coded ones

29 years agoMake dialog attributes visible from outside (for direct usage
ache [Mon, 24 Oct 1994 05:09:45 +0000 (05:09 +0000)]
Make dialog attributes visible from outside (for direct usage
in pgms)

29 years agolabel.c: add delwin(window)
ache [Mon, 24 Oct 1994 04:14:23 +0000 (04:14 +0000)]
label.c: add delwin(window)
mbr.c: use proper dims for newwin, add shadow
both: add ' ' and ESC as valid end-keys

29 years agoUse proper dims for newwin.
ache [Mon, 24 Oct 1994 04:07:22 +0000 (04:07 +0000)]
Use proper dims for newwin.
Remove double-clear.
Add shadow.

29 years agoClear screen on exit per Paul request
ache [Mon, 24 Oct 1994 03:55:25 +0000 (03:55 +0000)]
Clear screen on exit per Paul request

29 years agoRemove undocumented talk behaviour, when names like
ache [Mon, 24 Oct 1994 03:48:44 +0000 (03:48 +0000)]
Remove undocumented talk behaviour, when names like
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
29 years agoRemove a couple of display_disklabel call used
paul [Mon, 24 Oct 1994 03:33:29 +0000 (03:33 +0000)]
Remove a couple of display_disklabel call used
for debuging.
Reviewed by:
Submitted by:
Obtained from:

29 years agoRound partitions to the next whole cylinder.
paul [Mon, 24 Oct 1994 03:30:56 +0000 (03:30 +0000)]
Round partitions to the next whole cylinder.
Fill in devicename and mountpoint structures from default_disklabel()
so stage2 code knows what to do.
New file label.c for disklabel editing code.

29 years agoImplement fs.nfs MIB variables.
wollman [Sun, 23 Oct 1994 23:26:18 +0000 (23:26 +0000)]
Implement fs.nfs MIB variables.

29 years agoUse new NFS sysctl interface to get statistics rather than reading /dev/kmem,
wollman [Sun, 23 Oct 1994 23:25:43 +0000 (23:25 +0000)]
Use new NFS sysctl interface to get statistics rather than reading /dev/kmem,
unless the user specifies a dead kernel to operate on.

29 years agoDon't do suser() check; it's already done in __sysctl().
wollman [Sun, 23 Oct 1994 23:01:03 +0000 (23:01 +0000)]
Don't do suser() check; it's already done in __sysctl().

29 years agoUpdated to latest kernel code. Also provided a friendlier output format,
wollman [Sun, 23 Oct 1994 21:33:57 +0000 (21:33 +0000)]
Updated to latest kernel code.  Also provided a friendlier output format,
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.

29 years agoFinished device configuration database work for all ISA devices (except `ze')
wollman [Sun, 23 Oct 1994 21:28:03 +0000 (21:28 +0000)]
Finished device configuration database work for all ISA devices (except `ze')
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).

29 years agoFixed object cache trimming policy so it actually works.
dg [Sun, 23 Oct 1994 21:03:09 +0000 (21:03 +0000)]
Fixed object cache trimming policy so it actually works.

Submitted by: John Dyson

29 years agoAdjusted reserved levels to fix a deadlock condition.
dg [Sun, 23 Oct 1994 20:53:33 +0000 (20:53 +0000)]
Adjusted reserved levels to fix a deadlock condition.

Submitted by: John Dyson

29 years agoOnly VM_WAIT if curproc != pageproc. A deadlock can occur otherwise.
dg [Sun, 23 Oct 1994 20:52:11 +0000 (20:52 +0000)]
Only VM_WAIT if curproc != pageproc. A deadlock can occur otherwise.

Submitted by: John Dyson

29 years agoA little COFF program (uuencoded) + README. Just do we can show
sos [Sun, 23 Oct 1994 19:23:50 +0000 (19:23 +0000)]
A little COFF program (uuencoded) + README. Just do we can show
that iBCS2 support is working (that was a cheap one :-)

29 years agoFirst shot README file for iBCS support
sos [Sun, 23 Oct 1994 19:20:57 +0000 (19:20 +0000)]
First shot README file for iBCS support
Reviewed by: sef@kithrup.com