# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1304153296 -3600
# Node ID 476b0d68e7d5405babc1182da3b345b1e4cc1bca
# Parent 6876c66a1ce19184266c39142dcf11bc1a1e650b
x86: Remove TRAP_INSTR from the public headers.
Direct hypercall traps (rather than using the hypercall transfer page)
was long obsolete even when TRAP_INSTR was deprecated in the API
headers. No current guest will be, or should be, using TRAP_INSTR.
Signed-off-by: Keir Fraser <keir@xxxxxxx>
---
diff -r 6876c66a1ce1 -r 476b0d68e7d5 xen/include/public/arch-x86/xen-x86_32.h
--- a/xen/include/public/arch-x86/xen-x86_32.h Sat Apr 30 09:46:46 2011 +0100
+++ b/xen/include/public/arch-x86/xen-x86_32.h Sat Apr 30 09:48:16 2011 +0100
@@ -36,15 +36,6 @@
* Clobbered: Argument registers (e.g., 2-arg hypercall clobbers %ebx,%ecx)
*/
-#if __XEN_INTERFACE_VERSION__ < 0x00030203
-/*
- * Legacy hypercall interface:
- * As above, except the entry sequence to the hypervisor is:
- * mov $hypercall-number*32,%eax ; int $0x82
- */
-#define TRAP_INSTR "int $0x82"
-#endif
-
/*
* These flat segments are in the Xen-private section of every GDT. Since these
* are also present in the initial GDT, many OSes will be able to avoid
diff -r 6876c66a1ce1 -r 476b0d68e7d5 xen/include/public/arch-x86/xen-x86_64.h
--- a/xen/include/public/arch-x86/xen-x86_64.h Sat Apr 30 09:46:46 2011 +0100
+++ b/xen/include/public/arch-x86/xen-x86_64.h Sat Apr 30 09:48:16 2011 +0100
@@ -36,16 +36,6 @@
* Clobbered: argument registers (e.g., 2-arg hypercall clobbers %rdi,%rsi)
*/
-#if __XEN_INTERFACE_VERSION__ < 0x00030203
-/*
- * Legacy hypercall interface:
- * As above, except the entry sequence to the hypervisor is:
- * mov $hypercall-number*32,%eax ; syscall
- * Clobbered: %rcx, %r11, argument registers (as above)
- */
-#define TRAP_INSTR "syscall"
-#endif
-
/*
* 64-bit segment selectors
* These flat segments are in the Xen-private section of every GDT. Since these
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|