coreboot-kgpe-d16/src/cpu
Arthur Heymans 340e4b8090 lib/cbmem_top: Add a common cbmem_top implementation
This adds a common cbmem_top implementation to all coreboot target.

In romstage a static variable will be used to cache the result of
cbmem_top_romstage.

In ramstage if CONFIG_RAMSTAGE_CBMEM_TOP_ARG is set a global variable
needs to be populated by the stage entry with the value passed via the
calling arguments. if CONFIG_RAMSTAGE_CBMEM_TOP_ARG is not set the
same implementation as will be used as in romstage.

Change-Id: Ie767542ee25483acc9a56785ce20a885e9a63098
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36273
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2019-11-01 11:44:51 +00:00
..
amd lib/cbmem_top: Add a common cbmem_top implementation 2019-11-01 11:44:51 +00:00
armltd
intel cpu/x86: make set_msr_bit publicly available 2019-10-31 10:35:42 +00:00
qemu-power8 AUTHORS: Move src/cpu copyrights into AUTHORS file 2019-09-10 12:51:22 +00:00
qemu-x86 cpu/qemu-x86: Enable TSC_MONOTONIC_TIMER 2019-09-18 13:01:03 +00:00
ti lib/cbmem_top: Add a common cbmem_top implementation 2019-11-01 11:44:51 +00:00
via src: Remove unused '#include <cpu/cpu.h>' 2019-10-28 11:56:38 +00:00
x86 arch/x86/*.S: use defines instead of hardcoded values 2019-10-29 19:41:19 +00:00
Kconfig amdfam10-15: Rename DCACHE_BSP_STACK_SIZE 2019-08-18 08:09:21 +00:00
Makefile.inc Untangle CBFS microcode updates 2019-01-10 09:24:02 +00:00