summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/gm45
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-01-12 14:28:56 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-01-12 18:04:38 +0100
commitc2ee6801e89b3d4f346e075a034e04716b91d0b7 (patch)
tree739aa150acc68de5ba79c913d8184bab83abc302 /src/northbridge/intel/gm45
parentf3c3dae580d92feba8fe07f407c89843ea9721cc (diff)
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>
Diffstat (limited to 'src/northbridge/intel/gm45')
0 files changed, 0 insertions, 0 deletions