]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg CpuCommonFeaturesLib: Remove CPU generation check
authorStar Zeng <star.zeng@intel.com>
Thu, 16 May 2019 10:30:03 +0000 (18:30 +0800)
committerStar Zeng <star.zeng@intel.com>
Sat, 18 May 2019 05:55:50 +0000 (13:55 +0800)
commit41ac2076a7c6c6d7dc6a1f66f7e2c6c0bb4572cb
treeefec387320774685f580dd2bf7d2822073ff5024
parent1887b995a3598795dba8704f8eb964a644f21658
UefiCpuPkg CpuCommonFeaturesLib: Remove CPU generation check

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1679

The checking to CpuInfo->CpuIdVersionInfoEcx.Bits.AESNI is enough,
the checking to CPU generation could be removed, then the code
could be reused by more platforms.

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Chandana Kumar <chandana.c.kumar@intel.com>
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
UefiCpuPkg/Library/CpuCommonFeaturesLib/Aesni.c