mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-19 10:34:07 +00:00
for x86, when using a new page to set up page table, sanitize to specific hpa page address is needed, however, for other arch, sanitized to 0 is fine. To avoid duplicate memory setting at the time of alloc_page and sanitize pte, replace memset in alloc_page with sanitized pte operation. Tracked-On: #8831 Signed-off-by: hangliu1 <hang1.liu@intel.com> Reviewed-by: Fei Li <fei1.li@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>