From owner-cvs-src@FreeBSD.ORG Mon Aug 16 07:28:17 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D03D16A4CE; Mon, 16 Aug 2004 07:28:17 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62B2843D41; Mon, 16 Aug 2004 07:28:17 +0000 (GMT) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7G7SHEO062432; Mon, 16 Aug 2004 07:28:17 GMT (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7G7SHYn062431; Mon, 16 Aug 2004 07:28:17 GMT (envelope-from tjr) Message-Id: <200408160728.i7G7SHYn062431@repoman.freebsd.org> From: "Tim J. Robbins" Date: Mon, 16 Aug 2004 07:28:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 07:28:17 -0000 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 instead of 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