From d67f8a3d018196db2d8182a63b64b5ad97396e6b Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 23 Jun 2005 09:24:21 +0000 Subject: bitkeeper revision 1.1732 (42ba7fc5JvRaJiT14LMkB8SUdohfeA) The attached patch now allows x86_64 xenlinux to run 32-bit x86 binaries as the native x86_64 Linux does. I checked LTP using 32-bit binaries, and got the same results on the native x86_64 Linux. At this point, 'int 0x80' is used for system calls, as it's unlikely that the fast systems (sysenter or syscall) are significantly faster under the current trampoline mechanism. However, it should be easy to replace vsyscall-int80 with the fast system calls if one wants to do so (look at USE_INT80 in the patch). I found bugs with LDT handling in x86_64 Xen/XenLinux (exposed by 32-bit LTP testcases fork05 and modify_ldt02), and the bugs have been fixed by a separate patch in the next email:=20 [PATCH] [x86_64] Fixing LDT handling with x86_64 Xen Signed-off-by: Jun Nakajima --- .rootkeys | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.rootkeys') diff --git a/.rootkeys b/.rootkeys index 514a54af3d..c1eefdf9ce 100644 --- a/.rootkeys +++ b/.rootkeys @@ -263,6 +263,10 @@ 3f68905c5eiA-lBMQSvXLMWS1ikDEA linux-2.6.11-xen-sparse/arch/xen/kernel/xen_proc.c 424efaa6xahU2q85_dT-SjUJEaivfg linux-2.6.11-xen-sparse/arch/xen/x86_64/Kconfig 424efaa6kKleWe45IrqsG8gkejgEQA linux-2.6.11-xen-sparse/arch/xen/x86_64/Makefile +42ba7fc4lb16rk9fVJeOBTPpy7bHFQ linux-2.6.11-xen-sparse/arch/xen/x86_64/ia32/Makefile +42ba7fc4URo9Q9gyOqemf4cCcAfYCg linux-2.6.11-xen-sparse/arch/xen/x86_64/ia32/ia32entry.S +42ba7fc4qPAX8G1HhVUPmps8xw_Odw linux-2.6.11-xen-sparse/arch/xen/x86_64/ia32/syscall32.c +42ba7fc4xqwiER7U_2NvNwqxhRMo1g linux-2.6.11-xen-sparse/arch/xen/x86_64/ia32/vsyscall-int80.S 424efaa6HSyuVodl6SxFGj39vlp6MA linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/Makefile 428f0973_moB26LYt56xXKYCTqEdXw linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/acpi/Makefile 428f0973NBdgINmWOEJjoIDL73SDbQ linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/apic.c @@ -289,6 +293,7 @@ 424efaa7szEu90xkjpXk5TufZxxa4g linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/traps.c 424efaa6sJsuHdGIGxm0r-ugsss3OQ linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/vsyscall.c 424efaa6xbX9LkKyaXvgbL9s_39Trw linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/x8664_ksyms.c +42ba7fc4mg4zVSdJUO5Wc9PM-KUbqg linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/xen_entry.S 424efaa670zlQTtnOYK_aNgqhmSx-Q linux-2.6.11-xen-sparse/arch/xen/x86_64/mm/Makefile 424efaa6HUC68-hBHgiWOMDfKZogIA linux-2.6.11-xen-sparse/arch/xen/x86_64/mm/fault.c 424efaa65ELRJ3JfgQQKLzW6y0ECYQ linux-2.6.11-xen-sparse/arch/xen/x86_64/mm/init.c -- cgit v1.2.3