NetBSD/sys/kern
manu 80ee637534 - Introduce a e_fault field in struct proc to provide emulation specific
memory fault handler. IRIX uses irix_vm_fault, and all other emulation
use NULL, which means to use uvm_fault.

- While we are there, explicitely set to NULL the uninitialized fields in
struct emul: e_fault and e_sysctl on most ports

- e_fault is used by the trap handler, for now only on mips. In order to avoid
intrusive modifications in UVM, the function pointed by e_fault does not
has exactly the same protoype as uvm_fault:
int uvm_fault __P((struct vm_map *, vaddr_t, vm_fault_t, vm_prot_t));
int e_fault __P((struct proc *, vaddr_t, vm_fault_t, vm_prot_t));

- In IRIX share groups, all the VM space is shared, except one page.
This bounds us to have different VM spaces and synchronize modifications
to the VM space accross share group members. We need an IRIX specific hook
to the page fault handler in order to propagate VM space modifications
caused by page faults.
2002-09-21 21:14:54 +00:00
..
Make.tags.inc
Makefile
cnmagic.c
core_elf32.c
core_elf64.c
core_netbsd.c
exec_aout.c only create a vmcmd for the BSS if there is any BSS. fixes PR 17834. 2002-08-29 06:31:21 +00:00
exec_conf.c Fix comments for #endif, to keep proper nesting and reflect reality. 2002-09-04 06:34:21 +00:00
exec_ecoff.c
exec_elf32.c The entry point address for the interpreter must be adjusted by the text 2002-09-12 16:57:44 +00:00
exec_elf64.c
exec_elf_common.c "a.out" -> "elf" in a comment 2002-05-31 16:49:12 +00:00
exec_macho.c
exec_script.c
exec_subr.c Fix a signed/unsigned comparison warning from GCC 3.3. 2002-08-25 19:13:08 +00:00
genassym.awk
genassym.sh
genlintstub.awk
init_main.c Use the queue macros from <sys/queue.h> instead of referring to the queue 2002-09-04 01:32:31 +00:00
init_sysent.c regen: claim syscall slots for kqueue(2) and kevent(2) 2002-09-04 07:46:25 +00:00
kern_acct.c
kern_allocsys.c Make nbuf, nswbuf, and bufpages unsigned. Make all operations on these 2002-08-25 20:21:33 +00:00
kern_clock.c Implement pmc(9) -- An interface to hardware performance monitoring 2002-08-07 05:14:47 +00:00
kern_descrip.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
kern_exec.c - Introduce a e_fault field in struct proc to provide emulation specific 2002-09-21 21:14:54 +00:00
kern_exit.c Use the queue macros from <sys/queue.h> instead of referring to the queue 2002-09-04 01:32:31 +00:00
kern_fork.c MI kernel support for user-level Restartable Atomic Sequences (RAS). 2002-08-28 07:16:33 +00:00
kern_kthread.c SIMPLEQ rototill: 2002-06-01 23:50:52 +00:00
kern_ktrace.c disallow ktrace on P_SUGID. from openbsd 2002-06-28 01:59:36 +00:00
kern_lkm.c uppercase the lkm kernel-userspace dev macros and prefix them with LKM_ 2002-09-18 22:59:36 +00:00
kern_lock.c print a stack trace in the "spinout" case too. 2002-09-14 21:42:42 +00:00
kern_malloc.c add a new km flag UVM_KMF_CANFAIL, which causes uvm_km_kmemalloc() to 2002-09-15 16:54:26 +00:00
kern_malloc_debug.c Don't pass VM_PROT_EXEC to pmap_kenter_pa(). 2002-08-14 15:21:31 +00:00
kern_ntptime.c Back out previous. 2002-05-03 01:22:30 +00:00
kern_physio.c Remove the old device buffer queue interface. 2002-08-30 15:43:36 +00:00
kern_proc.c Use the queue macros from <sys/queue.h> instead of referring to the queue 2002-09-04 01:32:31 +00:00
kern_prot.c Fix some signed/unsigned comparison warnings from GCC 3.3. 2002-08-25 21:30:40 +00:00
kern_ras.c MI kernel support for user-level Restartable Atomic Sequences (RAS). 2002-08-28 07:16:33 +00:00
kern_resource.c Use the queue macros from <sys/queue.h> instead of referring to the queue 2002-09-04 01:32:31 +00:00
kern_sig.c Use the queue macros from <sys/queue.h> instead of referring to the queue 2002-09-04 01:32:31 +00:00
kern_subr.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
kern_synch.c Use the queue macros from <sys/queue.h> instead of referring to the queue 2002-09-04 01:32:31 +00:00
kern_sysctl.c Use the queue macros from <sys/queue.h> instead of referring to the queue 2002-09-04 01:32:31 +00:00
kern_systrace.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
kern_time.c
kern_xxx.c Use the number of args in the sysent rather than calculating it from the 2002-06-19 23:35:35 +00:00
kgdb_stub.c
makesyscalls.sh
subr_autoconf.c fix off-by-one error in string len check 2002-07-10 19:04:09 +00:00
subr_devsw.c Fix devsw_name2blk() to return the correct device name for devname arg. 2002-09-15 14:29:01 +00:00
subr_disk.c Remove the old device buffer queue interface. 2002-08-30 15:43:36 +00:00
subr_extent.c Use the queue macros from <sys/queue.h> instead of referring to the queue 2002-09-04 01:32:31 +00:00
subr_log.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
subr_pool.c Fix signed/unsigned comparison warnings from GCC 3.3. 2002-08-25 22:51:05 +00:00
subr_prf.c Casting from a pointer, to a db_expr_t, has to go via an intptr_t. 2002-08-26 11:34:27 +00:00
subr_prof.c
subr_prop.c Fix signed/unsigned comparison warnings from GCC 3.3. 2002-08-25 22:51:05 +00:00
subr_rmap.c
subr_userconf.c
subr_xxx.c
sys_generic.c Fix some signed/unsigned comparison warnings from GCC 3.3. 2002-08-25 23:15:21 +00:00
sys_pipe.c Fix signed/unsigned comparison warnings from GCC 3.3. 2002-08-25 23:16:39 +00:00
sys_pmc.c Only include sys/pmc.h if PERFCTRS is defined. 2002-08-07 11:13:40 +00:00
sys_process.c Attempt to protect restartable atomic sequences of a traced process 2002-08-28 07:27:14 +00:00
sys_socket.c
syscalls.c regen: claim syscall slots for kqueue(2) and kevent(2) 2002-09-04 07:46:25 +00:00
syscalls.conf
syscalls.master claim syscall slots for kqueue(2) and kevent(2) 2002-09-04 07:45:41 +00:00
sysv_ipc.c
sysv_msg.c
sysv_sem.c
sysv_shm.c
tty.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
tty_conf.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
tty_pty.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
tty_subr.c
tty_tb.c
tty_tty.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
uipc_domain.c Make domains extern. 2002-05-12 20:36:58 +00:00
uipc_mbuf.c Changes to allow the IPv4 and IPv6 layers to align headers themseves, 2002-06-30 22:40:32 +00:00
uipc_mbuf2.c in m_aux_delete, no need to chase beyond victim. from Archie Cobbs, sync w/kame 2002-05-23 05:45:34 +00:00
uipc_proto.c
uipc_socket.c Make use of page loaning for large socket writes the default. The 2002-08-21 05:13:36 +00:00
uipc_socket2.c In sbcompress(), if we toss an empty mbuf, make sure to update 2002-08-22 20:56:48 +00:00
uipc_syscalls.c Use the queue macros from <sys/queue.h> instead of referring to the queue 2002-09-04 01:32:31 +00:00
uipc_usrreq.c Use the queue macros from <sys/queue.h> instead of referring to the queue 2002-09-04 01:32:31 +00:00
vfs_bio.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
vfs_cache.c Use the queue macros from <sys/queue.h> instead of referring to the queue 2002-09-04 01:32:31 +00:00
vfs_getcwd.c
vfs_init.c
vfs_lockf.c Use the queue macros from <sys/queue.h> instead of referring to the queue 2002-09-04 01:32:31 +00:00
vfs_lookup.c Make NAMEI_DIAGNOSTIC compile. 2002-08-02 04:49:35 +00:00
vfs_subr.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
vfs_syscalls.c Add special handling of VFS_GETARGS (similar to VFS_UPDATE) so that it 2002-09-21 18:07:52 +00:00
vfs_vnops.c
vnode_if.c
vnode_if.sh
vnode_if.src