NetBSD/sys/compat/darwin
fvdl c487efe4a7 Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses.
* For sparc64 and amd64, define *SIZ32 VM constants.
* Add a new function pointer to struct emul, pointing at a function
  that will return the default VM map address. The default function
  is uvm_map_defaultaddr, which just uses the VM_DEFAULT_ADDRESS
  macro. This gives emulations control over the default map address,
  and allows things to be mapped at the right address (in 32bit range)
  for COMPAT_NETBSD32.
* Add code to adjust the data and stack limits when a COMPAT_NETBSD32
  or COMPAT_SVR4_32 binary is executed.
* Don't use USRSTACK in kern_resource.c, use p_vmspace->vm_minsaddr
  instead (emulations might have set it differently)
* Since this changes struct emul, bump kernel version to 3.99.2

Tested on amd64, compile-tested on sparc64.
2005-03-26 05:12:34 +00:00
..
Makefile make this rebuild generated files by default 2005-02-26 23:35:00 +00:00
darwin_attr.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_attr.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_audit.c Empty shell for Darwin audit API 2004-07-28 22:24:06 +00:00
darwin_audit.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_commpage.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_commpage.h commpage function changes: 2004-07-11 19:38:14 +00:00
darwin_exec.c Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses. 2005-03-26 05:12:34 +00:00
darwin_exec.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_ioctl.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_ioctl.h Implement Darwin's FIODTYPE ioctl (get a file d_type) 2003-09-03 07:28:38 +00:00
darwin_ioframebuffer.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_ioframebuffer.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_iohidsystem.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_iohidsystem.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_iokit.c
darwin_iokit.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_ktrace.c Empty shell for Darwin audit API 2004-07-28 22:24:06 +00:00
darwin_mman.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_mount.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_mount.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_proc.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_ptrace.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_ptrace.h Start to implement another strange feature: signals as Mach software 2003-11-20 07:12:34 +00:00
darwin_route.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_route.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_signal.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_signal.h Small prototype mistake (I'm juggling with too much uncommitted files) 2003-12-24 22:57:22 +00:00
darwin_socket.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_socket.h Bounds check syscall arguments where appropriate 2004-10-27 19:29:56 +00:00
darwin_stat.c Empty shell for Darwin audit API 2004-07-28 22:24:06 +00:00
darwin_syscall.h regen 2005-02-26 23:58:19 +00:00
darwin_syscallargs.h regen 2005-02-26 23:58:19 +00:00
darwin_syscalls.c regen 2005-02-26 23:58:19 +00:00
darwin_sysctl.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_sysctl.h Chand emul.darwin MIB to fit best current practice. 2003-12-26 16:00:53 +00:00
darwin_sysent.c regen 2005-02-26 23:58:19 +00:00
darwin_thread.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_types.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
darwin_unistd.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
files.darwin Empty shell for Darwin audit API 2004-07-28 22:24:06 +00:00
syscalls.conf
syscalls.master nuke trailing whitespace 2005-02-26 22:58:54 +00:00