Commit Graph

51947 Commits

Author SHA1 Message Date
jhb
9ece632a96 Forced commit to note that the previous commit only applied to the alpha
architecture.  Also, forgot an acknowledgement:

Detective help from:	wpaul
2000-09-11 05:12:54 +00:00
jhb
67c2352385 Add a nasty hack to get remote kernel gdb working from ddb. ddb would
complain before that a suitable gdb port had not been setup because gdbdev
was NULL.  This abuses the fact that the gdb port is hard-coded to the
address normally assigned to sio1 and thus hard-codes in sio1 as the gdb
port.  Yuck.
2000-09-11 04:33:36 +00:00
jhb
94e9cfc605 When doing statistics for statclock on other CPU's, use the other CPUs'
idleproc pointers instead of our own for comparisons.

Submitted by:	tegge
2000-09-11 04:10:29 +00:00
jhb
68f58a2783 - Use RFHIGHPID when creating the kthread to get a more sensible pid.
- Don't fake walking a tailq.  Instead, use a while loop that pulls items
  off the head of the queue while the queue is not empty.
2000-09-11 04:09:08 +00:00
jhb
9113b8bd9b aio processes need to have the Giant mutex before doing work.
Submitted by:	tegge
2000-09-11 04:06:48 +00:00
jasone
670627542d Add malloc_mtx to protect malloc and friends, so that they're thread-safe.
Reviewed by:	peter
2000-09-11 02:32:30 +00:00
jake
a3ec4c22a1 Add scant documentation for msleep. 2000-09-11 00:52:31 +00:00
jake
7d8b514c81 Rename tsleep to msleep and add a mutex argument, which is
released before sleeping and re-acquired before msleep
returns.  A compatibility cpp macro has been provided for
tsleep to avoid changing all occurences of it in the kernel.

Remove an assertion that the Giant mutex be held before
calling tsleep or asleep.

This is intended to serve the same purpose as condition
variables, but does not preclude their addition in the
future.

Approved by:	jasone
Obtained from:	BSD/OS
2000-09-11 00:20:02 +00:00
jasone
d0e37b156f Allow interrupt threads to run during shutdown. This should fix the
"dirty buffers during shutdown" problem introduced by the SMPng commit.

Submitted by:	tegge, cg
2000-09-10 23:06:50 +00:00
nectar
055630dcdb Set h_errno when an error is encountered.
PR:		bin/21092
Submitted by:	Alexander Kabaev <ak03@gte.com>
2000-09-10 19:06:05 +00:00
ume
317cff677b Make default interface work.
Obtained from:	KAME
2000-09-10 18:18:10 +00:00
green
15f43d12d9 Fix a few style oddities. 2000-09-10 18:04:12 +00:00
green
9b66eed210 Fix a goof in timevaldiff. 2000-09-10 18:03:46 +00:00
dfr
dab02e45c0 Fix this so that we actually define HAVE_PNP when its available. 2000-09-10 17:11:27 +00:00
roger
1bccd10790 Update to build both bktr and bktr_mem modules 2000-09-10 15:40:20 +00:00
dfr
9ba19546c2 Remove the manipulation of the Giant mutex from the interrupt entry
points. This can't work right anyway and needs to happen in the irq thread.
2000-09-10 15:39:23 +00:00
kato
dfb5186fa0 Moved boot0cfg into IBM-PC only section (MACHINE=="i386").
Pointed out by:	nyan
2000-09-10 15:33:07 +00:00
dfr
59a81dab3a Use '&' instead of '%' to calculate the new value for ktr_idx. 2000-09-10 14:36:55 +00:00
dwmalone
51da1c63ec pmcd_value is actually a quad_t. 2000-09-10 14:35:20 +00:00
roger
baa153f4ef Update to driver 2.15.
Main change is the addition of the bktr_mem module.

This holds onto the bktr driver's contiguously allocated memory
when the bktr driver is unloaded and reloaded.

This has to be done because it is virtually impossible to get
contiguous memory once a system is running.

Also tidied up the use of SMBUS, added a new Hauppauge tuner type (0x2c)
and a new Flyvideo vendor ID.
2000-09-10 14:34:08 +00:00
markm
b519ff8a6a Provide keyboard entropy harvesting for PCVT users. 2000-09-10 14:31:40 +00:00
markm
f3543261de Harvest mouse events for the entropy device in a better place. In the
new location, all mouse events are harvested, not just the ones being
written out to moused(8). This means that mouse entropy is harvested
at the consoles as well as in X.
2000-09-10 14:27:17 +00:00
markm
cc3a84e33e The entropy driver module has changed name. 2000-09-10 13:58:58 +00:00
markm
6f5b07e13a Forced commit.
Enough folks complained about the name of the entropy device module, so
I agreed to change it from "randomdev" to just plain "random".

