diff options
author | Hao Wu <hao.a.wu@intel.com> | 2018-12-21 10:34:20 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2018-12-25 09:16:29 +0800 |
commit | b70ec0de46d052d2debf0c8e2159addf9628604f (patch) | |
tree | b0e4d8ea5ec6fedea6bfd1f42b012730d488cc50 /BaseTools/Source/Python/sitecustomize.py | |
parent | 49395ea0bc69c30f753f93877e6cc82b8ed0212b (diff) | |
download | edk2-b70ec0de46d052d2debf0c8e2159addf9628604f.tar.gz edk2-b70ec0de46d052d2debf0c8e2159addf9628604f.tar.bz2 edk2-b70ec0de46d052d2debf0c8e2159addf9628604f.zip |
UefiCpuPkg/PiSmmCpuDxeSmm: 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>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions