diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-07-13 22:48:22 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-07-15 16:09:14 +0000 |
commit | acd13985b50adbdb3a5ea8178e59de20986da01b (patch) | |
tree | 17398b37e72012c8074e106955b35b74760c2fb3 /src/vendorcode/amd/agesa/f16kb/gcccar.inc | |
parent | bfe6bcab746aff5c765b901c8f8e5a1e23bad186 (diff) |
vendorcode/amd/agesa: Sync irrelevant differences
After modifications:
f12 and f14 are identical
f10 is f14 with invd -> wbinvd modification added to HOOK_F10
f15 is f10 with invd -> wbinvd modification added to HOOK_F15
f15tn is f15 modified to use with TN / KV / KM
Change-Id: I4006fe09c134e5b51f3ee3772d6d150321d27b57
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/20577
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/vendorcode/amd/agesa/f16kb/gcccar.inc')
-rw-r--r-- | src/vendorcode/amd/agesa/f16kb/gcccar.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vendorcode/amd/agesa/f16kb/gcccar.inc b/src/vendorcode/amd/agesa/f16kb/gcccar.inc index 87e609087b..592ee6d00e 100644 --- a/src/vendorcode/amd/agesa/f16kb/gcccar.inc +++ b/src/vendorcode/amd/agesa/f16kb/gcccar.inc @@ -42,7 +42,12 @@ BSP_STACK_SIZE = 0x10000 /* 64KB for BSP core CORE0_STACK_BASE_ADDR = 0x80000 /* Base address for primary cores stack */ CORE0_STACK_SIZE = 0x4000 /* 16KB for primary cores */ CORE1_STACK_BASE_ADDR = 0x40000 /* Base address for AP cores */ + +#ifdef __x86_64__ +CORE1_STACK_SIZE = 0x2000 /* 8KB for each AP cores */ +#else CORE1_STACK_SIZE = 0x1000 /* 4KB for each AP cores */ +#endif APIC_BASE_ADDRESS = 0x0000001B APIC_BSC = 8 /* Boot Strap Core */ @@ -1298,4 +1303,3 @@ ClearTheStack: # Stack base is in SS, stack pointer is xor %eax, %eax .endm - |