diff mbox series

[kvm-unit-tests,v8,12/12] lib/x86: remove unused SVM_IOIO_* macros

Message ID 20240612144539.16147-13-vsntk18@gmail.com (mailing list archive)
State New, archived
Headers show
Series Add #VC exception handling for AMD SEV-ES | expand

Commit Message

Vasant Karasulli June 12, 2024, 2:45 p.m. UTC
From: Vasant Karasulli <vkarasulli@suse.de>

svm.h contains many such macros are not used anywhere.

Signed-off-by: Vasant Karasulli <vkarasulli@suse.de>
---
 lib/x86/svm.h | 9 ---------
 1 file changed, 9 deletions(-)

--
2.34.1
diff mbox series

Patch

diff --git a/lib/x86/svm.h b/lib/x86/svm.h
index 96e17dc3..53bf115a 100644
--- a/lib/x86/svm.h
+++ b/lib/x86/svm.h
@@ -140,16 +140,7 @@  struct __attribute__ ((__packed__)) vmcb_control_area {

 #define SVM_INTERRUPT_SHADOW_MASK 1

-#define SVM_IOIO_STR_SHIFT 2
-#define SVM_IOIO_REP_SHIFT 3
 #define SVM_IOIO_SIZE_SHIFT 4
-#define SVM_IOIO_ASIZE_SHIFT 7
-
-#define SVM_IOIO_TYPE_MASK 1
-#define SVM_IOIO_STR_MASK (1 << SVM_IOIO_STR_SHIFT)
-#define SVM_IOIO_REP_MASK (1 << SVM_IOIO_REP_SHIFT)
-#define SVM_IOIO_SIZE_MASK (7 << SVM_IOIO_SIZE_SHIFT)
-#define SVM_IOIO_ASIZE_MASK (7 << SVM_IOIO_ASIZE_SHIFT)

 #define SVM_IOIO_TYPE_STR  BIT(2)
 #define SVM_IOIO_TYPE_IN   1