mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-11 23:51:08 +00:00
Sometimes we need to invalidate cached translation information for guest when change some bits in CR0/CR4 which related to paging. Here're two cases: 1. If there change some bits to enable/disable paging (mode) or access rights. For CR0: PG/WP/CD/NW; For CR4: PGE/PSE/PAE/SMEP/SMAP/PKE 2. When guest using PAE paging, we should reload the PDPTE registers sometimes, detail in SDM Vol 3 Chap 4.4.1 and Chap 4.11.1 Tracked-On: #1379 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
36 KiB
36 KiB