hans
7c2871cb2a
fix build for 11/780-only kernel configs. OK by matt.
2008-11-19 22:54:16 +00:00
cegger
20a167ec1c
make this compile
2008-11-19 22:27:19 +00:00
cegger
3076d30653
make this compile for alpha
2008-11-19 22:02:21 +00:00
cegger
dd47eeac45
make this compile
2008-11-19 21:29:32 +00:00
ad
c4d65a7c5e
Additionally, set emul_netbsd_object=NULL after detaching it.
2008-11-19 21:29:25 +00:00
ad
5473327d60
compat_modcmd: emul_netbsd_object will be NULL if no exec has taken place
...
between load and unload of the compat module.
2008-11-19 21:27:54 +00:00
hans
dae9680b33
fix build for kernel configs lacking KA46, KA48, KA49 and KA53 support.
...
OK by mhitch.
2008-11-19 20:26:40 +00:00
ad
e157b99c7c
Regen.
2008-11-19 18:39:43 +00:00
bouyer
fec31ce43e
Check that vnd is not NULL before using it, return ENXIO if it is.
...
Avoids a panic when vnconfig -uF is used on a busy vnd.
2008-11-19 18:38:36 +00:00
ad
df7a9dd3a8
5.99.3:
...
exec_add/exec_remove made useful.
vfs_hooks changed. I have added a bunch of empty entrypoints so this can
be extended again without bumping the kernel version.
2008-11-19 18:36:58 +00:00
ad
92ce8c6a3d
Make the emulations, exec formats, coredump, NFS, and the NFS server
...
into modules. By and large this commit:
- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
2008-11-19 18:35:57 +00:00
hans
7a092e0d4e
uba device registers should be volatile. OK by ragge.
2008-11-19 15:39:10 +00:00
pooka
e10fef6cd2
Split vfs out of rumpkern into rumpvfs. Non-fs rumps no longer
...
include the file system code. File system rumps explicitly need
to include rumpvfs from now on.
2008-11-19 14:10:48 +00:00
tsutsui
c5f4f0e1da
Fix errors which were hidden in #ifdef COMPAT_09:
...
- fix a typo in rev 1.43 (ep_setup_stack -> es_setup_stack)
- fix an arg missed on ktrace-lwp merge in rev 1.47
XXX Is it really worth to have COMPAT_09 code on mips?
XXX No mips port in 0.9 and quite few a.out MIPS binaries..
2008-11-19 13:55:00 +00:00
pooka
74f93b9804
Bring in vnode.h
...
Why is this file still installed to /usr/include?
2008-11-19 13:34:11 +00:00
ad
3ac4bd5b0e
Fix sloppy device_private conversion by cegger@ that prevented systems
...
with IPMI from booting for the last two weeks.
2008-11-19 13:12:05 +00:00
njoly
2b470c165e
Regen for futex timeout argument cleanup/fix.
2008-11-19 13:11:15 +00:00
njoly
377975c175
futex(2) timeout argument cleanup/fix.
...
- Use `struct linux_timespec', converted to native structure.
- Ensure that provided values are correct.
- Replace timeval+tvtohz by tstohz.
2008-11-19 13:09:19 +00:00
ad
950585e9b4
module_autoload: disallow path seperators and magic symlinks.
2008-11-19 13:07:42 +00:00
ad
5bf641af07
For the x86 boot loader, autoload a kernel module corresponding to the
...
root file system type.
2008-11-19 12:36:41 +00:00
ad
20514c29be
+evcnt_detach
2008-11-19 12:20:40 +00:00
ad
caa33dc264
Unused header.
2008-11-19 11:08:06 +00:00
pooka
12f42819da
include <sys/fstypes.h>
2008-11-19 10:37:27 +00:00
matt
fcf3768443
Use <sys/atomic.h> not <machine/atomic.h>
...
Cleanup some code which is not used in case it is un-ifdef'ed.
2008-11-19 06:41:01 +00:00
matt
373f77bd8f
This is not longer needed since atomic_{set|clear}_bit are now dead.
...
So temporarily this has no contents.
2008-11-19 06:39:17 +00:00
matt
8856d1852f
Don't use atomic_{set,clear}_bit nor any atomic op. These used to wrap
...
atomic_{clear,set}_bit around munging a device register and that is clearly
wrong. Instead directly manipulate the CPSR to disable interrupts.
2008-11-19 06:37:51 +00:00
matt
ca9e0ec672
Don't include <machine/atomic.h> anymore.
2008-11-19 06:35:55 +00:00
matt
0636d20817
Use IF32_bits instead of I32_bit. Only disable/irq is __HAVE_UNNESTED_IRQS
...
is undefined.
2008-11-19 06:34:21 +00:00
matt
50c00f2f34
Conditionalize the KERN_SA bits.
2008-11-19 06:32:58 +00:00
matt
b5d5808a7e
Use IF32_bits instead of I32_bit
2008-11-19 06:32:10 +00:00
matt
4a376098d8
No need to include <machine/atomic.h>
2008-11-19 06:30:49 +00:00
matt
c3660f1d76
Add some KASSERTS and tests for I32_bit to include F32_bit
2008-11-19 06:29:48 +00:00
matt
28a551c932
Use <sys/atomic.h>, not <machine/atomic.h>
2008-11-19 06:28:14 +00:00
matt
4b24ff1776
Don't include <machine/atomic.h> since it's not used.
2008-11-19 06:26:27 +00:00
matt
d990f57db0
Allocate /dev/mem's page in pmap_init. Mark /dev/mem as MPSAFE. Ansify.
2008-11-19 06:24:04 +00:00
matt
0f72c05456
Fix __HAVE_FAST_SOFTINTS (boolean dyslexia strikes again).
...
Add some KASSERTS to make sure assumptions are valid.
2008-11-19 06:22:15 +00:00
joerg
412427525e
Decouple journal operation from replay header by copying the interesting
...
fields into wapbl_replay as opposed to embedding wapbl_wc_header.
2008-11-18 22:21:48 +00:00
ad
0dd26b0a07
Put mremap into the _NETBSD_SOURCE section.
2008-11-18 22:13:49 +00:00
macallan
a223e59eb6
don't leak kmem on LP64
2008-11-18 21:20:32 +00:00
joerg
5658187923
#if 0 wapbl_replay_verify.
2008-11-18 19:31:35 +00:00
joerg
2e2e65b3b8
Check for NULL before calling free as the kernel free doesn't handle it.
2008-11-18 18:54:39 +00:00
cliff
82f0028b4e
fix botched LKM edits
2008-11-18 18:20:10 +00:00
matt
2c14b3c725
Regen.
2008-11-18 16:12:21 +00:00
matt
b0c5679ab1
Make more consistent (change capitalization) etc. Shrinks by 33 tokens
...
and 300 bytes.
2008-11-18 16:12:03 +00:00
njoly
d64736c6b8
noisy printf.
2008-11-18 15:25:13 +00:00
ad
54ef467580
_KERNEL_OPT
2008-11-18 14:29:55 +00:00
joerg
fb6f7962ff
Make uuidgen available for the kernel.
2008-11-18 14:01:03 +00:00
joerg
a3925622e1
Rename wapbl_replay_prescan to wapbl_replay_process.
2008-11-18 13:29:34 +00:00
pooka
7fca80b0ff
note rumpnet
2008-11-18 13:08:34 +00:00
pooka
9e46e516a7
Move fd_closeexec() and fd_checkstd() from kern_descrip to their
...
own file, subr_exec_fd.c (they're used only by exec).
After this change, the kernel source modules are in a partitioned
enough state to allow building a system without vfs at all.
2008-11-18 13:01:41 +00:00