mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-04 02:14:45 +00:00
refine in cpu_caps.c
- we should not use print function before tsc setup - is_ept_supported is internal API - add is_apicv_supported to check apicv feature - rename some functions to verb+obj format or better name Changes to be committed: modified: arch/x86/cpu.c modified: arch/x86/cpu_caps.c modified: include/arch/x86/cpu_caps.h Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -63,16 +63,15 @@ bool has_monitor_cap(void);
|
||||
bool is_apicv_reg_virtualization_supported(void);
|
||||
bool is_apicv_intr_delivery_supported(void);
|
||||
bool is_apicv_posted_intr_supported(void);
|
||||
bool is_ept_supported(void);
|
||||
bool cpu_has_cap(uint32_t bit);
|
||||
bool cpu_has_vmx_ept_cap(uint32_t bit_mask);
|
||||
bool cpu_has_vmx_vpid_cap(uint32_t bit_mask);
|
||||
void get_cpu_capabilities(void);
|
||||
void get_cpu_name(void);
|
||||
void cpu_cap_detect(void);
|
||||
bool check_cpu_security_config(void);
|
||||
void init_cpu_capabilities(void);
|
||||
void init_cpu_model_name(void);
|
||||
void detect_cpu_cap(void);
|
||||
bool check_cpu_security_cap(void);
|
||||
void cpu_l1d_flush(void);
|
||||
int hardware_detect_support(void);
|
||||
int detect_hardware_support(void);
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
|
||||
|
Reference in New Issue
Block a user