coreboot-kgpe-d16/src/include
Aaron Durbin bebf66909a x86: use boot state callbacks to disable rom cache
On x86 systems there is a concept of cachings the ROM. However,
the typical policy is that the boot cpu is the only one with
it enabled. In order to ensure the MTRRs are the same across cores
the rom cache needs to be disabled prior to OS resume or boot handoff.
Therefore, utilize the boot state callbacks to schedule the disabling
of the ROM cache at the ramstage exit points.

Change-Id: I4da5886d9f1cf4c6af2f09bb909f0d0f0faa4e62
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/3138
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2013-05-01 07:12:17 +02:00
..
boot Eliminate use of pointers in coreboot table 2013-04-20 05:18:15 +02:00
console spkmodem console 2013-04-18 22:47:59 +02:00
cpu x86: use boot state callbacks to disable rom cache 2013-05-01 07:12:17 +02:00
device exynos5: Re-factor I2C code 2013-04-10 00:01:02 +02:00
pc80 GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
smp Clean up #ifs 2012-05-08 00:34:34 +02:00
assert.h We call this cache as ram everywhere, so let's call it the same in Kconfig 2010-08-30 17:53:13 +00:00
bootstate.h acpi: split resume check and actual resume code 2013-05-01 07:07:33 +02:00
cbfs.h coreboot: dynamic cbmem requirement 2013-03-22 00:13:42 +01:00
cbfs_core.h Extend CBFS to support arbitrary ROM source media. 2013-01-30 17:58:32 +01:00
cbmem.h boot: remove cbmem_post_handling() 2013-05-01 07:11:22 +02:00
delay.h Clean up #ifs 2012-05-08 00:34:34 +02:00
edid.h link/graphics: Add support for EDID 2013-03-20 05:35:50 +01:00
ehci.h Fix usb debug dongle support 2011-10-31 04:06:10 +01:00
elog.h lynxpoint: Fix ELOG logging of power management events 2013-03-21 23:12:11 +01:00
endian.h Extend CBFS to support arbitrary ROM source media. 2013-01-30 17:58:32 +01:00
fallback.h Make set_boot_successful depend on PC80_SYSTEM 2012-11-30 21:33:35 +01:00
gpio.h add gpio.h for generic GPIO-related definitions 2013-02-04 05:38:32 +01:00
inttypes.h x86: provide more C standard environment 2013-03-20 04:20:25 +01:00
ip_checksum.h Add support for the console over Ethernet (through PCI NE2000). 2010-07-16 20:02:09 +00:00
kconfig.h Add config_enabled() from Linux 2012-05-08 00:36:09 +02:00
lib.h x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
memrange.h memrange: add 2 new range_entry routines 2013-03-29 20:11:28 +01:00
reset.h Clean up #ifs 2012-05-08 00:34:34 +02:00
rmodule.h rmodule: add vboot rmodule type 2013-03-22 00:14:50 +01:00
romstage_handoff.h coreboot: dynamic cbmem requirement 2013-03-22 00:13:42 +01:00
sdram_mode.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
smbios.h Extend smbios api to allow runtime change of mainboard serial and version 2012-07-25 14:13:04 +02:00
spd.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
spd_ddr2.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
spi-generic.h spi-generic.h: Adapt include guard 2013-02-11 22:34:17 +01:00
spi_flash.h Whitespace: Replace tab character in license text with two spaces 2013-02-20 23:30:45 +01:00
stddef.h stddef.h: Add standard defines for KiB, MiB, GiB, and TiB 2013-03-16 16:15:01 +01:00
stdlib.h stdlib: add ALIGN_UP and ALIGN_DOWN macros 2013-03-29 19:54:47 +01:00
string.h string: Add STRINGIFY macro 2013-05-01 03:25:04 +02:00
swab.h Add macros for 64bit byte order swapping 2011-10-21 14:13:19 +02:00
time.h Exynos5250: add a microsecond timer 2013-04-13 00:47:27 +02:00
timestamp.h timestamp: add vboot check points 2013-03-22 00:14:18 +01:00
trace.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
types.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
uart.h move uartmem_getbaseaddr() to generic uart header 2013-02-19 19:01:29 +01:00
uart8250.h move uartmem_getbaseaddr() to generic uart header 2013-02-19 19:01:29 +01:00
usb_ch9.h USB Debug Port related license header fixes (trivial). 2010-09-23 18:16:46 +00:00
usbdebug.h USBDEBUG: buffer up to 8 bytes 2012-07-26 15:52:00 +02:00
version.h Rename almost all occurences of LinuxBIOS to coreboot. 2008-01-18 15:08:58 +00:00
watchdog.h watchdog.h: Fix compile time error on disabling watchdog handling 2013-03-12 12:06:43 +01:00