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
ad
1dd75d2865
Add a simple in-kernel linker, derived from FreeBSD's link_elf_obj.c. Needs
...
more work but is enough to load simple LKMs. amd64 is untested.
Locking is caller provided. This is decoupled from the LKM framework because
kernel modules need not be loaded from the file system - they could be built
into the kernel and referenced via link set.
2008-01-04 12:26:20 +00:00
kent
16504b27b0
simplify conversion rule between device volume values and userland
...
volume values. Some mixer values never be 255 by this change.
PR#37274
2008-01-04 12:18:00 +00:00
ad
c0cd2b871b
Ignore symbols marked undefined.
2008-01-04 11:28:13 +00:00
smb
0cb6d977ab
Add calls to pmf_deregister on detach.
2008-01-04 03:56:47 +00:00
martin
f0fe5d20cf
lk_interlock is a kmutex_t now
2008-01-04 01:11:30 +00:00
simonb
0bab12ba30
Make this compile with DEBUG enabled (fix a printf format, convert to
...
timecounters).
2008-01-04 01:00:43 +00:00
pooka
9b30791f86
Print "panic: " before panicstr when panicking.
2008-01-04 00:38:24 +00:00
joerg
e6f452fd65
Allow saving of up to 4 PCI registers in the IDE code.
2008-01-04 00:27:27 +00:00
dyoung
17b65ff15d
Disable pci_disable_retry() and cardbus_disable_retry(), with a
...
long comment on pci_disable_retry() (cross-referenced at
cardbus_disable_retry()) that explains why.
2008-01-03 23:15:43 +00:00
joerg
28b31e738f
Timecounter and generic todr support for pmax. From Garret D'Amore.
2008-01-03 23:02:24 +00:00
joerg
26ecc8b33a
Add missing include of dev/clock_subr.h.
2008-01-03 22:35:27 +00:00
dsl
6a6b0fc96a
When we extend the buffer used to read makefiles (in order to read lines
...
longer than 32k) remember the new length so we DTRT for lines longer than 64k.
Should fix PR/37684
2008-01-03 22:14:53 +00:00
jdc
829d5d12dc
Print the "banner-name" property (up to the first '(' character), if
...
it is present, as well as the "name" property.
2008-01-03 21:34:58 +00:00