summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/GenFds/GenFds.py
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2018-12-21 10:30:22 +0800
committerHao Wu <hao.a.wu@intel.com>2018-12-25 09:16:11 +0800
commit49395ea0bc69c30f753f93877e6cc82b8ed0212b (patch)
tree2fa8639ce327f41a695c547ccaf918fe1b279a6d /BaseTools/Source/Python/GenFds/GenFds.py
parent107775734d75073782ef9cad8ca32e7278f6c013 (diff)
downloadedk2-49395ea0bc69c30f753f93877e6cc82b8ed0212b.tar.gz
edk2-49395ea0bc69c30f753f93877e6cc82b8ed0212b.tar.bz2
edk2-49395ea0bc69c30f753f93877e6cc82b8ed0212b.zip
MdeModulePkg/Variable: 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(). Please note that speculation execution barriers are intended to be asserted for SMM codes, hence, this commit still preserve an empty implementation of the speculation execution barrier for the DXE codes. Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Star Zeng <star.zeng@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 'BaseTools/Source/Python/GenFds/GenFds.py')
0 files changed, 0 insertions, 0 deletions