NetBSD/sys/compat/freebsd
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.freebsd Add FreeBSD sysctl emulation for their undocumented special OIDs rooted at 2005-02-22 16:14:50 +00:00
freebsd_exec_aout.c Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
freebsd_exec_elf32.c
freebsd_exec.c Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses. 2005-03-26 05:12:34 +00:00
freebsd_exec.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
freebsd_file.c Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
freebsd_fork.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
freebsd_fork.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
freebsd_ioctl.c
freebsd_ioctl.h
freebsd_ipc.c
freebsd_misc.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
freebsd_mman.h nuke trailing whitespace 2005-02-26 22:58:54 +00:00
freebsd_ptrace.c
freebsd_ptrace.h
freebsd_rtprio.h
freebsd_sched.c
freebsd_sched.h
freebsd_signal.h all ports define __HAVE_SIGINFO now, so remove the CPP conditionals 2004-03-26 15:01:16 +00:00
freebsd_syscall.h regen 2005-02-26 23:58:19 +00:00
freebsd_syscallargs.h regen 2005-02-26 23:58:19 +00:00
freebsd_syscalls.c regen 2005-02-26 23:58:19 +00:00
freebsd_sysctl.c nuke trailing whitespace 2005-02-26 22:58:54 +00:00
freebsd_sysent.c regen 2005-02-26 23:58:19 +00:00
freebsd_timex.h
Makefile make this rebuild generated files by default 2005-02-26 23:35:00 +00:00
syscalls.conf
syscalls.master Add FreeBSD sysctl emulation for their undocumented special OIDs rooted at 2005-02-22 16:14:50 +00:00