Commit Graph

49177 Commits

Author SHA1 Message Date
simonb
1397fd691b fix spel. 1999-03-01 12:46:16 +00:00
agc
fc1bcfe208 Quieten braindead gcc 2.8.1 unused warning. 1999-03-01 12:11:42 +00:00
agc
d7c7ee9aba Include <fcntl.h> for the O_* definitions. 1999-03-01 12:06:57 +00:00
simonb
d9c1c30e0e If we get an error (file or bootblocks too big), unlink xxboot and
bootxx and exit(1) so a make will fail.  Especially in the too big
case, we don't want a make to work!
1999-03-01 11:52:34 +00:00
mark
98c62c02c3 Since all the calls to the postmortem debug code have been removed by
various folks, the actual code can be removed as well.
1999-03-01 10:01:52 +00:00
jonathan
0d4c6bb54a Recalibrate MIPS3 delay constants.
XXX mips4, faster clocks than 100MHz?
1999-03-01 08:37:05 +00:00
ross
877897554f Make this build on alpha. Still doesn't work well, though, and now
it can't read corefiles.
1999-03-01 07:58:56 +00:00
mark
d4a3aa46b4 Add support for tracing other processes with trace /t. 1999-03-01 05:48:31 +00:00
simonb
19893da01b Add a callback to the PROM routine clear_cache. Not needed now, but
used in two-stage bootblocks.
1999-03-01 04:05:18 +00:00
simonb
33fe56f80f Fix prototype for clear_cache (takes an address and length, not void). 1999-03-01 04:01:50 +00:00
kim
62b98a9670 Make mkdep succeed (use matching quotes in comment). 1999-03-01 03:39:39 +00:00
nisimura
f85c9832ac - Fix cursor image validity check error in set_cursor(). 1999-03-01 02:45:04 +00:00
kim
d3a3d58726 Try not to run when kernel is in secure mode. 1999-03-01 01:05:51 +00:00
simonb
19221fa28e A 5800 is a kn5800. 1999-03-01 00:18:13 +00:00
carrel
c8a301dac0 defopt AHC_SCBPAGING_ENABLE. Other ahc options are already defopt-ed. 1999-02-28 22:24:30 +00:00
jonathan
5f9b5ac4f4 Garbage-collect pmax writebuffer drain when invalidating caches, pass 0:
Change `#ifdef pmax' to `#ifdef PMAX_CACHEFLUSH_FORCES_WBFLUSH'.
1999-02-28 21:53:00 +00:00
mhitch
cb8e3b18a7 Change switch_exit() to use the *current* proc0 stack pointer, instead of
the *initial* stack pointer.  The proc0 stack is being used by proc0 (i.e.
uvm_scheduler).  This had been working because switch_exit() wasn't
overwriting any critical areas of the stack - unless kernel profiling
was turned on.
1999-02-28 20:36:31 +00:00
msaitoh
aade0aa230 sort SEE ALSO section by "sort |sort -n" 1999-02-28 20:15:50 +00:00
msaitoh
9d6a096335 sort SEE ALSO section by "sort | sort -n" 1999-02-28 20:13:41 +00:00
explorer
729bfc4dd7 undo commit made in error 1999-02-28 19:03:11 +00:00
explorer
c1ab1c57fb don't collect or estimate on network devices by default 1999-02-28 19:01:30 +00:00
pk
523f9ad292 Don't try to translate the mount point, to avoid e.g. mounting
the /usr filesystem on /emul/aout/usr.
1999-02-28 18:46:13 +00:00
explorer
8650b13a6c add SHA1 man pages and include/sha1.h 1999-02-28 18:18:46 +00:00
ross
e47e3c9f45 schedclk() -> schedclock(), for consistency with hardclock(), statclock(), ...
update comments for recent scheduler mods
1999-02-28 18:14:57 +00:00
explorer
91d6272def flags and type are seperate now 1999-02-28 17:42:37 +00:00
explorer
6b24c4b0fd Cleanup (in preparation for using gzip to estimate entropy)
(1) remove unused and probably bad (from an API POV) ioctls,
(2) split tyfl into type and flags,
(3) collect an array of samples, and add them all at once.  Soon, this
    will be using gzip to estimate the entropy, but for now the original
    estimation methods are still used.
