c487efe4a7
* 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. |
||
---|---|---|
.. | ||
files.freebsd | ||
freebsd_exec_aout.c | ||
freebsd_exec_elf32.c | ||
freebsd_exec.c | ||
freebsd_exec.h | ||
freebsd_file.c | ||
freebsd_fork.c | ||
freebsd_fork.h | ||
freebsd_ioctl.c | ||
freebsd_ioctl.h | ||
freebsd_ipc.c | ||
freebsd_misc.c | ||
freebsd_mman.h | ||
freebsd_ptrace.c | ||
freebsd_ptrace.h | ||
freebsd_rtprio.h | ||
freebsd_sched.c | ||
freebsd_sched.h | ||
freebsd_signal.h | ||
freebsd_syscall.h | ||
freebsd_syscallargs.h | ||
freebsd_syscalls.c | ||
freebsd_sysctl.c | ||
freebsd_sysent.c | ||
freebsd_timex.h | ||
Makefile | ||
syscalls.conf | ||
syscalls.master |