Commit Graph

156783 Commits

Author SHA1 Message Date
ad de2138164c Remove the PTHREAD_SA option. If M:N threads is reimplemented it's
better off done with a seperate library.
2007-03-02 18:53:51 +00:00
ad dba14ef0a0 Don't grab the state lock to check for cancellation around condition
variables, as _lwp_wakeup/lwp_park provide the necessary barrier.
2007-03-02 17:47:40 +00:00
yamt 948e7684e3 make this compilable.
(p_flag -> p_sflag, P_WEXIT -> PS_WEXIT)
2007-03-02 17:42:00 +00:00
ad dc39f9ec83 pthread_detach: acquire the join lock before changing pt_flags. 2007-03-02 17:40:55 +00:00
ad 1bcb6087a6 On x86, issue the pause instruction while spinning. 2007-03-02 17:34:21 +00:00
ad 398cd7c7b3 Define pcb_esp0. 2007-03-02 17:29:13 +00:00
ad a97bdd1a7a Shuffle the descriptor slots slightly to make the layout match what
sysenter/sysexit require. As far as I can tell this will not introduce
any incompatibility.
2007-03-02 17:27:26 +00:00
ad e0323fbcf2 pmap_reference, pmap_destroy: update the pmap reference count using
_lock_cas. This is ugly and needs to be redone when atomic ops are
available, but for now it knocks about 5% contention off the kernel
lock in one test that I have done.
2007-03-02 17:10:58 +00:00
ad 4cbc498383 sys__lwp_park: explicitly drop the kernel lock, for the benefit of compat32.
XXX The stack gap stuff is not MP or MT safe and needs to go away.
2007-03-02 16:14:37 +00:00
ad 8a9f592723 sys__lwp_park: on a !MULTIPROCESSOR kernel the LWP is already locked. 2007-03-02 16:09:53 +00:00
skd 48b7dcdc13 Fix probable typo.
LW_UNPARKED conflicted with LW_PENDSIG.

