mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 01:54:44 +00:00
hv: mmu: add static paging table allocation for EPT
Add static paging table allocation API for EPT. Note: must configure SOS/UOS_REAM_SIZE exactly as the platform. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -25,6 +25,7 @@ union pgtable_pages_info {
|
||||
struct page *pt_base;
|
||||
} ppt;
|
||||
struct {
|
||||
uint64_t top_address_space;
|
||||
struct page *nworld_pml4_base;
|
||||
struct page *nworld_pdpt_base;
|
||||
struct page *nworld_pd_base;
|
||||
@@ -44,5 +45,6 @@ struct memory_ops {
|
||||
};
|
||||
|
||||
extern const struct memory_ops ppt_mem_ops;
|
||||
void init_ept_mem_ops(struct vm *vm);
|
||||
|
||||
#endif /* PAGE_H */
|
||||
|
||||
Reference in New Issue
Block a user