coreboot-kgpe-d16/src/cpu/x86/lapic
Kyösti Mälkki 2fbb6773e3 arch/x86: Enforce CPU stack alignment
When rmodule is loaded CPU stack alignment is only guaranteed
to 4kiB. Implementation of cpu_info() requires that each
CPU sees its stack aligned to CONFIG_STACK_SIZE.

Add one spare CPU for the stack reserve, such that alignment can
be enforced runtime.

Change-Id: Ie04956c64df0dc7bb156002d3d4f2629f92b340e
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/26302
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-01-14 11:59:51 +00:00
..
apic_timer.c cpu/x86/lapic/apic_timer.c: Compile the same code for all stages 2018-08-03 09:13:20 +00:00
boot_cpu.c src: Replace common MSR addresses with macros 2018-11-08 11:35:26 +00:00
lapic.c src/cpu: Remove unneeded includes 2018-06-01 16:27:00 +00:00
lapic_cpu_init.c arch/x86: Enforce CPU stack alignment 2019-01-14 11:59:51 +00:00
Makefile.inc cpu/x86/lapic/apic_timer.c: Compile the same code for all stages 2018-08-03 09:13:20 +00:00
secondary.S cpu/x86 asm: Just use the correct op suffix 2017-08-31 15:29:52 +00:00