Without this I see lots of threaded apps getting stuck in parked state.
Ok'ed by Christos.
2007-03-02 15:57:06 +00:00
nakayama b0cfe41e9b PR lib/34210: Avoid bus error (unaligned 64-bit access) on sparc64. 2007-03-02 13:18:55 +00:00
itohy cdbe0f0296 kern_mutex.c:190: macro `MUTEX_RECEIVE' used without args
kern_mutex.c:199: macro `MUTEX_RECEIVE' used without args
kern_mutex.c:206: macro `MUTEX_GIVE' used without args
2007-03-02 13:14:12 +00:00
yamt 6d6b100a95 kmem_backend_alloc: fix a null dereference. 2007-03-02 12:30:53 +00:00
wiz f7ff49213d Fix typo in previous. 2007-03-02 11:40:10 +00:00
wiz 81d584fa35 Link to the pkgsrc guide and pkgsrc(7). Bump date. 2007-03-02 11:39:40 +00:00
wiz 44e16b19dd Link to the pkgsrc guide for description of pkgsrc-specific variables.
Bump date.
2007-03-02 11:38:24 +00:00
wiz 0021a7283b Links to pkgsrc(7) instead of packages(7). Bump date. 2007-03-02 11:36:38 +00:00
wiz bbd4f8dd1a Add simple pkgsrc(7) man page linking to pkg_add, pkg_delete, pkg_info
and the pkgsrc guide. Requested by Alan Barrett.
2007-03-02 11:28:16 +00:00
wiz 1118359d03 packages(7) has (finally!) completely been integrated in the pkgsrc guide,
remove it.
2007-03-02 09:45:32 +00:00
jnemeth 3d61218161 add support for drvctl properties 2007-03-02 09:17:00 +00:00
wiz a03b3ed095 Undocument internal MTREE_FILE variable. 2007-03-02 09:09:14 +00:00
wiz 0046ef5309 Undocument unsupported FORCE_PKG_REGISTER. 2007-03-02 08:50:11 +00:00
pooka cfb3e24368 describe: show all callout, show arptab, show lock, show malloc 2007-03-02 07:50:09 +00:00
jnemeth d34b8a7014 merge remaining differences from sparc driver in 2007-03-02 07:17:19 +00:00
riz c40218ad62 Add man4/prep, cat4/prep, html4/prep directories, and a couple of
missed cat4/prep manpages.
2007-03-02 06:38:40 +00:00
wiz 1600eebe4b Undocument removed NO_DEPENDS. 2007-03-02 05:58:55 +00:00
wiz 5dbf36a386 Undocument obsolete NO_PKG_REGISTER. Bump date. 2007-03-02 05:55:13 +00:00
riz d8a62520d7 Use CPPFLAGS, not COPTS, and ${NETBSDSRCDIR}, not "../..". This
should fix OBJDIR builds. (Hi, martin!)
2007-03-02 04:03:17 +00:00
martin 9f138b51a8 Add dkscan_bsdlabel 2007-03-01 23:55:43 +00:00
jmcneill 7f8a6c2923 Regen. 2007-03-01 22:15:08 +00:00
jmcneill b792a5796f Add Conexant CX2388X Audio/Video Decoder 2007-03-01 22:14:48 +00:00
martin c6eb40af11 Add a tool to scan disks for BSD disklabels (might be from different
archs) and add wedges for them. Similar to the kernel options
DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_BSDLABEL, and actually reusing
most of that code.

This means, for example, you can plug a sparc64 disk into an i386, run
this tool and mount the partitions (provided your kernel has the FFS_EI
option).
2007-03-01 22:01:29 +00:00
plunky d7e75bcc12 rework the -c and -s options to make them a bit more consistent.
when EOF is reached, we are done.
2007-03-01 21:44:30 +00:00
christos bd6c2075f1 Fix bug with multiple pending el_pushes. Reported by Julien Torres. 2007-03-01 21:41:45 +00:00
martin 2fdb6bb1bd Make this compilable from userland 2007-03-01 21:38:17 +00:00
martin dd8b45ebc6 Split the disklabel checksum function into two, so we can pass the
length separately.
Use this for foreign-endianess labels in wedge autodiscovery, and
calculate the checksum of those before we swap various fields in the
label.
2007-03-01 21:30:50 +00:00
plunky 03d2abf209 remove duplicate line 2007-03-01 21:27:38 +00:00
apb f21f1a9ef9 If we are called as 'sh MAKEDEV ...', then we would previously have
tried to do '. MAKEDEV.subr'.  That doesn't work, we need to do
'. ./MAKEDEV.subr' in that case.
2007-03-01 20:48:26 +00:00
wiz abaa11daf6 Sort sections. 2007-03-01 19:35:47 +00:00
garbled 1d2057e71c update mtree for man4.prep 2007-03-01 18:47:49 +00:00
garbled c5c77432ea Add man4.prep manpages 2007-03-01 18:43:47 +00:00
garbled 984afafeeb Add man4.prep subdir 2007-03-01 18:42:11 +00:00
garbled 1e9398fa6d First crack at an intro and nvram manpage for prep 2007-03-01 18:41:15 +00:00
wiz 662a6ce301 Remove SCRIPTDIR description, update SCRIPTS_ENV description. Bump date. 2007-03-01 18:38:34 +00:00
apb c3bbc70fa0 When calculating the size of the MFS /dev file system, round file sizes
up to a multiple of 512.  (Not doing this before was wrong but probably
asymptomatic, because there was enough slack space to cope with the
error).
2007-03-01 18:25:58 +00:00
thorpej ebd626809e TRUE -> true, FALSE -> false 2007-03-01 17:31:35 +00:00
garbled 793e6a8c0a Add eeprom to prep setlists 2007-03-01 16:51:35 +00:00
garbled 9cc2c6c46c Add support for the prep nvram device to eeprom. 2007-03-01 16:49:48 +00:00
yamt 436fe5c469 move ad-audiomp to a correct place. 2007-03-01 15:15:27 +00:00