mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 17:46:15 +00:00
hv: cleanup vmcs.h
-- move 'RFLAGS_AC' to cpu.h -- move 'VMX_SUPPORT_UNRESTRICTED_GUEST' to msr.h and rename it to 'MSR_IA32_MISC_UNRESTRICTED_GUEST' -- move 'get_vcpu_mode' to vcpu.h -- remove deadcode 'vmx_eoi_exit()' Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
bd09f471a6
commit
2310d99ebf
@@ -563,6 +563,9 @@
|
||||
#define MSR_IA32_MISC_ENABLE_xTPR (1UL << 23U)
|
||||
#define MSR_IA32_MISC_ENABLE_XD_DISABLE (1UL << 34U)
|
||||
|
||||
/* Miscellaneous data */
|
||||
#define MSR_IA32_MISC_UNRESTRICTED_GUEST (1U<<5U)
|
||||
|
||||
#ifndef ASSEMBLER
|
||||
static inline bool pat_mem_type_invalid(uint64_t x)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user