summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common/ToolDefClassObject.py
diff options
context:
space:
mode:
authorSong, BinX <binx.song@intel.com>2017-12-25 11:11:21 +0800
committerEric Dong <eric.dong@intel.com>2017-12-27 15:31:34 +0800
commit9d02c34f0465295e200c866754340772a2b55d93 (patch)
tree53e883d1fc85c2151527a143ecd705ce56a08f87 /BaseTools/Source/Python/Common/ToolDefClassObject.py
parenta1d1422dd47ced228b0aad541a8bdfcaaeaa807a (diff)
downloadedk2-9d02c34f0465295e200c866754340772a2b55d93.tar.gz
edk2-9d02c34f0465295e200c866754340772a2b55d93.tar.bz2
edk2-9d02c34f0465295e200c866754340772a2b55d93.zip
UefiCpuPkg: Update AESNI support checking logic
With correct model CPU, current checking logic will always execute AsmReadMsr64 operation and then check ECX.AESNI[bit 25] = 1. Update checking logic to check ECX.AESNI[bit 25] = 1 first and then do AsmReadMsr64 operation. Cc: Eric Dong <eric.dong@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bell Song <binx.song@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/ToolDefClassObject.py')
0 files changed, 0 insertions, 0 deletions