Commit Graph

4983 Commits

Author SHA1 Message Date
Bruce Evans
21e880de5d Fix bogus and broken include paths:
<string.h> isn't supposed to be used by the kernel.

cronix.h is <machine/cronix.h>, not "cronyx.h" (ambiguous) or
<sys/cronyx.h> (nonexistent; caused compile to fail).

cxreg.h is <i386/isa/cxreg.h>, not "cxreg.h".

<i386/isa/cpufunc.h> shouldn't be included directly; it is always
included by <sys/systm.h>.

<i386/include/*.h> is <machine/*.h>

<systm.h> is <sys/systm.h>.
<kernel.h> is <sys/kernel.h>.

<bpfilter.h> is "bpfilter.h".  It really is in the current directory.
1994-12-04 08:51:58 +00:00
Bruce Evans
9cdd2c1f8c Add cx.4 to MLINKS.
Someone should fix `man' so that man pages in machine-dependent
subdirectories are handled automagically at least for the
current machine.
1994-12-04 08:07:47 +00:00
Bruce Evans
7e1a4c5c36 Fix another path that was broken by moving things to sbin/i386. 1994-12-04 08:01:24 +00:00
Poul-Henning Kamp
bd1322b660 Allocated chardev#43 and blkdev#15 to the vn-driver. The rest of the stuff
will come as a latter date, I just wanted to lay claim on some numbers.
1994-12-04 07:14:16 +00:00
Poul-Henning Kamp
bd1f210f7e Cannot use rmdir() for 'FR' because mkCTM doesn't sort the directories
in -depth order for us.  cvs-cur.0018.gz is a good example.
1994-12-04 04:47:31 +00:00
Jordan K. Hubbard
e27a543a57 Fixes from Jim Babb. Should finally fix tape installations. Thanks, Jim!
Submitted by:	babb
1994-12-04 03:41:18 +00:00
Andrey A. Chernov
f38f7e1a33 Describe tparm 1994-12-04 03:15:30 +00:00
Jordan K. Hubbard
9077e6d34c >Originator: Gene Stark
>Description:

       If a process attempts to open a floppy tape device when the
device has been configured in the kernel, but did not probe and attach
on bootup, then a panic will occur.

[Review:  The current ft situation is a crock, and this only bandaids
 an earlier wound inflicted by making the attach conditional.  This urgently
 requires a review]
Submitted by:	gene
1994-12-04 03:10:09 +00:00
Andrey A. Chernov
d6761eb4f8 Add $Id$ 1994-12-04 02:49:24 +00:00
Andrey A. Chernov
5426275f52 Add libtermcap to includes target 1994-12-04 02:46:28 +00:00
Andrey A. Chernov
43f9c02773 termcap.h now belongs to system 1994-12-04 02:43:41 +00:00
Andrey A. Chernov
fc98213f95 Add termcap.h & tparm 1994-12-04 02:41:41 +00:00
Andrey A. Chernov
cdbbd9cfaf don't allow ctty to be set to ctty - infinite kernel recursion
Obtained from: 1.1.5.1
1994-12-04 01:46:13 +00:00
Gary Palmer
903448b1da Add two sites in the UK - src.doc.ic.ac.uk and unix.hensa.ac.uk 1994-12-04 01:10:47 +00:00
Andrey A. Chernov
73a361245d Call d_stop in ttyflush not only for WRITE but for READ too
Obtained from: 1.1.5.1
1994-12-04 01:01:45 +00:00
Poul-Henning Kamp
ada6f1dd56 Fix this to work under 2.0 also. 1994-12-03 22:54:04 +00:00
Poul-Henning Kamp
0c290b8b2d added a missing '\n' in both files. 1994-12-03 22:52:57 +00:00
Scott Mace
663afbc34f Make CHILD_MAX and OPEN_MAX a tunable parameter. 1994-12-03 17:36:37 +00:00
Andreas Schulz
d025cfd6c5 Throw out the abort call, the reasoning seems to be false :-).
Change a round to a truncate. Problem reported from Christoph Kukulies:
9.8 2 / p did an IOT trap.
There is one remaining problem.: 9.8 2 % p shows on other machines 1.8
but does here in the moment 1.
1994-12-03 16:32:02 +00:00
Jordan K. Hubbard
e28b57d51b Add back the Croynx stuff I nuked accidently. I'm not touching this
file anymore after this.  My link makes it too painful to make
interactive mods, and I don't have the CVS tree here so making changes
for "previous history" have to get done on freefall, with the corresponding
degree of pain.
1994-12-03 14:01:01 +00:00
Bruce Evans
91290462f6 Disable CLKF_BASEPRI() again. I forgot to edit an unwanted change out of
the diffs for the previous commit.
1994-12-03 10:18:24 +00:00
Bruce Evans
3544ae54e2 extern.h, iostat.c, main.c, vmstat.c:
Use the correct value of hz (stathz if it is nonzero) for
	interpretion of dk_time[] and cp_time[] in iostat.c.  Avoid
	multiple conversions of this value in iostat.c and vmstat.c

iostat.c:
	Implement the display of cp_time[CP_INTR].  Fix the display
	of cp_time[CP_IDLE] (the display was always null because
	cp_time[CP_INTR] == 0 was displayed instead).

systat.1:
	Document the display of cp_time[CP_INTR].

vmstat.c:
	Implement the display of cp_time[CP_INTR].
1994-12-03 10:06:40 +00:00
Bruce Evans
b39b673d37 i386/exception.s,
Keep track of interrupt nesting level.  It is normally 0
	for syscalls and traps, but is fudged to 1 for their exit
	processing in case they metamorphose into an interrupt
	handler.

i386/genassym.c;
	Remove support for the obsolete pcb_iml and pcb_cmap2.

	Add support for pcb_inl.

i386/swtch.s:
	Fudge the interrupt nesting level across context switches and in
	the idle loop so that the work for preemptive context switches
	gets counted as interrupt time, the work for voluntary context
	switches gets counted mostly as system time (the part when
	curproc == 0 gets counted as interrupt time), and only truly idle
	time gets counted as idle time.

	Remove obsolete support (commented out and otherwise) for pcb_iml.

	Load curpcb just before curproc instead of just after so that
	curpcb is always valid if curproc is.  A few more changes like
	this may fix tracing through context switches.

	Remove obsolete function swtch_to_inactive().

include/cpu.h:
	Use the new interrupt nesting level variable to implement a
	non-fake CLF_INTR() so that accounting for the interrupt state
	works.

	You can use top, iostat or (best) an up to date systat to see
	interrupt overheads.  I see the expected huge interrupt overheads
	for ISA devices (on a 486DX/33, about 55% for an IDE drive
	transferring 1250K/sec and the same for a WD8013EBT network card
	transferring 1100K/sec).  The huge interrupt overheads for serial
	devices are unfortunately normally invisible.

include/pcb.h:
	Remove the obsolete pcb_iml and pcb_cmap2.  Replace them by
	padding to preserve binary compatibility.

	Use part of the new padding for pcb_inl.

isa/icu.s:
isa/vector.s:
	Keep track of interrupt nesting level.
1994-12-03 10:03:19 +00:00
Jordan K. Hubbard
46953c1291 Back out previous commit until we work this out. Sigh. 1994-12-03 04:46:09 +00:00
Andrey A. Chernov
6a24938756 Move gdc/bs to games 1994-12-03 04:42:49 +00:00
Andrey A. Chernov
64cfe457df Add bs/gdc 1994-12-03 04:40:26 +00:00
Andrey A. Chernov
fcd9a52b79 Move ncurses test here (also nice game) 1994-12-03 04:34:46 +00:00
Andrey A. Chernov
268e74f211 exit_standout don't turn most attributes off, fixed 1994-12-03 04:27:08 +00:00
Andrey A. Chernov
5e7d2146bb #ifdef out check for pending input, cause problems with
output-only pgms
1994-12-03 03:35:30 +00:00
Andrey A. Chernov
62046959a1 Prevent core dump for root
Obtained from: partially from 1.1.5.1
1994-12-03 02:27:40 +00:00
Garrett Wollman
39c28aded9 Add Cronyx/Sigma cdevsw[] entry. 1994-12-03 00:18:15 +00:00
Garrett Wollman
83401efa16 Add Cronyx/Sigma files and config information; delete outdated config files. 1994-12-03 00:17:55 +00:00
Garrett Wollman
7f41568cfb Add generic sync PPP file. 1994-12-03 00:17:19 +00:00
Garrett Wollman
ce257f0e68 Add cronyx driver entries. 1994-12-03 00:07:49 +00:00
Garrett Wollman
15d5589942 Add cx(4) to the Makefile. 1994-12-03 00:03:56 +00:00
Garrett Wollman
1fa33d23b5 Move i386-specific programs into i386 subdirectory. 1994-12-02 23:53:23 +00:00
Garrett Wollman
6014635361 Cronyx/Sigma sync/async serial driver with PPP support
from Serge Vakulenko
1994-12-02 23:23:01 +00:00
Garrett Wollman
114a506d1a Delete old, confusing comment. 1994-12-02 23:10:32 +00:00
Andreas Schulz
06935b59e5 Add one forgotten u_quad_t typecast in dosetrlimit. 1994-12-02 23:00:40 +00:00
Jordan K. Hubbard
6fe5a28afa Add Israel site. 1994-12-02 21:15:19 +00:00
Jordan K. Hubbard
4e5a373b00 IFCONFIG->IFCONFIG_CMD in dialog box prompt. 1994-12-02 21:05:27 +00:00
Jordan K. Hubbard
a268c1cec5 More comments on tape installs. 1994-12-02 20:27:11 +00:00
Andrey A. Chernov
9b50f2c60a Use new bkgd() function to produce background 1994-12-02 19:49:17 +00:00
Andrey A. Chernov
303f46f591 bkgd() family fixes 1994-12-02 19:43:34 +00:00
Jordan K. Hubbard
4274bc80ca |From: Keith Walker <kew@timesink.spk.wa.us>
|Message-Id: <199412011713.JAA03374@timesink.spk.wa.us>
|To: jkh@whisker.hubbard.ie
|Subject: A little problem with MAKEDEV
|
|For a while now, MAKEDEV's been kinda neat: you create the cua* files,
|and it deletes the tty* files; you create the tty* files and it
|deletes the corresponding cua* files. K00l! :-)

[Ed Note - I think this behavior was wrong, and this fix better].
1994-12-02 16:08:53 +00:00
Jordan K. Hubbard
6413d9a335 Josh Littlefield's fixes for my extreme boneheadedness. 1994-12-02 15:52:55 +00:00
Jordan K. Hubbard
7184c6cea1 Fix dialog width for "Please enter the next diskette..." stuff.
Mount DOS floppies read-only.
1994-12-02 15:36:45 +00:00
Andrey A. Chernov
aea7c17415 Implement chage_scroll_region properly 1994-12-02 07:35:48 +00:00
Andrey A. Chernov
795172f7a5 Upgrade to version 1.8.6 1994-12-02 06:40:24 +00:00
Nate Williams
766ee5695e Kernel name is now kernel and not 386bsd. 1994-12-02 06:19:37 +00:00