We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee066a7 commit c233bf5Copy full SHA for c233bf5
hypervisor/arch/x86/trampoline.c
@@ -45,6 +45,7 @@ void write_trampoline_stack_sym(uint16_t pcpu_id)
45
hva = (uint64_t *)(hpa2hva(trampoline_start16_paddr) + trampoline_relo_addr(secondary_cpu_stack));
46
47
stack_sym_addr = (uint64_t)&per_cpu(stack, pcpu_id)[CONFIG_STACK_SIZE - 1];
48
+ stack_sym_addr &= ~(CPU_STACK_ALIGN - 1UL);
49
*hva = stack_sym_addr;
50
51
clflush(hva);
0 commit comments