Message ID | 20240807081813.735158-2-xin@zytor.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | target/i386: Add nested FRED support | expand |
On Wed, Aug 07, 2024 at 01:18:10AM -0700, Xin Li (Intel) wrote: > Date: Wed, 7 Aug 2024 01:18:10 -0700 > From: "Xin Li (Intel)" <xin@zytor.com> > Subject: [PATCH v1 1/3] target/i386: Delete duplicated macro definition > CR4_FRED_MASK > X-Mailer: git-send-email 2.45.2 > > Macro CR4_FRED_MASK is defined twice, delete one. > > Signed-off-by: Xin Li (Intel) <xin@zytor.com> > --- > target/i386/cpu.h | 6 ------ > 1 file changed, 6 deletions(-) Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
diff --git a/target/i386/cpu.h b/target/i386/cpu.h index c6cc035df3..118ef9cb68 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -267,12 +267,6 @@ typedef enum X86Seg { #define CR4_FRED_MASK 0 #endif -#ifdef TARGET_X86_64 -#define CR4_FRED_MASK (1ULL << 32) -#else -#define CR4_FRED_MASK 0 -#endif - #define CR4_RESERVED_MASK \ (~(target_ulong)(CR4_VME_MASK | CR4_PVI_MASK | CR4_TSD_MASK \ | CR4_DE_MASK | CR4_PSE_MASK | CR4_PAE_MASK \
Macro CR4_FRED_MASK is defined twice, delete one. Signed-off-by: Xin Li (Intel) <xin@zytor.com> --- target/i386/cpu.h | 6 ------ 1 file changed, 6 deletions(-)