NetBSD/sys/compat/svr4_32
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:50:14 +00:00
files.svr4_32
sed.script
svr4_32_acl.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_dirent.h
svr4_32_exec.c Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses. 2005-03-26 05:12:34 +00:00
svr4_32_exec.h Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses. 2005-03-26 05:12:34 +00:00
svr4_32_exec_elf32.c
svr4_32_fcntl.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_fcntl.h
svr4_32_filio.c
svr4_32_fuser.h
svr4_32_hrt.h
svr4_32_ioctl.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_ioctl.h
svr4_32_ipc.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_ipc.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_lwp.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_lwp.h
svr4_32_misc.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_net.c
svr4_32_resource.c Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses. 2005-03-26 05:12:34 +00:00
svr4_32_resource.h
svr4_32_schedctl.c
svr4_32_schedctl.h
svr4_32_siginfo.h
svr4_32_signal.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_signal.h
svr4_32_socket.c
svr4_32_socket.h
svr4_32_sockio.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_sockio.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_stat.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_stat.h
svr4_32_statvfs.h
svr4_32_stream.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_stropts.h
svr4_32_syscall.h regen 2005-02-26 23:58:19 +00:00
svr4_32_syscallargs.h regen 2005-02-26 23:58:19 +00:00
svr4_32_syscalls.c regen 2005-02-26 23:58:19 +00:00
svr4_32_sysent.c regen 2005-02-26 23:58:19 +00:00
svr4_32_termios.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_termios.h
svr4_32_time.h
svr4_32_timod.h
svr4_32_types.h
svr4_32_ucontext.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_32_ustat.h
svr4_32_util.h
syscalls.conf
syscalls.master