coreboot-kgpe-d16/src/include/cpu/x86
Aaron Durbin f4258dec63 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>
2017-11-02 15:46:19 +00:00
..
bist.h
cache.h
cr.h
gdt.h
lapic.h arch/x86: Fix ugly NEED_LAPIC use 2017-08-19 15:30:40 +00:00
lapic_def.h
mp.h cpu/x86/mp_init: remove adjust_cpu_apic_entry() 2017-09-11 01:17:45 +00:00
msr.h
mtrr.h cpu/x86/mtrr: fix fls() and fms() inline assembly 2017-11-02 15:46:19 +00:00
name.h
pae.h
post_code.h src/include: Add guards on all header files 2017-08-01 23:04:15 +00:00
smm.h cpu/x86: add AMD registers to SMM save state 2017-10-19 15:13:18 +00:00
tsc.h src/include: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:55:05 +00:00