diff options
author | Rudolf Marek <r.marek@assembler.cz> | 2011-07-02 16:03:24 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2011-07-04 08:36:42 +0200 |
commit | 7f76290e2d085da8975a8a011f93e50a5460645b (patch) | |
tree | e89db510169944028f45ede5b9e8e57f1ac2ff7e /util/msrtool | |
parent | c0458e63d080223c7ee31367b8259f41a8f03405 (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 'util/msrtool')
0 files changed, 0 insertions, 0 deletions