the following patch was just integrated into master: commit 6974e425a31b1c798dd05e346e9ca4521e31079f Author: Rudolf Marek r.marek@assembler.cz Date: Sat Jul 2 16:03:24 2011 +0200
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
See http://review.coreboot.org/81 for details.
-gerrit