mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
hv: tlb: wrap common APIs
Wrap two common TLB APIs: flush_tlb and flush_tlb_range. Tracked-On: #5830 Signed-off-by: Li Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -200,6 +200,12 @@ static inline uint64_t get_pae_pdpt_addr(uint64_t cr3)
|
||||
return (cr3 & 0xFFFFFFE0UL);
|
||||
}
|
||||
|
||||
/*
|
||||
* flush TLB only for the specified page with the address
|
||||
*/
|
||||
void flush_tlb(uint64_t addr);
|
||||
void flush_tlb_range(uint64_t addr, uint64_t size);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user