NetBSD/sys/compat/ibcs2
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.ibcs2
ibcs2_dirent.h
ibcs2_errno.c
ibcs2_errno.h
ibcs2_exec_coff.c
ibcs2_exec_elf32.c
ibcs2_exec_xout.c
ibcs2_exec.c Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses. 2005-03-26 05:12:34 +00:00
ibcs2_exec.h Some ibcs2 binaries need executable stacks. Thanks to J Chapman Flack 2005-03-03 04:39:37 +00:00
ibcs2_fcntl.c add file locking. 2005-03-05 17:47:38 +00:00
ibcs2_fcntl.h
ibcs2_grp.h
ibcs2_ioctl.c const sptab[] 2005-03-05 17:31:07 +00:00
ibcs2_ipc.c
ibcs2_misc.c - someone must have been confused about how to use the stackgap. 2005-03-05 17:47:06 +00:00
ibcs2_mman.h
ibcs2_mount.h
ibcs2_pwd.h
ibcs2_signal.c
ibcs2_signal.h
ibcs2_signo.c
ibcs2_socksys.c
ibcs2_socksys.h
ibcs2_stat.c
ibcs2_stat.h
ibcs2_statfs.h
ibcs2_stropts.h
ibcs2_syscall.h regen 2005-02-26 23:58:19 +00:00
ibcs2_syscallargs.h regen 2005-02-26 23:58:19 +00:00
ibcs2_syscalls.c regen 2005-02-26 23:58:19 +00:00
ibcs2_sysent.c regen 2005-02-26 23:58:19 +00:00
ibcs2_sysi86.h
ibcs2_termios.h
ibcs2_time.h
ibcs2_timeb.h
ibcs2_types.h
ibcs2_unistd.h
ibcs2_ustat.h
ibcs2_util.h
ibcs2_utime.h
ibcs2_utsname.h
ibcs2_wait.h
Makefile
syscalls.conf
syscalls.master
TODO