NetBSD/sys/kern
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
..
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c
bufq_readprio.c Merge from vmlocking: cosmetic change. 2007-10-08 17:02:51 +00:00
cnmagic.c
core_elf32.c
core_elf64.c
core_netbsd.c
exec_aout.c
exec_conf.c Remove COMPAT_HPUX. 2007-12-31 13:38:47 +00:00
exec_ecoff.c
exec_elf32.c malloc -> kmem_alloc 2008-01-03 14:29:31 +00:00
exec_elf64.c
exec_macho.c fix malloc type mismatches. 2008-01-03 14:25:49 +00:00
exec_script.c use kmem_alloc instead of malloc. 2008-01-02 19:44:36 +00:00
exec_subr.c malloc -> kmem_alloc 2008-01-03 14:29:31 +00:00
genlintstub.awk
init_main.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
init_sysctl.c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
init_sysent.c Regen. 2008-01-02 11:57:29 +00:00
kern_acct.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
kern_auth.c Fix minor error in previous. 2007-11-29 19:50:28 +00:00
kern_cctr.c fix typo in comment 2007-11-08 20:10:26 +00:00
kern_clock.c provide binuptime etc for !__HAVE_TIMECOUNTER. 2007-12-22 00:34:37 +00:00
kern_condvar.c Merge scheduler changes from the vmlocking branch. All discussed on 2007-11-06 00:42:39 +00:00
kern_core.c Remove cn_lwp from struct componentname. curlwp should be used 2007-12-08 19:29:36 +00:00
kern_cpu.c add a function to lookup cpu_info by cpu index. 2007-12-22 03:26:34 +00:00
kern_descrip.c Merge more changes from vmlocking2, mainly: 2007-12-26 16:01:34 +00:00
kern_drvctl.c
kern_event.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
kern_exec.c - malloc -> kmem_alloc 2008-01-03 14:36:57 +00:00
kern_exit.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
kern_fileassoc.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
kern_fork.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
kern_idle.c use binuptime for l_stime/l_rtime. 2007-12-22 01:14:53 +00:00
kern_ksyms.c Ignore symbols marked undefined. 2008-01-04 11:28:13 +00:00
kern_kthread.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
kern_ktrace.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
kern_lkm.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
kern_lock.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
kern_lwp.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
kern_malloc_debug.c Change some initialization of static queues to compile time. 2007-11-11 23:22:23 +00:00
kern_malloc.c malloc: fix freelist corruption. 2008-01-03 01:21:08 +00:00
kern_mutex.c Add back mutex_owner() for Solaris compat. 2007-12-24 14:57:56 +00:00
kern_ntptime.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
kern_pax.c Provide 8 more bits of stack randomization, from the PaX author. 2007-12-28 17:14:50 +00:00
kern_physio.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
kern_pmf.c Don't call pmf_check_system_drivers on shutdown. 2007-12-27 16:03:10 +00:00
kern_proc.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
kern_prot.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
kern_ras.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
kern_resource.c Merge more changes from vmlocking2, mainly: 2007-12-26 16:01:34 +00:00
kern_rwlock.c rw_vector_enter: assert !cpu_intr_p(). 2007-12-04 09:13:59 +00:00
kern_sig.c Add PaX ASLR (Address Space Layout Randomization) [from elad and myself] 2007-12-26 22:11:47 +00:00
kern_sleepq.c Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written 2007-12-05 07:06:50 +00:00
kern_softint.c use binuptime for l_stime/l_rtime. 2007-12-22 01:14:53 +00:00
kern_stub.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
kern_subr.c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
kern_synch.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
kern_sysctl.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
kern_tc.c Add tc_detach() for detaching a timecounter. It is good enough to 2008-01-03 04:42:13 +00:00
kern_time.c use binuptime for l_stime/l_rtime. 2007-12-22 01:14:53 +00:00
kern_timeout.c Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written 2007-12-05 07:06:50 +00:00
kern_todr.c reduce #ifdef __HAVE_TIMECOUNTER. 2007-12-22 00:35:32 +00:00
kern_turnstile.c Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written 2007-12-05 07:06:50 +00:00
kern_uuid.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
kern_verifiedexec.c Replace malloc/free usage with kmem_alloc/kmem_zalloc/kmem_free. 2008-01-03 17:51:05 +00:00
kern_xxx.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
kgdb_stub.c
Make.tags.inc Don't run ctags(1) on sys/altq/altq.h, it redefines useful NetBSD 2007-08-10 22:50:12 +00:00
Makefile
makesyscalls.sh Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
sched_4bsd.c KM_NOSLEEP -> KM_SLEEP for clarity. 2007-12-21 12:05:39 +00:00
sched_m2.c KM_NOSLEEP -> KM_SLEEP for clarity. 2007-12-21 12:05:39 +00:00
subr_autoconf.c Add config_deferred() for forcing the deferred configuration to 2007-12-16 20:49:52 +00:00
subr_blist.c
subr_bufq.c It's not a good idea for device drivers to modify b_flags, as they don't 2007-07-29 12:15:35 +00:00
subr_callback.c Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written 2007-12-05 07:06:50 +00:00
subr_debug.c add \n to printf messages. 2007-11-14 11:06:53 +00:00
subr_devsw.c Don't pass devname to {b,c}devsw_attach(), it's not used. 2007-11-20 14:47:14 +00:00
subr_disk_mbr.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
subr_disk.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
subr_evcnt.c
subr_extent.c Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written 2007-12-05 07:06:50 +00:00
subr_hash.c Move hashinit() & hashdone() from kern_subr.c to subr_hash.c to 2007-07-28 12:53:52 +00:00
subr_iostat.c
subr_kmem.c sprinkle more kmem_poison_check. 2007-12-28 13:49:25 +00:00
subr_kobj.c Add a simple in-kernel linker, derived from FreeBSD's link_elf_obj.c. Needs 2008-01-04 12:26:20 +00:00
subr_lockdebug.c Merge more changes from vmlocking2, mainly: 2007-12-26 16:01:34 +00:00
subr_log.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
subr_once.c
subr_optstr.c
subr_pool.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
subr_prf2.c tablefull: subr_prf -> subr_prf2 2007-12-30 22:55:21 +00:00
subr_prf.c tablefull: subr_prf -> subr_prf2 2007-12-30 22:55:21 +00:00
subr_prof.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
subr_specificdata.c Merge from vmlocking: 2007-11-07 00:23:13 +00:00
subr_syscall_stats.c
subr_tftproot.c use kmem_alloc instead of malloc. 2008-01-02 19:26:45 +00:00
subr_time.c reduce #ifdef __HAVE_TIMECOUNTER. 2007-12-22 00:35:32 +00:00
subr_userconf.c
subr_vmem.c vmem_whatis: print "free" btags as well. 2007-12-22 03:27:10 +00:00
subr_workqueue.c Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written 2007-12-05 07:06:50 +00:00
subr_xcall.c Merge scheduler changes from the vmlocking branch. All discussed on 2007-11-06 00:42:39 +00:00
sys_aio.c KM_NOSLEEP -> KM_SLEEP 2007-12-21 12:04:19 +00:00
sys_generic.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
sys_lwp.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
sys_mqueue.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
sys_pipe.c remove PIPE_WANTW, PIPE_WANTR and PIPE_WANTCLOSE. cv_waiters is enough. 2008-01-02 19:16:00 +00:00
sys_pmc.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
sys_process.c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
sys_sched.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
sys_sig.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
sys_socket.c
sys_syscall.c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
syscalls.c Regen. 2008-01-02 11:57:29 +00:00
syscalls.conf
syscalls.master Merge vmlocking2 to head. 2008-01-02 11:57:13 +00:00
sysv_ipc.c
sysv_msg.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
sysv_sem.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
sysv_shm.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
tty_bsdpty.c Remove cn_lwp from struct componentname. curlwp should be used 2007-12-08 19:29:36 +00:00
tty_conf.c Merge tty changes from the vmlocking branch. 2007-11-07 15:56:11 +00:00
tty_ptm.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
tty_pty.c Pull up 1.104.2.3: 2007-12-30 22:03:01 +00:00
tty_subr.c Restore seperate condvars for clist i/o and clist control activity. 2007-12-22 02:21:29 +00:00
tty_tty.c Remove the "struct lwp *" argument from all VFS and VOP interfaces. 2007-11-26 19:01:26 +00:00
tty.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
uipc_domain.c Pull up 1.71.8.1. 2007-12-28 18:22:16 +00:00
uipc_mbuf2.c
uipc_mbuf.c m_print: avoid sign extention of m_flags. 2007-11-14 14:11:57 +00:00
uipc_proto.c
uipc_sem.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
uipc_socket2.c Use selinit() / seldestroy(). 2007-09-25 14:04:07 +00:00
uipc_socket.c Make solisten() take an lwp pointer like the rest, so it can be passed down 2007-12-16 21:25:59 +00:00
uipc_syscalls.c Merge more changes from vmlocking2, mainly: 2007-12-26 16:01:34 +00:00
uipc_usrreq.c Remove cn_lwp from struct componentname. curlwp should be used 2007-12-08 19:29:36 +00:00
vfs_bio.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
vfs_cache.c Change some initialization of static queues to compile time. 2007-11-11 23:22:23 +00:00
vfs_getcwd.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
vfs_hooks.c
vfs_init.c Merge from vmlocking: 2007-11-07 00:23:13 +00:00
vfs_lockf.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
vfs_lookup.c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
vfs_subr2.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
vfs_subr.c valloc -> vnalloc, vfree -> vnfree 2008-01-03 01:26:28 +00:00
vfs_syscalls.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
vfs_trans.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
vfs_vnops.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
vfs_xattr.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
vnode_if.c Regen. 2008-01-02 11:51:15 +00:00
vnode_if.sh Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
vnode_if.src Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00