Commit Graph

49051 Commits

Author SHA1 Message Date
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
eeh
4ffa956fbb Fix up alignment issues dumping physical memory. 1999-02-28 00:22:32 +00:00
ross
548ab086f2 Urk, .Nx doesn't DTRT either. 1999-02-28 00:00:03 +00:00
ross
a502b55bc2 Don't .Xr sha1(1) until we get such a thing, but do .Xr md5(1).
Also, don't .Ox (?) 2.0, but do .Nx 1.4.
1999-02-27 23:11:56 +00:00
pk
5c062abb64 Fix the bus print function. 1999-02-27 22:21:13 +00:00
scottr
2b90737599 Replace local xva_arg() inline function with macros similar to those in
the stdio vfprintf() function.  Fixes compilation errors on powerpc due
to differences in how va_list is implemented.
1999-02-27 21:52:23 +00:00
scottr
b69760be08 Fix typo introduced in rev 1.11 1999-02-27 21:38:04 +00:00
tv
7b36f54b99 Revert part of previous and use C/// instead of S/// for mipse[bl]->mips. 1999-02-27 21:21:26 +00:00
tv
907d550100 This needs to use C///, not S///. 1999-02-27 21:13:50 +00:00
is
27fc050f1d Oops.
Forgot to commit this LONG ago.
1999-02-27 20:46:56 +00:00
sommerfe
c805ae93c2 Crash dumps should *not* be world readable. 1999-02-27 20:40:30 +00:00
is
0fe440926c Correct type of 3rd argument. 1999-02-27 19:31:58 +00:00
scottr
bebd05917b Add iwm.4 (oops) 1999-02-27 19:02:10 +00:00
tsubai
78665b6502 Increase default data size to compile libbfd without `virtual memory
exhausted'.  Suggested by Scott Reynolds.
1999-02-27 18:32:31 +00:00
sommerfe
fb74cf8d8e Finish fix for PR7059: rename fields in mbstat we no longer maintain
to _m_spareN; add a comment explaining where to get comparable info.
1999-02-27 18:20:37 +00:00
scw
a6a7b5c100 Add ./etc/fstab.sd example. 1999-02-27 17:59:35 +00:00
scw
f4db3c5d7a Add target for raid devices. 1999-02-27 17:57:31 +00:00
sommerfe
b36297112e fix PR7057: division by zero if no mbufs allocated
fix PR7059 (partial): mbuf cluster counts were based on counters which
are no longer maintained.
(full fix will involve renaming the now-unused fields in mclstat in mbuf.h)
1999-02-27 17:37:24 +00:00
pk
e81b9ed433 * Make changing the PLT slot entry (lazy function binding) thread-safe.
* Insert `iflush' instructions for the patched words in PLT entries.
1999-02-27 17:12:13 +00:00
pk
f008a1bbd0 Missing `break'. 1999-02-27 16:13:59 +00:00
hubertf
8593bb58c2 Fix typo reported by Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>
in PR 7056.
1999-02-27 13:31:26 +00:00
pk
331694119a Our device name differs from the PROMs node name. 1999-02-27 13:17:08 +00:00
pk
49035b27c8 Do not call printf() from a CPU that is spinning up; defer the probe
messages to cpu_attach() where the boot processor takes care of them.
This also necessitates a slight change in the way the FPU name is stored.
1999-02-27 13:11:21 +00:00
pk
4e7849055a Add comment on the necessity of having to look at implicit memory addends
even though the sparc architecture uses `Elf_Rela' structures exclusively.
1999-02-27 11:36:02 +00:00
mark
d6f8b575ea Add PCI-PCI bridge device.
Up maxusers to 32.
1999-02-27 11:19:25 +00:00
mark
bbd7276407 Add PCI-PCI bridge devices. 1999-02-27 11:18:27 +00:00
mark
54e053627e Implement bus_space_{read,write}_region_2().
Make bus_space_copy_region_2() work correctly for overlapping regions.
1999-02-27 11:14:27 +00:00