mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 16:57:20 +00:00
mmu: refine function check_mmu_1gb_support
change its input from map_params to page_table_type, and make it as a public API. Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Xu, Anthony <anthony.xu@intel.com>
This commit is contained in:
@@ -315,6 +315,7 @@ struct mem_io_node {
|
||||
};
|
||||
|
||||
uint64_t get_paging_pml4(void);
|
||||
bool check_mmu_1gb_support(int page_table_type);
|
||||
void *alloc_paging_struct(void);
|
||||
void free_paging_struct(void *ptr);
|
||||
void enable_paging(uint64_t pml4_base_addr);
|
||||
|
Reference in New Issue
Block a user