4826 Commits

Author SHA1 Message Date
ache
653660fd3e 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
phk
e3931eff1e Fix this to work under 2.0 also. 1994-12-03 22:54:04 +00:00
phk
981f60f527 added a missing '\n' in both files. 1994-12-03 22:52:57 +00:00
smace
e0d9f53e10 Make CHILD_MAX and OPEN_MAX a tunable parameter. 1994-12-03 17:36:37 +00:00
ats
e870c35b7e 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
jkh
69bb6a6b41 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
bde
4047e040e2 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
bde
be27214244 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
bde
40161a97d9 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
jkh
d7649fc477 Back out previous commit until we work this out. Sigh. 1994-12-03 04:46:09 +00:00
ache
207c361309 Move gdc/bs to games 1994-12-03 04:42:49 +00:00
ache
669c987b20 Add bs/gdc 1994-12-03 04:40:26 +00:00
ache
bb99f41eec This commit was generated by cvs2svn to compensate for changes in r4922,
which included commits to RCS files with non-trunk default branches.
1994-12-03 04:34:46 +00:00
ache
aeb9a3ffc1 Move ncurses test here (also nice game) 1994-12-03 04:34:46 +00:00
ache
1a5cc5647b Move ncurses test here (also nice game) 1994-12-03 04:34:46 +00:00
ache
394e4390df exit_standout don't turn most attributes off, fixed 1994-12-03 04:27:08 +00:00
ache
4b914f4b4c #ifdef out check for pending input, cause problems with
output-only pgms
1994-12-03 03:35:30 +00:00
ache
53a929e65c Prevent core dump for root
Obtained from: partially from 1.1.5.1
1994-12-03 02:27:40 +00:00
wollman
124986ecac Add Cronyx/Sigma cdevsw[] entry. 1994-12-03 00:18:15 +00:00
wollman
8be5d8932d Add Cronyx/Sigma files and config information; delete outdated config files. 1994-12-03 00:17:55 +00:00
wollman
88e86eff7e Add generic sync PPP file. 1994-12-03 00:17:19 +00:00
wollman
35374ac0be Add cronyx driver entries. 1994-12-03 00:07:49 +00:00
wollman
cdc629bac8 Add cx(4) to the Makefile. 1994-12-03 00:03:56 +00:00
wollman
8192c613ef Move i386-specific programs into i386 subdirectory. 1994-12-02 23:53:23 +00:00
wollman
fa9f248392 This commit was generated by cvs2svn to compensate for changes in r4910,
which included commits to RCS files with non-trunk default branches.
1994-12-02 23:23:01 +00:00
wollman
02ba538e2e Cronyx/Sigma sync/async serial driver with PPP support
from Serge Vakulenko
1994-12-02 23:23:01 +00:00
wollman
1e6f21ed41 Cronyx/Sigma sync/async serial driver with PPP support
from Serge Vakulenko
1994-12-02 23:23:01 +00:00
wollman
7677602dc2 Delete old, confusing comment. 1994-12-02 23:10:32 +00:00
ats
845a3c7267 Add one forgotten u_quad_t typecast in dosetrlimit. 1994-12-02 23:00:40 +00:00
jkh
6184e30f9c Add Israel site. 1994-12-02 21:15:19 +00:00
jkh
5e6812f8c4 IFCONFIG->IFCONFIG_CMD in dialog box prompt. 1994-12-02 21:05:27 +00:00
jkh
b6935d8b15 More comments on tape installs. 1994-12-02 20:27:11 +00:00
ache
b2b7987fd8 Use new bkgd() function to produce background 1994-12-02 19:49:17 +00:00
ache
7ac6d5a8b5 bkgd() family fixes 1994-12-02 19:43:34 +00:00
jkh
5a68a901c1 |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
jkh
c33ccddbf1 Josh Littlefield's fixes for my extreme boneheadedness. 1994-12-02 15:52:55 +00:00
jkh
4d9b3377cf Fix dialog width for "Please enter the next diskette..." stuff.
Mount DOS floppies read-only.
1994-12-02 15:36:45 +00:00
ache
8091ade428 Implement chage_scroll_region properly 1994-12-02 07:35:48 +00:00
ache
da3bc85e13 Upgrade to version 1.8.6 1994-12-02 06:40:24 +00:00
nate
d856190a55 Kernel name is now kernel and not 386bsd. 1994-12-02 06:19:37 +00:00
wollman
f41e70adc3 Add a check to make sure that we don't fiddle with the NFS routing tables
as well (bleah!).  Also, increase the interval to the real-life value and
eliminate debugging printfs.  This will be standard once tested by others.
1994-12-02 03:32:24 +00:00
wollman
17bb48fa11 Change obnoxious ``Not root dir'' error message into one which actually
tells you what's wrong.
1994-12-02 02:58:56 +00:00
ache
04188ac3ca Change wakeup to endtsleep, because wakeup don't produce timeout
state, cause infinite wakeups loop in ttywait
1994-12-01 23:48:09 +00:00
wollman
098465c845 Add latest version of ``advanced route metric management'' :-)
As before, this is currently conditionalized on options IN_RMX until
I'm sure it's working.
1994-12-01 23:19:48 +00:00
wollman
1504867da7 In _gethostbydnsaddr(), force RES_RECURSE into _res.options. This is
incredibly obnoxious, but also makes inverse mappings work when the local
resolver is in a cache-only configuration.  (Maybe this is actually
a bug in BIND?)
1994-12-01 22:25:38 +00:00
ats
fc7ab387c2 Submitted by: Philippe Charnier
Fixed a little typo: lable -> label.
1994-12-01 22:19:02 +00:00
phk
3e9d62e475 Fixed a typo. Poited out by Bruce & Phillipe. 1994-12-01 21:05:28 +00:00
ats
7a0fcd058d The values for setrlimit in the data size and stack size case are
used as an address value. Then all comparisons should be done unsigned
and not signed. Fix it with a typecast of u_quad_t.
Error can be demonstrated with the current bash in port, do a
ulimit -s unlimited and the machine hangs. bash delivers through
an internal error a large negative value for the stacksize, the
comparison saw this smaller than MAXSSIZ and then tried to expand
the stack to this size.
1994-12-01 20:20:21 +00:00
jkh
c07b8f0f9b 1. the prgboxes aren't working at all. Stop using them for tape
extraction.
2.  If what's extracted from the tape is a subdir, cd into it before attempting
    to extract it.
1994-12-01 20:11:52 +00:00
jkh
a550201d28 Add gzips for the real floppy images. 1994-12-01 20:02:44 +00:00