diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-11-01 23:57:24 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-23 14:29:01 +0000 |
commit | 4d75dbd1c1d6362c002a26a5c4e6de74b2816cdf (patch) | |
tree | 2c396dd953e83ba55e33990cc3389129915db239 /src/cpu/x86/Kconfig | |
parent | 96b49b5acbf5328ce2d317a7393db588a928926e (diff) |
cpu/x86: Set up a separate stack for APs
APs use a lot less stack, so set up a separate stack for those in .bss.
Now that CPU_INFO_V2 is the only code path that is used, there is no
need to align stacks in c_start.S.
Change-Id: I7a681a2e3003da0400843daa5d6d6180d952abf5
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69123
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/cpu/x86/Kconfig')
-rw-r--r-- | src/cpu/x86/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig index 2253e18ade..7e5817537e 100644 --- a/src/cpu/x86/Kconfig +++ b/src/cpu/x86/Kconfig @@ -202,4 +202,11 @@ config RESERVE_MTRRS_FOR_OS However, modern OSes use PAT to control cacheability instead of using MTRRs. +config AP_STACK_SIZE + hex + default 0x800 + help + This is the amount of stack each AP needs. The BSP stack size can be + larger and is set with STACK_SIZE. + endif # ARCH_X86 |