cube
4b2667d3ec
o Add support for the statvfs family of syscalls (statvfs1, fstatvfs1,
...
fhstatvfs1 and getvfsstat)
o Move the statfs family out of netbsd32_fs.c and netbsd32_netbsd.c to
netbsd_compat_20.c, compiled with COMPAT_20
Reviewed by christos@.
2004-06-17 18:29:40 +00:00
mrg
23884e8622
clean up a little:
...
- delete ktrsyscall32()
- add a check #ifdef _LP64 to do the conversion if P_32 is set to the
standard ktrsyscall()
- add a couple of similar _LP64/P_32 checks to the systrace code.
this should get systrace working for 32 bit apps as well as complete
ktrace support for "trace_enter/trace_exit" using platforms such as amd64.
XXX: systrace isn't supported on sparc64 currently... (it doesn't use
trace_enter/trace_exit, or have it's own calls to systrace_xxx()...)
2004-01-16 05:03:02 +00:00
mrg
28a83c2d9f
add a copy of the ktrsyscall() entry point for 32 bit emulated calls.
...
the main purpose of this function is to adjust the "argsize" value of
the ktrace syscall record, otherwise userland will see N/2 (rounded
down) arguments instead of N.
2004-01-15 14:34:38 +00:00
chs
b9a4f8c809
allow COMPAT_SUNOS without COMPAT_43.
2003-10-25 16:27:25 +00:00
fvdl
4b84b8d930
Don't put the netbsd32_compat*.c files in the 'compat library'. Unconditionally
...
compiling these causes a ripple effect making it hard to conditionalize
anything on COMPAT_* in the kernel.
2003-10-15 13:32:14 +00:00
mrg
0ce90a9fef
build the netbsd32_compat* objects into libcompat.a, so they are available
...
to emulations not just netbsd itself. rename the compat_10 functions to
match everything else. fixes a problem reported by julian coleman.
2002-04-29 09:53:39 +00:00
thorpej
205c159f0e
Make the coredump routine exec-format/emulation specific. Split
...
out traditional NetBSD coredump routines into core_netbsd.c and
netbsd32_core.c (for COMPAT_NETBSD32).
2001-12-08 00:35:25 +00:00
mrg
a6a28df3e2
add netbsd32_uvm_unix.c and netbsd32_kern_sig.c
2001-06-06 21:30:28 +00:00
mrg
da9e4bd3a1
split up netbsd32_netbsd.c into 9 new files, leaving only those syscalls that
...
have no special interpretations besides simple syscall args conversion.
2001-02-08 13:19:33 +00:00
mrg
7a908a5f44
compat_sunos needs netbsd32_compat_09.c
2001-02-07 13:13:01 +00:00
jdolecek
e53f148af5
put a.out/elf32 specific things in netbsd32_exec_{aout|elf32}.c
...
emul_netbsd32 was moved to netbsd32_netbsd.c
g/c netbsd32_exec.c now
2000-12-01 21:51:08 +00:00
eeh
1f45477db9
Add netbsd32_compat_14.c
...
Rename everything from compat_netbsd32 -> netbsd32 so we don't have silly
names like compat_14_compat_netbsd32_sys_shmctl().
1999-10-11 01:36:21 +00:00
eeh
96b63fc788
Don't defopt COMPAT_NETBSD32 here; it's done in sys/conf/files.
1999-04-24 19:17:33 +00:00
mrg
54ab2e1e54
clean and up make compile
1999-03-25 17:49:43 +00:00
mrg
a5867d9385
move sparc32 to netbsd32; split out MD part (signal handling) (mostly via repository copy, rename and perl -pi :-)
1999-03-25 16:22:49 +00:00
eeh
0aa87c38cc
Overhaul. Now will run simple things like /bin/sh and /bin/echo.
1998-10-01 14:27:56 +00:00
mrg
3ba6ab0970
add a 32-bit compatibility module for the sparc64 port, so it can run NetBSD/sparc binaries with a LP64 kernel.
1998-08-26 10:20:33 +00:00