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
..
darwin_attr.c
darwin_attr.h
darwin_audit.c
darwin_audit.h
darwin_commpage.c
darwin_commpage.h
darwin_exec.c Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses. 2005-03-26 05:12:34 +00:00
darwin_exec.h
darwin_ioctl.c
darwin_ioctl.h
darwin_ioframebuffer.c
darwin_ioframebuffer.h
darwin_iohidsystem.c
darwin_iohidsystem.h
darwin_iokit.c
darwin_iokit.h
darwin_ktrace.c
darwin_mman.c
darwin_mount.c
darwin_mount.h
darwin_proc.h
darwin_ptrace.c
darwin_ptrace.h
darwin_route.c
darwin_route.h
darwin_signal.c
darwin_signal.h
darwin_socket.c
darwin_socket.h
darwin_stat.c
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
darwin_sysctl.h
darwin_sysent.c regen 2005-02-26 23:58:19 +00:00
darwin_thread.c
darwin_types.h
darwin_unistd.c
files.darwin
Makefile make this rebuild generated files by default 2005-02-26 23:35:00 +00:00
syscalls.conf
syscalls.master