Commit ff479025 authored by Eric Auger's avatar Eric Auger Committed by Paolo Bonzini

selftests: KVM: Remove unused x86_register enum

x86_register enum is not used, let's remove it.
Signed-off-by: default avatarEric Auger <eric.auger@redhat.com>
Suggested-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent f6ab0107
...@@ -36,26 +36,6 @@ ...@@ -36,26 +36,6 @@
#define X86_CR4_SMAP (1ul << 21) #define X86_CR4_SMAP (1ul << 21)
#define X86_CR4_PKE (1ul << 22) #define X86_CR4_PKE (1ul << 22)
/* The enum values match the intruction encoding of each register */
enum x86_register {
RAX = 0,
RCX,
RDX,
RBX,
RSP,
RBP,
RSI,
RDI,
R8,
R9,
R10,
R11,
R12,
R13,
R14,
R15,
};
/* General Registers in 64-Bit Mode */ /* General Registers in 64-Bit Mode */
struct gpr64_regs { struct gpr64_regs {
u64 rax; u64 rax;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment