coreboot-kgpe-d16/src
Aaron Durbin ef4275bc2e x86: protect against abi assumptions from compiler
Some of the functions called from assembly assume the standard
x86 32-bit ABI of passing all arguments on the stack. However,
that calling ABI can be changed by compiler flags. In order to
protect against the current implicit calling convention annotate
the functions called from assembly with the cdecl function
attribute. That tells the compiler to use the stack based parameter
calling convention.

Change-Id: I83625e1f92c6821a664b191b6ce1250977cf037a
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/2794
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2013-03-21 22:47:42 +01:00
..
arch coreboot: introduce CONFIG_RELOCATABLE_RAMSTAGE 2013-03-21 22:28:28 +01:00
console Fix race condition building console code 2013-03-21 22:08:05 +01:00
cpu x86: protect against abi assumptions from compiler 2013-03-21 22:47:42 +01:00
device ramstage: prepare for relocation 2013-03-21 18:01:38 +01:00
drivers GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
ec Support ITE IT8518 embedded controller running Quanta's firmware 2013-03-14 04:54:21 +01:00
include x86: protect against abi assumptions from compiler 2013-03-21 22:47:42 +01:00
lib coreboot: introduce CONFIG_RELOCATABLE_RAMSTAGE 2013-03-21 22:28:28 +01:00
mainboard Supermicro H8SCM: Use SPD read code from F15 wrapper 2013-03-20 05:54:51 +01:00
northbridge haswell: drop memory reservation for sandybridge GPU bug 2013-03-20 04:17:35 +01:00
southbridge lynxpoint: Add cbfs_load_payload() implementation 2013-03-19 20:21:49 +01:00
superio Super I/O W83627DHG: Enable UART B by redirecting pins 2013-03-15 17:51:48 +01:00
vendorcode f15tn/Include/OptionIdsInstall.h: Remove idle … || ) 2013-03-20 17:50:02 +01:00
Kconfig coreboot: introduce CONFIG_RELOCATABLE_RAMSTAGE 2013-03-21 22:28:28 +01:00