coreboot/src/arch
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
..
arm src: Move {pci,pnp}_devfn_t to common 'device/pci_type.h' 2019-01-04 12:13:20 +00:00
arm64 src: Move {pci,pnp}_devfn_t to common 'device/pci_type.h' 2019-01-04 12:13:20 +00:00
mips src: Move {pci,pnp}_devfn_t to common 'device/pci_type.h' 2019-01-04 12:13:20 +00:00
ppc64 arch/power8: Rename to ppc64 2018-11-30 20:02:17 +00:00
riscv arch/riscv: Don't set FPU state to "dirty" 2018-12-19 05:46:07 +00:00
x86 arch/x86: Enforce CPU stack alignment 2019-01-14 11:59:51 +00:00