[coreboot-gerrit] Patch merged into coreboot/master: 15cbbde sandybridge: Use calls rather than asm to call to MRC.
gerrit at coreboot.org
gerrit at coreboot.org
Sun Jan 12 18:04:41 CET 2014
the following patch was just integrated into master:
commit 15cbbdeaa7f5bf3054595ed0ddd922fa8131aff4
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date: Sun Jan 12 14:28:56 2014 +0100
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 at gmail.com>
See http://review.coreboot.org/4675 for details.
-gerrit
More information about the coreboot-gerrit
mailing list