Based on Intel Software Develeper's Manual, add all fields in IA32_CR4.
Signed-off-by: Jason Voelz <jason.voelz@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
UINT32 OSXMMEXCPT:1; ///< Operating System Support for\r
///< Unmasked SIMD Floating Point\r
///< Exceptions.\r
UINT32 OSXMMEXCPT:1; ///< Operating System Support for\r
///< Unmasked SIMD Floating Point\r
///< Exceptions.\r
- UINT32 Reserved_2:1; ///< Reserved.\r
+ UINT32 UMIP:1; ///< User-Mode Instruction Prevention.\r
UINT32 LA57:1; ///< Linear Address 57bit.\r
UINT32 LA57:1; ///< Linear Address 57bit.\r
- UINT32 VMXE:1; ///< VMX Enable\r
- UINT32 Reserved_1:18; ///< Reserved.\r
+ UINT32 VMXE:1; ///< VMX Enable.\r
+ UINT32 SMXE:1; ///< SMX Enable.\r
+ UINT32 Reserved_3:1; ///< Reserved.\r
+ UINT32 FSGSBASE:1; ///< FSGSBASE Enable.\r
+ UINT32 PCIDE:1; ///< PCID Enable.\r
+ UINT32 OSXSAVE:1; ///< XSAVE and Processor Extended States Enable.\r
+ UINT32 Reserved_4:1; ///< Reserved.\r
+ UINT32 SMEP:1; ///< SMEP Enable.\r
+ UINT32 SMAP:1; ///< SMAP Enable.\r
+ UINT32 PKE:1; ///< Protection-Key Enable.\r
+ UINT32 Reserved_5:9; ///< Reserved.\r
} Bits;\r
UINTN UintN;\r
} IA32_CR4;\r
} Bits;\r
UINTN UintN;\r
} IA32_CR4;\r