(4) kill rnd_add_data() -- it compliated the API for little benefit
1999-02-28 17:18:42 +00:00
explorer
3ebb419571 Update to slightly altered rnd_attach_source() api 1999-02-28 17:08:05 +00:00
pk
87ae97e3f0 Fix what is probably a past-o. 1999-02-28 17:01:49 +00:00
scw
5a1959a811 Push 'curproc' on the stack, not 'cachectl'. (I own Ignatios one brick :) 1999-02-28 16:49:04 +00:00
drochner
0d46b0d0fd Make "1" an acceptable result in port tests.
This is a workaround for crappy hardware, normal keyboard controllers
return a "0".
Should fix PR port-i386/6636 by Krister Walfridsson and problems
reported by chopps and fvdl.
1999-02-28 14:26:38 +00:00
fvdl
c0fb2ab4f2 Use a SETRECURSE lock before calling VFS_MOUNT in the mount() system call,
since the lock may be taken again. This was the intention of the CANRECURSE
lock already there, but didn't work.

Only fill in the vnode<->mountpoint links (mountedhere and vnodecovered)
after VFS_MOUNT returned succesfully. It might happen that something called
from VFS_MOUNT mistook the vnode for an already successfully mounted on
one because of this.
1999-02-28 14:12:54 +00:00
fvdl
09469c565c Define LK_SETRECURSE. 1999-02-28 14:09:45 +00:00
fvdl
080ad305ff Recursive locks were previously only available with LK_CANRECURSE. This
could be done in one of 2 ways:

	* call lk_init with LK_CANRECURSE, resulting in a lock that
 	  always can be used recursively.
	* call lockmgr with LK_CANRECURSE, meaning that it's ok if this
	  lock is already held by us.

Sometimes we need a locking type that says: take this lock now, exclusively,
but while I am holding it, I may go through a code path which could attempt
to get the lock again, and which is unaware that the lock might already
be taken.  Implement LK_SETRECURSE for this purpose. Assume that locks and
unlocks come in matching pairs (they should), and check for this 'level'
using SETRECURSE locks.
1999-02-28 14:09:15 +00:00
explorer
cff4c9630b Don't mix in data just to stir the rnd pool. Extracting data will do that,
any network packets received might, too, so this is already taken care of.
1999-02-28 13:41:24 +00:00
tron
f41d893cec Because the old bound check is used at several places we need to make
sure that the array is really NULL terminated. Fixes PR bin/7062.
1999-02-28 11:46:26 +00:00
drochner
d57c7b76ca replace ENTRY() label in data segment which broke the code completely 1999-02-28 11:45:44 +00:00
pk
4bcb8b3a48 Correct precedence in calculation of storage for pollfds. 1999-02-28 11:30:18 +00:00
tron
925f506372 - Don't use static array hack if neither "-p" nor "-P" are used.
- Because the logsocket array is not NULL terminated use the entry number
  for bound checks.
1999-02-28 11:16:18 +00:00
tron
c87ec3954b Use correct expression "sizeof(char *)" instead of "sizeof(char **)"
to calculate memory size.
1999-02-28 11:03:35 +00:00
augustss
9929e72099 Fix some buglets pointed out by "Brett D. Slager" <bds@snarf.thnet.com> 1999-02-28 10:05:00 +00:00
mark
3aca0028f1 Fix else ambiguity. 1999-02-28 10:01:08 +00:00
mark
8b41c31868 Fix compiler warning. 1999-02-28 09:59:33 +00:00
is
04e9e604aa Regenerate. 1999-02-28 07:45:13 +00:00
is
c3f462a037 Alas, Melody boards don't configure in a DraCo. 1999-02-28 07:42:47 +00:00
scottr
e640c5d7cc Move all IPL setup to intr.c, and do some sanity checking. 1999-02-28 04:52:07 +00:00
mark
b8ca758af8 Implement pmap_procwr() the arm32 part of fix for pr 6152. 1999-02-28 01:49:25 +00:00
kim
cc6ca72465 Made this compile:
- fifth arg to recvtftp should be size_t (not ssize_t)
- the path is passed tftp_makereq as a part of the handle structure
1999-02-28 00:57:07 +00:00
eeh
89c4b1c360 Let's try to make prom_cnget() work. 1999-02-28 00:29:24 +00:00
eeh
b6bf56be36 Use block load/store in pmap_zero_page()/pmap_copy_page(). 1999-02-28 00:26:46 +00:00
eeh
1f9186e111 Teach it some VIS instructions. 1999-02-28 00:23:58 +00:00