coreboot-kgpe-d16/payloads
Marc Jones 987e883e6a Make libpayload alloc() memory pointers volatile
gcc4.6.2 was optimizing the libpayload alloc() function and failing to
reload a pointer after the memory had been manipulated by a pointer in
the inlined function setup(). Change the pointer type to volatile
and now pass it to the setup() function. Also clean up the
declaration so that it isn't cast a bunch times in the function.

Change-Id: I1637bd7bd5d9cf82ac88925cbfe76d319aa3cd82
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Reviewed-on: http://review.coreboot.org/705
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2012-03-10 14:19:42 +01:00
..
bayou Run dos2unix on bayou and remove white space at the end of lines. 2011-10-31 21:29:31 +01:00
coreinfo Eliminate magic numbers 2012-01-07 11:50:16 +01:00
external Move SeaBIOS output out of coreboot source tree 2012-02-07 00:21:03 +01:00
libpayload Make libpayload alloc() memory pointers volatile 2012-03-10 14:19:42 +01:00