This needs to be changed in loader.conf as well.
2000-09-10 13:56:45 +00:00
dfr
3f3a84cd38 Move the include of <sys/systm.h> so that KTR gets a declaration for
snprintf().
2000-09-10 13:54:52 +00:00
markm
9555e6c41f Large upgrade to the entropy device; mainly inspired by feedback
from many folk.

o The reseed process is now a kthread. With SMPng, kthreads are
  pre-emptive, so the annoying jerkiness of the mouse is gone.

o The data structures are protected by mutexes now, not splfoo()/splx().

o The cryptographic routines are broken out into their own subroutines.
  this facilitates review, and possible replacement if that is ever
  found necessary.

Thanks to:		kris, green, peter, jasone, grog, jhb
Forgotten to thank:	You know who you are; no offense intended.
2000-09-10 13:52:19 +00:00
dcs
d43649b4ad Bump up version as a result of the recent changes to kernel path,
and boot-conf&boot semantic changes.

Also, make it 1.0.

Reminded by: peter (even though he doesn't know it)
2000-09-10 13:51:44 +00:00
dcs
f1544ab218 Bump up version as a result of the recent changes to kernel path,
and boot-conf&boot semantic changes.

Reminded by: peter (even though he doesn't know it)
2000-09-10 13:51:31 +00:00
dcs
2e0ae74034 Change NOFORTH comment character from # to \ followed by space,
to make things more interchangeable between it and the FORTH case.

Perhaps requiring the space is a bit too much, but...

Nothing in the tree seems to produce loader.rc files with comment
line, at this time.
2000-09-10 13:48:51 +00:00
dfr
03049bb06f Fix printf warnings in CTRx calls. 2000-09-10 13:34:35 +00:00
dfr
d32b3ecae6 Move the include of <sys/systm.h> so that KTR gets a declaration for
snprintf().
2000-09-10 13:33:31 +00:00
dfr
2720785ac6 Fix printf warnings. 2000-09-10 13:32:39 +00:00
dfr
e709ca4dbf Fix printf warnings in CTRx calls. 2000-09-10 13:04:20 +00:00
dfr
14c838590f Update to work with the current version of KTR. 2000-09-10 13:03:24 +00:00
dfr
70ddfdac58 Only build PnP parts if the platform supports PnP. 2000-09-10 12:15:30 +00:00
kris
2a84d96bfa Remove files no longer present in OpenSSH 2.2.0 and beyond 2000-09-10 10:26:07 +00:00
kris
97b6eb4563 Update for OpenSSH 2.2.0 2000-09-10 09:43:29 +00:00
kris
71b51dc832 Resolve conflicts and update for OpenSSH 2.2.0
Reviewed by:	gshapiro, peter, green
2000-09-10 09:35:38 +00:00
phk
d345e9b7aa Updates to the ntp pll from John Hay.
Submitted by:	jhay
2000-09-10 09:13:34 +00:00
peter
3947708693 Bump __FreeBSD_version to 500013 after SMPng step 1 hit the tree.
If anything deserves to bump the version, surely this does.
2000-09-10 08:43:04 +00:00
kris
3d4fe2511f This commit was generated by cvs2svn to compensate for changes in r65668,
which included commits to RCS files with non-trunk default branches.
2000-09-10 08:31:17 +00:00
kris
0ca2bdc2f7 Initial import of OpenSSH post-2.2.0 snapshot dated 2000-09-09 2000-09-10 08:31:17 +00:00
bmah
61b59cf208 New release notes: ipfilter->3.4.9, new kernel location, FFS snapshots.
Add note to Alpha relnotes (accidentally omitted) on softupdates licensing.
2000-09-10 06:55:27 +00:00
bp
83eeff5276 Change variable naming to be consistent with the rest of VFS code.
Reduce number of indirections by using already fetched values.
2000-09-10 03:46:12 +00:00
jasone
05fa335eb4 Back out the addition of malloc_mtx. It was incompletely conceived, and
will be done correctly in the future.
2000-09-10 01:54:15 +00:00
ps
a70d2ecb40 Backout last commit. It was wrong.. *sigh* 2000-09-10 01:17:47 +00:00
ps
2a7663980f include string.h to silence a warning. 2000-09-10 01:10:15 +00:00
kris
395ad657f8 Nuke RSAREF support from orbit.
It's the only way to be sure.
2000-09-10 00:09:37 +00:00
jasone
bd9f228883 Style cleanups. No functional changes. 2000-09-09 23:18:48 +00:00
jasone
547e8f3bed Add file and line arguments to WITNESS_ENTER() and WITNESS_EXIT, since
__FILE__ and __LINE__ don't get expanded usefully in inline functions.

Add const to all witness*() arguments that are filenames.
2000-09-09 22:43:22 +00:00