[edk2-devel] [PATCH 0/2] Reconstruction on SmmCpuFeaturesLib

Chang, Abner via groups.io abner.chang=amd.com at groups.io
Fri Sep 30 09:51:56 UTC 2022


From: Abner Chang <abner.chang at amd.com>

This patch set is part of below BZ 3860:
https://bugzilla.tianocore.org/show_bug.cgi?id=3860

This is the reconstruction on SmmCpuFeaturesLib to accommodate AMD
implementation of SmmCpuFeaturesLib. Intel specific implementation
is stripped away from SmmCpuFeaturesLibCommon.c and put into
IntelSmmCpuFeaturesLib.c.

This patch set is the preparation for AMD SmmCpuFeaturesLib
upstream. In the follow up pacthes, AMD will create a new INF file
SmmAmdSmmCpuFeaturesLib.inf under \SmmCpuFeaturesLib, 
AmdSmmCpuFeaturesLib.c for the AMD specific implementation.

Signed-off-by: Abner Chang <abner.chang at amd.com>
Cc: Abdul Lateef Attar <abdattar at amd.com>
Cc: Garrett Kirkendall <garrett.kirkendall at amd.com>
Cc: Paul Grimes <paul.grimes at amd.com>
Cc: Eric Dong <eric.dong at intel.com>
Cc: Ray Ni <ray.ni at intel.com>
Cc: Rahul Kumar <rahul1.kumar at intel.com>

Abner Chang (2):
  UefiCpuPkg/SmmCpuFeaturesLib: Abstract arch dependent code
  UefiCpuPkg/SmmCpuFeaturesLib: Clean up header file inclusion in
    SmmStm.c

 .../SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf   |   1 +
 .../SmmCpuFeaturesLibStm.inf                  |   1 +
 .../StandaloneMmCpuFeaturesLib.inf            |   1 +
 .../SmmCpuFeaturesLib/CpuFeaturesLib.h        |   6 +
 .../IntelSmmCpuFeaturesLib.c                  | 403 ++++++++++++++++++
 .../SmmCpuFeaturesLibCommon.c                 | 391 +----------------
 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c |   3 -
 7 files changed, 413 insertions(+), 393 deletions(-)
 create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/IntelSmmCpuFeaturesLib.c

-- 
2.37.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#94567): https://edk2.groups.io/g/devel/message/94567
Mute This Topic: https://groups.io/mt/94013083/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list