coreboot/src
Vladimir Serbinenko c2ee6801e8 sandybridge: Use calls rather than asm to call to MRC.
Using asm as it's done currently is unsafe because caller-saved registers
are not declared as clobbered.

Using real call is nicer.

regparm((1)) ensures that argument is passed in %eax as expected.

Change-Id: I7449182582eaa53d4e473bc834b472edd8ee0d30
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/4675
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2014-01-12 18:04:38 +01:00
..
arch arch/x86/acpi/globutil.asl: Make control method S2BF serialized 2014-01-12 03:44:55 +01:00
console Remove sprintf 2014-01-10 18:08:31 +01:00
cpu CBFS: use cbfs_get_file_content whenever possible rather than cbfs_get_file 2014-01-12 17:41:58 +01:00
device lib/cbfs_core.c: Supply size of file as well in cbfs_get_file_content 2014-01-12 17:41:02 +01:00
drivers lib/cbfs_core.c: Supply size of file as well in cbfs_get_file_content 2014-01-12 17:41:02 +01:00
ec ec/lenovo/h8: Add backlight control. 2014-01-12 18:04:27 +01:00
include lib/cbfs_core.c: Supply size of file as well in cbfs_get_file_content 2014-01-12 17:41:02 +01:00
lib lib/cbfs_core.c: Supply size of file as well in cbfs_get_file_content 2014-01-12 17:41:02 +01:00
mainboard ec/lenovo/h8: Make trackpoint enable a CMOS option. 2014-01-12 18:04:15 +01:00
northbridge sandybridge: Use calls rather than asm to call to MRC. 2014-01-12 18:04:38 +01:00
southbridge ibexpeak / bd82x6x: Make SATA mode user-visible option. 2014-01-12 18:03:23 +01:00
superio superio: Uncomment the w83627uhg UART clock source initialization 2014-01-03 18:47:22 +01:00
vendorcode CBFS: use cbfs_get_file_content whenever possible rather than cbfs_get_file 2014-01-12 17:41:58 +01:00
Kconfig AMD K8 (rev-F): Always have RAMINIT_SYSINFO 2013-12-29 19:45:50 +01:00