[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 2/2] x86/svm: Drop unused SVM_REG_* definitions



These are entirely unused, and are actually the general x86 register encoding,
rather than being SVM specific.

Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
CC: Jan Beulich <JBeulich@xxxxxxxx>
CC: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
CC: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>
---
 xen/include/asm-x86/hvm/svm/svm.h | 17 -----------------
 1 file changed, 17 deletions(-)

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))
 
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.