TSEG is not accessible in ring 0 after it is locked in ramstage, in contrast with cbmem which remains accessible. Assuming SMM does not touch the cache this is a good region to cache stages. Change-Id: I89cbfb6ece62f554ac676fe686115e841d2c1e40 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/26298 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
32 lines
796 B
Makefile
32 lines
796 B
Makefile
ramstage-y += model_2065x_init.c
|
|
subdirs-y += ../../x86/name
|
|
subdirs-y += ../../x86/cache
|
|
subdirs-y += ../../x86/mtrr
|
|
subdirs-y += ../../x86/lapic
|
|
subdirs-y += ../../x86/tsc
|
|
subdirs-y += ../../intel/turbo
|
|
subdirs-y += ../../intel/microcode
|
|
subdirs-y += ../../x86/smm
|
|
subdirs-y += ../smm/gen1
|
|
subdirs-y += ../common
|
|
|
|
ramstage-y += tsc_freq.c
|
|
romstage-y += tsc_freq.c
|
|
postcar-y += tsc_freq.c
|
|
smm-$(CONFIG_HAVE_SMI_HANDLER) += tsc_freq.c
|
|
|
|
ramstage-y += acpi.c
|
|
|
|
smm-$(CONFIG_HAVE_SMI_HANDLER) += finalize.c
|
|
|
|
romstage-y += stage_cache.c
|
|
ramstage-y += stage_cache.c
|
|
postcar-y += stage_cache.c
|
|
|
|
cpu_microcode_bins += 3rdparty/blobs/cpu/intel/model_2065x/microcode.bin
|
|
|
|
cpu_incs-y += $(src)/cpu/intel/car/non-evict/cache_as_ram.S
|
|
postcar-y += ../car/non-evict/exit_car.S
|
|
|
|
romstage-y += ../car/romstage.c
|