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@xen.org>
This commit is contained in:
Keir Fraser committed 2011-04-30 09:48:16 +01:00
1 parent 8282a2822b
commit c95aea8680
2 files changed
-19

No files matched your search

-9
View File
@@ -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
-10
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.