Message ID | 1501070174-19058-2-git-send-email-andrew.cooper3@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 07/26/2017 07:56 AM, Andrew Cooper wrote: > These are entirely unused, and are actually the general x86 register encoding, > rather than being SVM specific. > > Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
diff --git a/xen/include/asm-x86/hvm/svm/svm.h b/xen/include/asm-x86/hvm/svm/svm.h index c954b7e..0956f86 100644 --- a/xen/include/asm-x86/hvm/svm/svm.h +++ b/xen/include/asm-x86/hvm/svm/svm.h @@ -23,23 +23,6 @@ #include <xen/types.h> #include <xen/bitmap.h> -#define SVM_REG_EAX (0) -#define SVM_REG_ECX (1) -#define SVM_REG_EDX (2) -#define SVM_REG_EBX (3) -#define SVM_REG_ESP (4) -#define SVM_REG_EBP (5) -#define SVM_REG_ESI (6) -#define SVM_REG_EDI (7) -#define SVM_REG_R8 (8) -#define SVM_REG_R9 (9) -#define SVM_REG_R10 (10) -#define SVM_REG_R11 (11) -#define SVM_REG_R12 (12) -#define SVM_REG_R13 (13) -#define SVM_REG_R14 (14) -#define SVM_REG_R15 (15) - #define svm_vmload(x) svm_vmload_pa(__pa(x)) #define svm_vmsave(x) svm_vmsave_pa(__pa(x))
These are entirely unused, and are actually the general x86 register encoding, rather than being SVM specific. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> --- CC: Jan Beulich <JBeulich@suse.com> CC: Boris Ostrovsky <boris.ostrovsky@oracle.com> CC: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> --- xen/include/asm-x86/hvm/svm/svm.h | 17 ----------------- 1 file changed, 17 deletions(-)