thorpej
c55795d055
Change fdalloc() to return ERESTART if we had to reallocate the
...
descriptor array, which may have blocked. Change callers of
fdalloc() to restart whatever they\'re doing if this condition
happens. (XXX unp_externalize() needs some work, but that will
be tackled later.)
Change finishdup() to close the descriptor in the `new\' slot if
one exists, and change sys_dup2() accordingly.
Closes a race condition when using kernel-assisted user threads.
While here, garbage-collect UF_MAPPED -- it is not used anywhere.
2001-06-06 17:00:00 +00:00
thorpej
f149c43285
Regen; don't define our own (incorrect!) dup(2); just use the NetBSD version.
2001-06-06 16:18:10 +00:00
thorpej
ea5fdab7bb
Don't define our own (incorrect!) dup(2); just use the NetBSD version.
2001-06-06 16:17:40 +00:00
uwe
92359cee67
Bump splserial to 13 to support com port on Tadpole and JavaStations.
...
While I'm here - remove redefinition of PIL_TTY, move splnet
definition to keep the list sorted and sync its comment with reality.
2001-06-06 13:45:18 +00:00
chs
ec218acedd
make this compile without MULTIPROCESSOR.
2001-06-06 06:29:36 +00:00
chs
8688ff47c8
make this compile without DEBUG.
2001-06-06 06:23:13 +00:00
mrg
6a536c0364
fix a IPNOPRIVPORTS unused variable botch. noted by proff.
2001-06-06 06:07:06 +00:00
thorpej
f1c14428bb
Do the reentrancy checking if POOL_DIAGNOSTIC, not DIAGNOSTIC. Prevents
...
ABI change for diagnostic vs. non-diagnostic kernels.
2001-06-05 18:51:03 +00:00
uch
03e1c3aa16
implement HPCFB_SWAP_BYTE.
2001-06-05 17:29:12 +00:00
uch
2f94a06e98
HD64461 frame buffer is big-endian. set HPCFB_SWAP_BYTE.
2001-06-05 17:24:48 +00:00
uch
b596bfa2d0
add vc_reverse flag to struct video_chip.
2001-06-05 15:02:40 +00:00
uch
a4221d6b08
change behavior of cmap_work_alloc().
2001-06-05 15:02:12 +00:00
mrg
390ea77cb0
build svr4_32_elf exec module.
2001-06-05 14:49:00 +00:00
mrg
ba3f355900
svr4_32_elf
2001-06-05 14:48:59 +00:00
mrg
5d3a461f45
use _KERNEL_OPT
2001-06-05 14:43:04 +00:00
mrg
e598a3319c
this is sunos32 not sunos
2001-06-05 12:44:23 +00:00
tsutsui
15f8692183
Make some functions __inline.
2001-06-05 12:42:44 +00:00
mrg
b49770c009
add a DEBUG for why the lkm entry point failed.
2001-06-05 12:36:08 +00:00
ragge
32874c14c8
Detect MicroVAX 3100/m80 correctly. From Michael Kukat.
2001-06-05 11:25:11 +00:00
bjh21
95fe4db7e3
Replace arm/arm32/db_trace.c and arm26/arm26/db_trace.c with a unified version
...
in arm/arm. This version is based on the arm26 version, and includes dumping
the contents of stack frames, with automatic determination of the save code
pointer offset.
2001-06-05 09:25:05 +00:00
mrg
804019f100
only include "fs_lfs.h" if _KERNEL_OPT.
2001-06-05 09:19:33 +00:00
bjh21
261bd8f8ac
Add get_pc_str_offset(), which returns the offset between the address of an
...
instruction that stores the program counter and the value of PC that's stored.
This can vary between ARM implementations, but is guaranteed to be constant on
a given one.
2001-06-05 09:19:32 +00:00
thorpej
eadf88cc61
(locally defined) HZ -> hz
2001-06-05 05:20:20 +00:00
thorpej
5523a584c5
HZ -> hz
2001-06-05 05:12:18 +00:00
thorpej
ec291b503a
Allow the text address to be set with makeoptions.
2001-06-05 05:05:46 +00:00
thorpej
95eaadac34
Use symbolic names for the CTB terminal type field, rather than
...
hard-coded constants.
2001-06-05 04:53:11 +00:00
thorpej
e93d1531c2
Avoid a sleeping malloc call while holding the spechash_slock.
...
XXX This is kinda gross, but prevents complete lossage on an
XXX MP system.
From Bill Sommerfeld.
2001-06-05 04:42:05 +00:00
thorpej
47c29f3cbe
Assert that no locks are held if we're called with PR_WAITOK.
...
From Bill Sommerfeld.
2001-06-05 04:40:39 +00:00
thorpej
2fbef8e269
Assert that no locks are held if we're called with EX_WAITSPACE.
...
From Bill Sommerfeld.
2001-06-05 04:39:56 +00:00
thorpej
67a875a8c9
Assert that no locks are held if we're called with M_WAITOK.
2001-06-05 04:39:02 +00:00
thorpej
31769952ca
Add a simple_lock_only_held() LOCKDEBUG routine, which allows code
...
to assert that exactly zero or one (and a specific one) locks are
held.
From Bill Sommerfeld.
2001-06-05 04:38:08 +00:00
thorpej
8ee014b439
Handle the DL10022 case.
2001-06-05 02:31:16 +00:00
thorpej
c619444a71
Use the DL10019 media routines on the DL10019 and DL10022 (a change
...
I forgot to commit long ago).
2001-06-05 02:27:02 +00:00
itojun
034ca147cb
if_up() requires splsoftnet. sync with kame
2001-06-04 23:53:13 +00:00
mrg
c59b99f5c8
use _KERNEL_OPT, catch up with constification in compat/svr4.
2001-06-04 22:00:10 +00:00
mrg
8a49f07b1b
avoid assigning to policy_id twice. fixes more gcc 3.0 prerelease errors.
2001-06-04 21:38:28 +00:00
ragge
f81f19e7b3
Add rudimentary multiprocessor support for DDB.
2001-06-04 21:37:11 +00:00
ragge
cae5d5a796
Lock the kernel lock at interrupt enter.
2001-06-04 21:31:28 +00:00
mrg
46762d3560
fix lint exposed by GCC 3.0 20010604 (prerelease).
2001-06-04 20:56:51 +00:00
nathanw
4b2dbe7a1a
Note that negative system call numbers no longer appear negative in
...
ktrace output, due to range-bounding by binary masking.
2001-06-04 20:06:41 +00:00
uch
859a6a49b2
ANSI KNF.
2001-06-04 18:59:31 +00:00
uch
842b6023c3
HD64461 video module.
2001-06-04 17:08:36 +00:00
ragge
93ece82137
Check for console printf's in spinlocks, per discussion on tech-smp.
2001-06-04 15:37:05 +00:00
ragge
30e020fbaa
The beginning of pmap locks. While here, some cleaning and KNF.
2001-06-04 15:36:00 +00:00
ragge
81d993ac3b
Add splipi().
2001-06-04 15:34:57 +00:00
ragge
da2e5c43e1
Add IPI_TBIA to flush the translation buffer.
2001-06-04 15:34:15 +00:00
ragge
d35f5e00dc
Move some locks closer to the important point.
2001-06-04 15:33:07 +00:00
jdolecek
07677cc805
Use back the 'u'&037 form - since it's CTRL-u, it's more readable that way
...
Use \007 instead of symbolic constant, since that's what is more often used.
Pointed out by Robert Elz.
2001-06-04 09:45:03 +00:00
itojun
80e7db0fcd
simplify previous change (mbuf length adjustment for rtsock response).
2001-06-04 08:57:58 +00:00
manu
ae80f433ec
Fixes by Chuck Silvers to make ptrace PEEKTEXT more 64 bit friendy
2001-06-04 07:44:39 +00:00