mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-28 22:18:04 +00:00
hv: bzimage_loader clear zero-page with 4k size
MEM_4k is used to create zero-page, clear it with same size. Tracked-On: #8765 Signed-off-by: Haoyu Tang <haoyu.tang@intel.com>
This commit is contained in:
parent
bff0493d25
commit
1f5de47c18
@ -274,7 +274,7 @@ static uint64_t create_zero_page(struct acrn_vm *vm, uint64_t load_params_gpa)
|
||||
|
||||
stac();
|
||||
/* clear the zeropage */
|
||||
(void)memset(zeropage, 0U, MEM_2K);
|
||||
(void)memset(zeropage, 0U, MEM_4K);
|
||||
|
||||
#ifdef CONFIG_MULTIBOOT2
|
||||
if (is_service_vm(vm)) {
|
||||
|
Loading…
Reference in New Issue
Block a user