summaryrefslogtreecommitdiff
path: root/src/arch/x86/include
diff options
context:
space:
mode:
authorRudolf Marek <r.marek@assembler.cz>2011-07-02 16:03:24 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2011-07-04 08:36:42 +0200
commit7f76290e2d085da8975a8a011f93e50a5460645b (patch)
treee89db510169944028f45ede5b9e8e57f1ac2ff7e /src/arch/x86/include
parentc0458e63d080223c7ee31367b8259f41a8f03405 (diff)
Small SMM fixups
Align the spinlock to the 4 byte boundary (CPU will guarantee atomicity of XCHG). While at it add the PAUSE instruction to spinlock loop to hint the CPU we are just spinlocking. The rep nop could not be used because "as" complains that rep is used without string instructions. Change-Id: I325cd83de3a6557b1bee6758bc151bc81e874f8c Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Reviewed-on: http://review.coreboot.org/81 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/arch/x86/include')
0 files changed, 0 insertions, 0 deletions