Skip to content

Commit c380ee9

Browse files
mingqiangchilijinxia
authored andcommitted
hv:Revise sanitized page size
now the size of sanitized_page is 32KB, revise it to 4KB. Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
1 parent a5fd552 commit c380ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hypervisor/arch/x86/mmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include <reloc.h>
3232

3333
static void *ppt_mmu_pml4_addr;
34-
static void *sanitized_page[CPU_PAGE_SIZE];
34+
static uint8_t sanitized_page[PAGE_SIZE] __aligned(PAGE_SIZE);
3535

3636
static struct vmx_capability {
3737
uint32_t ept;

0 commit comments

Comments
 (0)