Skip to content

Commit

Permalink
selftests: KVM: Remove unused x86_register enum
Browse files Browse the repository at this point in the history
x86_register enum is not used, let's remove it.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Suggested-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
eauger authored and bonzini committed Feb 12, 2020
1 parent f6ab010 commit ff47902
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions tools/testing/selftests/kvm/include/x86_64/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,6 @@
#define X86_CR4_SMAP (1ul << 21)
#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 */
struct gpr64_regs {
u64 rax;
Expand Down

0 comments on commit ff47902

Please sign in to comment.