cvs commit: src/sys/compat/linux linux_file.c linux_getcwd.c
linux_ioctl.c linux_ipc.c linux_ipc.h linux_mib.c linux_misc.c
linux_signal.c linux_socket.c linux_stats.c linux_sysctl.c
linux_uid16.c
Tim J. Robbins
tjr at FreeBSD.org
Mon Aug 16 00:28:17 PDT 2004
tjr 2004-08-16 07:28:17 UTC
FreeBSD src repository
Modified files:
sys/compat/linux linux_file.c linux_getcwd.c linux_ioctl.c
linux_ipc.c linux_ipc.h linux_mib.c
linux_misc.c linux_signal.c
linux_socket.c linux_stats.c
linux_sysctl.c linux_uid16.c
Log:
Changes to MI Linux emulation code necessary to run 32-bit Linux binaries
on AMD64, and the general case where the emulated platform has different
size pointers than we use natively:
- declare certain structure members as l_uintptr_t and use the new PTRIN
and PTROUT macros to convert to and from native pointers.
- declare some structures __packed on amd64 when the layout would differ
from that used on i386.
- include <machine/../linux32/linux.h> instead of <machine/../linux/linux.h>
if compiling with COMPAT_LINUX32. This will need to be revisited before
32-bit and 64-bit Linux emulation support can coexist in the same kernel.
- other small scattered changes.
This should be a no-op on i386 and Alpha.
Revision Changes Path
1.87 +21 -6 src/sys/compat/linux/linux_file.c
1.15 +7 -0 src/sys/compat/linux/linux_getcwd.c
1.121 +13 -2 src/sys/compat/linux/linux_ioctl.c
1.39 +56 -34 src/sys/compat/linux/linux_ipc.c
1.10 +2 -2 src/sys/compat/linux/linux_ipc.h
1.22 +6 -0 src/sys/compat/linux/linux_mib.c
1.158 +29 -6 src/sys/compat/linux/linux_misc.c
1.46 +14 -3 src/sys/compat/linux/linux_signal.c
1.51 +67 -51 src/sys/compat/linux/linux_socket.c
1.62 +9 -2 src/sys/compat/linux/linux_stats.c
1.13 +13 -6 src/sys/compat/linux/linux_sysctl.c
1.15 +7 -0 src/sys/compat/linux/linux_uid16.c
More information about the cvs-src
mailing list