Commit Graph

165569 Commits

Author SHA1 Message Date
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
he
46a379e692 Declare sysbeepdetach(), and protect a small additional section
with #if (NPCPPI > 0).
2008-01-03 21:30:16 +00:00
xtraeme
98d660f7bb Fix indentation. 2008-01-03 21:28:11 +00:00
xtraeme
81e1cc644e Change two entries to the kernel category, so that they appear
correctly in WWW.
2008-01-03 21:24:23 +00:00
joerg
02af50dd40 Add assym.h dependency. 2008-01-03 21:17:44 +00:00
xtraeme
453083d9f3 Typo 2008-01-03 21:16:53 +00:00
joerg
c087080661 Missing assym.h dependency. 2008-01-03 20:58:06 +00:00
jdc
5a990b469d Add a note about marking entries as "obsolete", instead of deleting them. 2008-01-03 20:47:55 +00:00
joerg
a8affe0a2c Missing assym.h dependency. 2008-01-03 20:02:22 +00:00
ad
5f56d09078 Bump NKL2_KIMG_ENTRIES to allow for 20MB of kernel.
Well past time for an in-kernel linker...
2008-01-03 19:30:10 +00:00
ad
e01dd1a1f8 Use pool_cache. 2008-01-03 19:28:48 +00:00
tron
4ee524a917 Fix perfomance problems for old revisions of the Symbios 53c1030.
Patch supplied by Patrick Welche in PR kern/30531.
2008-01-03 18:16:20 +00:00
pooka
89943d2ace fix vmlocking2 fallout: fstrans_mount/unmount 2008-01-03 18:09:35 +00:00
kent
f8415b4922 code cleanup
- use __arraycount
- remove unnecessary M_ZERO flags
2008-01-03 18:00:43 +00:00
elad
86f224903e Replace malloc/free usage with kmem_alloc/kmem_zalloc/kmem_free.
okay yamt@.
2008-01-03 17:51:05 +00:00
kent
c89324c85e - add initialization for ATI HDMI audio
- add custom mixer table for AD1986A by scw@
PR: kern/36140
2008-01-03 17:39:03 +00:00
he
75fc209bcf Fix a cv_timedwait() usage after the vmlocking2 merge, and remove
a now-no-longer-used local variable.
2008-01-03 16:06:24 +00:00
yamt
1f7bd3c331 note about 0 and NULL. 2008-01-03 15:59:57 +00:00
yamt
2d6f41e754 usage: be a little more understandable. 2008-01-03 15:01:07 +00:00
yamt
5661ec0901 - malloc -> kmem_alloc
- kill M_EXEC.
2008-01-03 14:36:57 +00:00
yamt
6184f2ada8 malloc -> kmem_alloc 2008-01-03 14:29:31 +00:00
yamt
97436a1e88 fix malloc type mismatches. 2008-01-03 14:25:49 +00:00
yamt
40f32b06ab use the SIZEOF_PTR environment variable if set. 2008-01-03 14:21:53 +00:00
martin
9585e85c4d Remove the test db file when done testing. 2008-01-03 13:52:46 +00:00
ad
202aa39736 - Remove simple_lock calls.
- Use mutex_enter/exit where needed.
2008-01-03 13:18:55 +00:00
mrg
4da27ffeee Support intallation and RAID bootable root. 2008-01-03 08:08:30 +00:00
kiyohara
bd1410f189 Remove white-space. 2008-01-03 07:21:21 +00:00
mrg
9c1261344f support FS_RAID partitions, and increase the offset by
RF_PROTECTED_SECTORS (64) if so.
2008-01-03 06:40:02 +00:00
dyoung
8d9f58ea97 Support detachment of geodegcb(4) and its children, geodecntr(4)
and geodewdog(4).  Support detachment of gscpcib0 and its child,
gpio0.
2008-01-03 04:52:54 +00:00
dyoung
69d7a3e831 Support detachment of pchb(4) and sysbeep(4). 2008-01-03 04:50:19 +00:00