]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
UefiCpuPkg/SmmCpuFeaturesLib: Abstract arch dependent code
authorAbner Chang <abner.chang@amd.com>
Mon, 31 Oct 2022 02:37:49 +0000 (10:37 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 2 Nov 2022 07:29:13 +0000 (07:29 +0000)
commitae62a6e44d3df6b6c385ec4a56354d1e4a48ea07
treeabc0e7b52a49e32d21619bde7dab913e1a777b00
parented8bfada039c950e5112f477ba1e1944da0acb5c
UefiCpuPkg/SmmCpuFeaturesLib: Abstract arch dependent code

BZ# 4093: Abstract SmmCpuFeaturesLib for sharing common code

This change stripped away the code that can be
shared with other archs or vendors from Intel
implementation and put in to the common file,
leaves the Intel X86 implementation in the
IntelSmmCpuFeatureLib. Also updates the header
file and INF file.

Signed-off-by: Abner Chang <abner.chang@amd.com>
Cc: Abdul Lateef Attar <abdattar@amd.com>
Cc: Garrett Kirkendall <garrett.kirkendall@amd.com>
Cc: Paul Grimes <paul.grimes@amd.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
UefiCpuPkg/Library/SmmCpuFeaturesLib/CpuFeaturesLib.h
UefiCpuPkg/Library/SmmCpuFeaturesLib/IntelSmmCpuFeaturesLib.c
UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibCommon.c [new file with mode: 0644]
UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf