mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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:
1 parent
8282a2822b
commit
c95aea8680
2 files changed
-19
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||