bmilekic
4f534409b3
Move the setting of curproc to idleproc up earlier in ap_init(). The
...
problem is that a mutex lock, prior to this change, is acquired before
the curproc is set to idleproc, so we mess ourselves up by calling
the mutex lock routine with curproc == NULL.
Moving it up after the aps_ready spin-wait has us hopefully setting it
after idleproc is setup.
Solved by: jake (the allmighty) :-)
2001-01-28 03:41:01 +00:00
tegge
55837ed17a
Defer assignment of low level interrupt handlers for PCI interrupts
...
described in the MP table until something asks for the interrupt number
later on.
2001-01-28 01:07:54 +00:00
will
18f604377b
De-__P()-ify
...
Reviewed by: markm
2001-01-28 00:35:40 +00:00
will
bb6c08b6c4
BDECFLAGS: constify; use proper types. Add $FreeBSD$, clean up #ifndef lint.
...
Reviewed by: markm
2001-01-28 00:34:29 +00:00
des
f175b29e06
Remove an assertion I forgot to remove in the previous commit: sbuf_len()
...
may now be called with an unfinished sbuf.
For consistency, copy the related comment from sbuf_delete() to sbuf_clear()
and sbuf_len().
2001-01-28 00:33:58 +00:00
des
ca14441dcb
Add MLINKS for sbuf_clear() and sbuf_overflowed().
2001-01-28 00:19:10 +00:00
des
aa44f6a433
Document the changes in subr_sbuf.c rev. 1.2.
2001-01-28 00:18:54 +00:00
des
ba6b6e22f5
Add sbuf_clear() and sbuf_overflowed().
...
Move the helper macros from sbuf.h to sbuf.c
Use ints instead of size_ts.
Relax the requirements for sbuf_finish(): it is now possible to finish an
overflowed buffer.
Make sbuf_len() return -1 instead of 0 if the sbuf overflowed.
Requested by: gibbs
2001-01-28 00:13:01 +00:00
wilko
5790cce92d
Document API UP1100 mainboard which is reported to work fine with FreeBSD.
...
UP1100 owners are invited to comment on the info provided here.
2001-01-27 21:34:33 +00:00
gallatin
ba6119ff82
The API UP1100 is close enough to a UP1000 that FreeBSD just works on it, so
...
document that fact.
Thanks to Peter Petrakis <ppetrakis@alphalinux.org> for doing a test boot.
2001-01-27 20:56:00 +00:00
gibbs
ceeff8ca20
Update Copyright notices for new year. (should have been in last commit).
2001-01-27 20:54:24 +00:00
des
c775307226
Make an effort to actually pass the correct device to groff.
2001-01-27 19:17:40 +00:00
des
3dbc9c1ca6
Add a man page for the zone allocator.
2001-01-27 19:13:08 +00:00
nyan
64f8fd698f
Merged from sys/isa/sio.c revision 1.320.
2001-01-27 13:02:06 +00:00
jhb
bb9151616e
Turn on DEVFS by default for the alpha. Aside from vinum as mentioned by
...
phk it should work fine. If you need vinum, then don't add this to your
kernel config until vinum catches up to DEVFS.
2001-01-27 08:34:58 +00:00
phk
d29cd49646
Turn DEVFS on by default.
...
You may need to turn this off if you you vinum. Apart from that I know of
no reason not to run with DEVFS.
2001-01-27 08:18:36 +00:00
jhb
02ab182bc1
Add a new ddb command 'witness_list' that lists the mutexes held by
...
curproc.
Requested by: peter
2001-01-27 07:51:34 +00:00
peter
ee90d51e9c
p->p_intr_nesting_level is MI now and initialized to 0 in kern_fork.c,
...
so it should be save to KASSERT() on it even on an arch that may not
use it.
2001-01-27 06:32:20 +00:00
peter
cf3baa5309
Bah, as my luck would have it, I had a kernel source tree in the window
...
while strlcpy() existed, before it got backed out due to an extended
bikeshed argument. Sigh. Back to the old version with the redundant
code to terminate the string. :-(
2001-01-27 06:01:48 +00:00
peter
7e605d2e0f
Use strlcpy() in TUNABLE_STR_xxx() and avoid an off-by-one.
...
Noticed by: dfr
2001-01-27 05:43:58 +00:00
luigi
3a6d990128
Make the shell handle arrow keys
2001-01-27 03:25:01 +00:00
luigi
3bda6765ed
The magic for autodetecting the boot media does not work anymore
...
on STABLE or CURRENT. Put the explicit name for the floppy.
2001-01-27 03:23:44 +00:00
luigi
d96206dc6f
Add dummy -n option, for compatibility with the standard netstat
2001-01-27 03:18:55 +00:00
luigi
2ce587262d
Make sure we do not follow an invalid pointer in ipfw_report
...
when we get an incomplete packet or m_pullup fails.
2001-01-27 02:31:08 +00:00
jhb
b6baa60b1e
Back out proc locking to protect p_ucred for obtaining additional
...
references along with the actual obtaining of additional references.
2001-01-27 00:01:31 +00:00
jhb
0c5b7b7672
- Back out over-aggressive locking of p->p_cred.
...
- Back out locking ucred's and bumping refcounts for vnode operations.
2001-01-26 23:54:40 +00:00
jhb
5881492684
Fix fork_exit() to take a pointer to a function that returns void as its
...
first argument rather than a function that returns a void *.
Noticed by: jake
2001-01-26 23:51:41 +00:00
jhb
17984f33e4
Update some comments, s0 in the pcb of a child returning from fork1() is
...
now passed in as a0 to fork_exit() and and s2 is passed in as a1.
2001-01-26 23:32:38 +00:00
bmah
2bfb47ed1d
Catch release notes up with security advisories 00:41, 00:76,
...
00:77 (mistakenly referenced as 00:78), 01:01 (listed previously but
now has an advisory number), 01:08, 01:09.
2001-01-26 20:24:39 +00:00
luigi
3366175318
Minor cleanups after yesterday's patch.
...
The code (bridging and dummynet) actually worked fine!
2001-01-26 19:43:54 +00:00
bmah
f61060516f
New release notes: buildkernel uses KERNCONF, pkg_create/pkg_install
...
support for bzip2.
2001-01-26 19:06:00 +00:00
dfr
8ac42e8bc9
Initialise proc0.p_heldmtx and proc0.p_contested and call
...
mtx_enter(&Giant, MTX_DEF) after Giant is initialised.
Reviewed by: jhb
2001-01-26 17:52:34 +00:00
gallatin
10b4b1aae3
The osfulator needs sysvipc to work. Thanks to DES's commit to
...
the i386 linulator for pointing this out.
The alpha linulator doesn't need a dependancy, as it already
depends on the osfulator.
2001-01-26 17:12:30 +00:00
ume
210c2f7b7c
s/err1/errx/.
...
http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard.cgi?log=1673
Obtained from: KAME
2001-01-26 13:46:40 +00:00
hm
cd1df6fc62
Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.
2001-01-26 13:33:31 +00:00
hm
01632e0088
Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.
2001-01-26 13:22:18 +00:00
hm
cb91e4fe80
Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.
...
Thanks a lot to Jakob Schripsema (sch@kpn.com ) for pointing out similarities
of the Eicon 2.02 to the Siemens I-surf driver !
2001-01-26 13:16:11 +00:00
hm
e1ad448f1d
Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.
...
Increment i4b minor revision (=step) so a buildworld or a make install in
/usr/src/sys/include is necessary to get isdnd and i4b kernel parts in sync.
2001-01-26 13:12:56 +00:00
julian
eed7cd7784
correct documentation to match code.
2001-01-26 11:36:46 +00:00
julian
40289379ee
Swap egress hooks for packets entering from the monitor hooks.
2001-01-26 11:35:36 +00:00
luigi
8a9237833e
Bring dummynet in line with the code that now works in -STABLE.
...
It compiles, but I cannot test functionality yet.
2001-01-26 06:49:34 +00:00
luigi
f9659c70dd
Bring bridging code in line with the one which works on -STABLE.
...
It compiles on -CURRENT, but I can not test functionality yet.
2001-01-26 06:47:19 +00:00
jake
c7072beb9d
Push Giant down into the trap handlers that need it, instead of
...
acquiring it unconditionally.
Reviewed by: jhb
2001-01-26 04:16:16 +00:00
jhb
ce34393882
- Don't pass in MTX_NORECURSE, as that is only used with spin mutexes and
...
is going away soon anyways. Instead, don't pass MTX_RECURSE to mtx_init,
so that WITNESS will panic if the driver mutex is recursed on.
- Use MTX_DEF in mtx_init() instead of assuming that it will be 0.
2001-01-26 03:18:17 +00:00
deischen
56363d25db
Comment only change; s/_thread_sys_/__sys_/
2001-01-26 02:41:07 +00:00
deischen
d683e4c4af
Comment change only; s/_thread_sys_/__sys_/
2001-01-26 02:27:06 +00:00
brian
bf5cc85e8b
Fix arg count
2001-01-26 01:48:16 +00:00
brian
2d3be64975
If executing the stuff from ppp.linkdown results in a state change,
...
don't continue adjusting the ipcp state machine.
This allows ``down'' to work in ppp.linkdown - useful for a tunnel
setup.
2001-01-26 01:43:38 +00:00
brian
63b65f9457
Allow ``set server closed'' to close the diagnostic socket.
...
Allow ``set server open'' to re-open the diagnostic socket.
Handle SIGUSR1 by re-opening the diagnostic socket
When receiving SIGUSR2 (and in ``set server none''), don't forget the
socket details so that ``set server open'' and SIGUSR1 open it again.
Don't create the diagnostic socket as uid 0 ! It's far to dangerous.
2001-01-26 01:41:34 +00:00
cokane
a4be54702c
D'oh! Forgot to link to /dev/voodoo.
2001-01-26 01:13:29 +00:00