summaryrefslogtreecommitdiff
path: root/payloads/bayou/menu.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2017-11-01 15:47:05 -0600
committerAaron Durbin <adurbin@chromium.org>2017-11-02 15:46:19 +0000
commitf4258dec633d276868aa3cce66e0111a8a7d57d3 (patch)
treed50a241496879843c3ed1b9d170dcc9ce6ff8a84 /payloads/bayou/menu.c
parent383ef6eef88fb285b3ba07a5d935e9285398b3fe (diff)
cpu/x86/mtrr: fix fls() and fms() inline assembly
The x86 bsf and bsr instructions only allow for a memory or register operand. The 'g' constraint includes immediate operands which the compiler could choose to emit for the instruction. However, the assembler will rightfully complain because the instruction with an immediate operand is illegal. Fix the constraints to bsf and bsr to only include memory or registers. Change-Id: Idea7ae7df451eb69dd30208ebad7146ca01f6cba Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/22291 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'payloads/bayou/menu.c')
0 files changed, 0 insertions, 0 deletions