NetBSD/sys/compat/svr4
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
..
files.svr4
Makefile make this rebuild generated files by default 2005-02-26 23:50:14 +00:00
svr4_acl.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_dirent.h
svr4_errno.c
svr4_errno.h
svr4_exec_elf32.c
svr4_exec_elf64.c
svr4_exec.c Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses. 2005-03-26 05:12:34 +00:00
svr4_exec.h
svr4_fcntl.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_fcntl.h
svr4_filio.c
svr4_filio.h
svr4_fuser.h
svr4_hrt.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_ioctl.c
svr4_ioctl.h
svr4_ipc.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_ipc.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_lwp.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_lwp.h
svr4_misc.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_mman.h
svr4_net.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_resource.c
svr4_resource.h
svr4_siginfo.h
svr4_signal.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_signal.h all ports define __HAVE_SIGINFO now, so remove the CPP conditionals 2004-03-26 15:01:16 +00:00
svr4_signo.c make signal array handling uniform, and put signal arrays in a separate 2002-03-31 22:22:43 +00:00
svr4_socket.c
svr4_socket.h Assign copyrights to TNF; tv has copyrights on the remaining files... 1998-09-04 19:54:37 +00:00
svr4_sockio.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_sockio.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_sockmod.h
svr4_stat.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_stat.h
svr4_statvfs.h
svr4_stream.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_stropts.h
svr4_syscall.h regen 2005-02-26 23:58:19 +00:00
svr4_syscallargs.h regen 2005-02-26 23:58:19 +00:00
svr4_syscalls.c regen 2005-02-26 23:58:19 +00:00
svr4_sysconfig.h
svr4_sysent.c regen 2005-02-26 23:58:19 +00:00
svr4_systeminfo.h
svr4_termios.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_termios.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_time.h
svr4_timod.h
svr4_ttold.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_ttold.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_types.h
svr4_ucontext.h
svr4_ulimit.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
svr4_ustat.h
svr4_util.h
svr4_utsname.h
svr4_wait.h
syscalls.conf
syscalls.master Merge the nathanw_sa branch. 2003-01-18 08:44:26 +00:00