dyoung
482c583bd7
Move #endif to the place where it belongs. Thanks, Chavdar Ivanov,
...
for noticing this.
2008-01-04 22:10:34 +00:00
joerg
e36a3212f8
Catch up with rename of buf's b_un.b_addr -> b_data.
2008-01-04 22:04:59 +00:00
ad
225df3f88d
Don't pull in unrelated gunk.
2008-01-04 22:03:25 +00:00
joerg
547d94f35c
Add missing sys/device.h.
2008-01-04 21:58:51 +00:00
ad
e6ab480d6d
Header cleanup.
2008-01-04 21:58:03 +00:00
joerg
84487ad85b
Needs sys/simplelock.h.
2008-01-04 21:56:36 +00:00
ad
8a9b6ca32a
Need sys/lock.h for kernel_lock.
2008-01-04 21:54:49 +00:00
ad
0269f24d50
Don't pull in unrelated headers.
2008-01-04 21:54:05 +00:00
ad
0becf21618
Include sys/device explicitly.
2008-01-04 21:53:51 +00:00
ad
910c8a56ab
Use new style memory barriers.
2008-01-04 21:53:00 +00:00
ad
070e98eb7b
Pull in sys/atomic.h for memory barriers.
2008-01-04 21:52:48 +00:00
ad
f142225fa0
B_BAD has done nothing for a long time.
2008-01-04 21:48:05 +00:00
ad
edcd8e4c68
More header file cleanup.
2008-01-04 21:47:16 +00:00
joerg
a547a2785a
Use time_second instead of time.tv_sec.
2008-01-04 21:43:58 +00:00
xtraeme
0f546319ca
sys/simplelock.h is required now.
2008-01-04 21:33:17 +00:00
xtraeme
9bb6b94d89
sys/lock.h is required now. ok ad
2008-01-04 21:31:06 +00:00
xtraeme
e9b20f72c4
sys/simplelock.h is required now.
2008-01-04 21:24:22 +00:00
ad
0664a0459b
Start detangling lock.h from intr.h. This is likely to cause short term
...
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.
2008-01-04 21:17:40 +00:00
ad
46a018d0e2
More linker stuff
2008-01-04 21:06:37 +00:00
xtraeme
29f483410f
machine/cpufunc.h is required now.
2008-01-04 20:42:25 +00:00
christos
5fa6e7c2d4
add missing includes
2008-01-04 20:38:01 +00:00
uwe
d02168ab21
There's no need to pull in machine/intr.h here.
2008-01-04 20:10:12 +00:00
dsl
e3c05d1c5d
Allow the boot code to use the disklabel 'faked up' from the mbr.
...
Should allow bootxx_fat16 (and bootxx_msdos etc) to boot from drives that
don't contain a netbsd disklabel.
2008-01-04 20:05:46 +00:00
joerg
7a170eb0b2
Add missing mutex for cv_timedwait.
2008-01-04 19:45:54 +00:00
ad
c86e36f12b
Don't pull in sys/simplelock.h, it's not needed.
2008-01-04 18:40:04 +00:00
ad
48160965f3
sys/lock.h isn't needed here.
2008-01-04 18:38:31 +00:00
jmmv
91374a77e7
Fix headers: add NetBSD CVS id tag and drop ATF title.
2008-01-04 18:37:15 +00:00
ad
b31bcb4d13
don't need sys/lock.h
2008-01-04 18:25:42 +00:00
reed
1c05fbcafd
Tell what happens if reaches max spawn rate.
...
(I added this because I forgot it was ten minutes
as defined by RETRYTIME in inetd.c.)
2008-01-04 18:21:35 +00:00
ad
f479e1b23b
- Always include kprintf_slock.
...
- sys/lock.h -> sys/simplelock.h
2008-01-04 18:21:06 +00:00
ad
35dd6c193a
sys/lock.h -> sys/simplelock.h
2008-01-04 18:18:31 +00:00
xtraeme
1332a3c58b
Typo: muliprocessor -> multiprocessor
2008-01-04 18:13:37 +00:00
uwe
bf6001ba0f
G/c bogus includes that do nothing but add circular dependency between
...
intr.h and mutex.h
2008-01-04 18:03:01 +00:00
ad
c0da486b16
Linker stuff for powerpc.
2008-01-04 18:00:16 +00:00
kent
e93ecba847
shorten mixer-input names by mixer-name automatic generation
...
PR/37273
2008-01-04 17:00:05 +00:00
yamt
1c6ebd43e5
fix a bug in the previous. (per-cpu tss change)
...
keep iopl in pcb so that it won't lost.
2008-01-04 16:38:46 +00:00
ad
b8e6bdeab5
Linker bits for sparc64.
...
XXX Does not handle 32-bit kernels.
2008-01-04 16:34:41 +00:00
ad
694c00b8fe
Linker bits for arm.
2008-01-04 16:23:39 +00:00
ad
914b753523
Linker bits for alpha.
2008-01-04 16:19:25 +00:00
yamt
0c9bd4f953
sprinkle sleep(1) to catch more bugs.
2008-01-04 16:18:52 +00:00
ad
6f7f8905b7
Adjust ci_idepth for cpu_intr_p().
2008-01-04 16:09:54 +00:00
yamt
35d91ae479
i386:
...
- make tss per-cpu. this considerably speeds up context switch for,
at least, pentium4, where ltr instruction seems very slow.
i386, xen:
- kill cpu_maxproc.
kvm86:
- adapt to per-cpu tss.
- cleanup and simplify.
- move kvm86_mp_lock to more meaningful place.
- disable preemption during a call.
2008-01-04 15:55:28 +00:00
yamt
b860f867c0
use device_xname.
2008-01-04 15:44:58 +00:00
yamt
768cff817f
iopl.
2008-01-04 15:39:25 +00:00
yamt
ca99721f8d
test i386_iopl.
2008-01-04 15:37:11 +00:00
pooka
933a1a1af1
Politely refuse to mount a file system which says its FAT size is
...
zero - our implementation can't handle it (how sensible handling
a case like that would be is a whole other debate).
fixes panic reported by Jukka Salmi on current-users
2008-01-04 14:58:16 +00:00
ad
0e3fd5532f
Record LKM entry point in the ELF file header.
2008-01-04 14:54:29 +00:00
ad
4c5e4edd5c
Add a kobj_stat() to get basic info about the object, and some other
...
minor changes.
2008-01-04 14:53:32 +00:00
ad
75209c4d35
Fix it.
2008-01-04 14:51:17 +00:00
yamt
599bbacd07
test i386_get_ioperm/i386_set_ioperm.
2008-01-04 14:23:00 +00:00