diff options
author | Hao Wu <hao.a.wu@intel.com> | 2018-12-21 10:29:29 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2018-12-25 09:16:04 +0800 |
commit | 107775734d75073782ef9cad8ca32e7278f6c013 (patch) | |
tree | 9a27415b3d186c9ea6f854fc35bc57802c13b17a /MdeModulePkg/Universal/Disk/PartitionDxe | |
parent | 0e8c5d8b3b8dcc58491b6274b8841ff495da9da7 (diff) | |
download | edk2-107775734d75073782ef9cad8ca32e7278f6c013.zip edk2-107775734d75073782ef9cad8ca32e7278f6c013.tar.gz edk2-107775734d75073782ef9cad8ca32e7278f6c013.tar.bz2 |
MdeModulePkg/SmmLockBox: Update to consume SpeculationBarrier
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1417
Since BaseLib API AsmLfence() is a x86 arch specific API and should be
avoided using in generic codes, this commit replaces the usage of
AsmLfence() with arch-generic API SpeculationBarrier().
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Diffstat (limited to 'MdeModulePkg/Universal/Disk/PartitionDxe')
0 files changed, 0 insertions, 0 deletions