]> xenbits.xensource.com Git - xen.git/commitdiff
x86: Remove TRAP_INSTR from the public headers.
authorKeir Fraser <keir@xen.org>
Sat, 30 Apr 2011 08:48:16 +0000 (09:48 +0100)
committerKeir Fraser <keir@xen.org>
Sat, 30 Apr 2011 08:48:16 +0000 (09:48 +0100)
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@xen.org>
xen/include/public/arch-x86/xen-x86_32.h
xen/include/public/arch-x86/xen-x86_64.h

index 82a7f5b776ea20d92a7780c5f0e1ad5f98c42288..de584ea8afbe4201190b9500903608845b7a1054 100644 (file)
  * 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
index 1e54cf92a746118ea207fa03c60a692579b301af..0bdd86825dcbe72d92d831e223121a3493327191 100644 (file)
  * 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