nathanw
9639eeaf54
Adapt to pt_trapuc: change STACK_SWITCH to check for a value in pt_trapuc
...
and use it preferentially to a value in pt_uc, clearing it once on the new
stack. Move stores into pt_uc back to before the stack switch; storing
after the stack switch opened a one-instruction race condition where an upcall
that had just started a chain could be preempted again, and would bomb when
restarted due to its pt_uc not yet having been updated. Now that pt_trapuc
is what the upcall code writes to, it is safe to store to pt_uc before
switching stacks.
Remove obsolete pt_sleepuc code.
2003-06-26 01:45:31 +00:00
nathanw
487eb7e193
Initialize pt_trapuc in pthread__initthread().
2003-06-26 01:30:39 +00:00
nathanw
1414a095ac
Remove PT_SLEEPUC and add PT_TRAPUC.
2003-06-26 01:29:28 +00:00
nathanw
81a27fd0b2
Adapt to pt_trapuc: Store context obtained from upcalls there, clear it
...
in switchto targets and vitims, and print it in debug messages (including
indication of whether a context is trap or user context).
Remove obsolete pt_sleepuc handling.
2003-06-26 01:28:14 +00:00
nathanw
1af6125572
Clear pt_trapuc when idling threads.
2003-06-26 01:26:39 +00:00
nathanw
2534cd2bea
Introduce a new pointer, pt_trapuc, that stores thread context captured
...
by the kernel. Separating this from pt_uc makes it possible to avoid a race
condition in pt_uc management near the STACK_SWITCH part of pthread__switch()
and pthread__locked_switch().
Remove pt_sleepuc pointer, which was made obsolete by the previous round of
UC juggling but still present in the assembler files.
2003-06-26 01:26:11 +00:00
itojun
d1fcb86326
tabify
2003-06-26 00:43:31 +00:00
jschauma
0f675a710b
Regen after adding LaCie Pocket Drive and ACDC Pen Drive.
2003-06-26 00:20:18 +00:00
itojun
ab5963ee1f
check if INADDR_TO_IA gets us valid in_ifaddr or not. hopefully fix PR21964
2003-06-26 00:19:13 +00:00
jschauma
1777ce56e3
Add support for two new devices:
...
- LaCie Pocket Drive (http://www.lacie.com/products/product.htm?id=10023 )
- a Pen Drive (http://www.flash-memory-store.com/51usbflasdri.html )
The latter shows as a uhub with a umass and a ugen. The ugen is the
"Secure Write" device, which presumably allows password protection with the
appropriate (windows only) driver. Works fine without.
Ok by augustss.
2003-06-26 00:18:08 +00:00
nathanw
3ca7487c30
More printf format size tweaks.
2003-06-25 23:26:00 +00:00
nathanw
4a9ac109f0
Complain clearly if SA syscalls aren't avaliable.
2003-06-25 23:23:27 +00:00
hubertf
33ec91dbc6
deleting as non-root works fine, so don't insist on running as root
2003-06-25 23:12:42 +00:00
dbj
68c6633b6a
avoid complex regular expression features not available in older awks
2003-06-25 22:08:30 +00:00
he
16c7a2a0b2
Declare USELEDS option, now that locore.s tries to include opt_useleds.h.
2003-06-25 21:02:19 +00:00
ichiro
f939b6d83c
The problem which stops in the middle of booting was solved.
...
(kern/21843 Brian Stark <bpstark@pacbell.net>)
2003-06-25 20:33:59 +00:00
martin
9276710861
#ifdef _KERNEL_OPT police
2003-06-25 20:30:15 +00:00
christos
88fd58993a
In no-main mode [rpcgen -C -m], don't declare _rpcfoo variables static.
...
Let the main program declare them extern if it wants, otherwise we get
link failures for variables not defined.
2003-06-25 19:31:08 +00:00
tshiozak
9794164a09
- correct my last commit : ./usr/lib/i18n/*.* -> ./usr/lib/i18n/lib*.*
...
- correct obsolete : ./usr/lib/runemodule/*.so.4.* -> ./usr/lib/i18n
2003-06-25 18:58:23 +00:00
cdi
f56e78e36d
Note NetBSD/cobalt bootloader.
2003-06-25 18:35:25 +00:00
cdi
2b74542ac0
Initial commit of a 1-stage boot loader for NetBSD/cobalt. Only booting off
...
the hard drive is supported at the moment.
2003-06-25 17:24:21 +00:00
dsl
9ef6b561d7
Add a -D (debug) option for testing.
...
Ignore inability to remove swap if -D specified.
Select disk before sets (but label after)
Let mac68k sysinst run on i386.
2003-06-25 15:45:21 +00:00
dsl
4652a607d7
French messages - from Adrien Auzanneau
2003-06-25 15:41:16 +00:00
martin
89955ad8b5
#ifdef _KERNEL_OPT police
2003-06-25 14:38:53 +00:00
yamt
45c519f76f
- instead of scaning a list when looking up
...
{a idle thread, a socket with pending requests},
maintain dedicated list of them.
- add spin locks.
2003-06-25 14:37:50 +00:00
yamt
200e944501
revert rev.1.28. (free -> FREE changes)
...
pointed by David Laight on source-changes about similar changes.
2003-06-25 14:34:55 +00:00
christos
a378776e5a
Limit the number of program headers we accept to avoid resource exhaustion
...
by a hand-crafted elf binary.
2003-06-25 13:48:06 +00:00
dsl
630ca1a3e3
Revert previous. 'None' means that the "Utility Syntax Guidlines" apply.
2003-06-25 12:56:59 +00:00
tshiozak
d710132b4b
Citrus iconv support(2)
...
add new plugin modules and bump minor (because of some new I/Fs).
2003-06-25 10:38:01 +00:00
dsl
0ac8c637fd
Remove getopt() loop, IEEE 1003.1 doesn't say that printf(1) should conform
...
to the "Utility Syntax Guidlines".
Fixes PR 21970.
2003-06-25 09:54:15 +00:00
tshiozak
04e58308a3
Citrus iconv support (1)
...
add core engine of Citrus iconv and some support routines.
- iconv core (citrus_iconv)
- coded character set mapper (csmapper)
- encoding scheme database (esdb)
- standard encoding scheme handler (stdenc)
- basic character set manipulation utilities (bcs)
- mmap based infrastructure (citrus_lookup/_mmap/_memstream/_db)
- some source codes of new plugins (not built yet)
2003-06-25 09:51:26 +00:00
heas
d40cbfcc0b
Fix description of defflag, defparam (and defopt) when a filename is omitted.
2003-06-25 07:08:26 +00:00
heas
3ff52bc3f5
Correct comment string "mkoptions" -> "makeoptions"
2003-06-25 07:02:04 +00:00
heas
626ce79cef
When removing a nvlist entry (describing an option, makeoption, etc) in
...
undo_config, if that entry is the tail of the LL, also update the appropriate
tail point (nextopt, etc).
2003-06-25 06:42:40 +00:00
simonb
8eda62491d
Need to pass the address of the lock to simple_unlock().
2003-06-25 05:37:00 +00:00
thorpej
7401047528
Add a way to force (at compile time) use of int13 extensions.
2003-06-25 04:21:51 +00:00
itojun
daf8a4ad8e
"addrs" is not needed any more
2003-06-25 03:45:02 +00:00
uwe
a8c0780b08
Use CPUFLAGS instead of COPTS to pass -march=armv4 -mtune=strongarm.
2003-06-25 01:07:55 +00:00
dyoung
eb4a83a039
Bracket the opt_multiprocessor.h #include with #ifdef _KERNEL_OPT.
...
It won't compile, otherwise. I figure this is right because it's
done everywhere else.
2003-06-25 00:03:13 +00:00
martin
c591ec88c0
FPU_EMULATE moved to arch/m68k/conf/files.m68k
2003-06-24 19:56:22 +00:00
martin
a394980af5
Move (and unify) PMAP_DEBUG and FPU_EMULATE here - it is tested in
...
shared files.
2003-06-24 19:55:22 +00:00
nathanw
39f9ecfa06
Oops, reordering the PT_STATE/PT_SWITCHTOUC/PT_SWITCHTO assembly
...
killed a live value too soon. Fix by using a different register for
the PT_STATE immediate.
2003-06-24 18:54:56 +00:00
bjh21
0de24d10b1
Light KNF and comment tidying.
2003-06-24 18:45:08 +00:00
christos
d1a05abed1
Revert previous change, and fix the -T problem differently: When the options
...
of the second argument are exhausted, call the appropriate getopt() routine
to process the rest of the arguments instead of finishing option processing.
Fixes:
tar cf - -T foo
2003-06-24 16:23:31 +00:00
igy
1625aa9110
remove LIBSA_SINGLE_DEVICE and LIBSA_SINGLE_FILESYSTEM
2003-06-24 12:27:03 +00:00
mjl
91085f010d
Add sys/sockio.h to needed includes for SIOCGIFASYNCMAP.
2003-06-24 11:27:50 +00:00
tron
085b2ab641
Fix "clean" rule to honor "CLEANFILES" variable.
2003-06-24 09:49:07 +00:00
martin
86af37d360
Make child processes log failure to exec scripts.
2003-06-24 09:41:34 +00:00
tron
64e5c9eb7c
Remove "lib" directory in "cleandir" target.
2003-06-24 09:38:35 +00:00
martin
78e800a41c
Ifwatchd now uses syslog, so require syslogd.
2003-06-24 09:32:46 +00:00