mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 02:08:04 +00:00
hv: pgtable: remove get_default_access_right API
Use default_access_right field to replace get_default_access_right API. Tracked-On: #5830 Signed-off-by: Li Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -67,9 +67,9 @@ struct page_pool {
|
||||
};
|
||||
|
||||
struct memory_ops {
|
||||
uint64_t default_access_right;
|
||||
struct page_pool *pool;
|
||||
bool (*large_page_support)(enum _page_table_level level, uint64_t prot);
|
||||
uint64_t (*get_default_access_right)(void);
|
||||
uint64_t (*pgentry_present)(uint64_t pte);
|
||||
void (*clflush_pagewalk)(const void *p);
|
||||
void (*tweak_exe_right)(uint64_t *entry);
|
||||
|
Reference in New Issue
Block a user