mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
mmu: refine the checking of entry present
- change the input param of check_page_table_present from struct map_params to page_table_type - check EPT present bits misconfiguration in check_page_table_present - change var "table_present" to more suitable name "entry_present" Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Tian, Kevin <kevin.tian@intel.com>
This commit is contained in:
@@ -280,6 +280,7 @@ enum _page_table_level {
|
||||
enum _page_table_present {
|
||||
PT_NOT_PRESENT = 0,
|
||||
PT_PRESENT = 1,
|
||||
PT_MISCFG_PRESENT = 2,
|
||||
};
|
||||
|
||||
/* Page size */
|
||||
|
Reference in New Issue
Block a user