audk/UefiCpuPkg/PiSmmCpuDxeSmm
Jiaxin Wu 0de7882b46 UefiCpuPkg/PiSmmCpuDxeSmm: Simplify SMM Profile Size Calculation
The motivation of this change is to simplify the logic in
StandaloneMmIpl when allocating the memory for SMM profile data.
IPL does not need to detect the CPU feature regarding MSR DS
Area. That change requires the PCD value contains the MSR DS
Area. So, the size of SmmProfileData will be simplified to the
PcdCpuSmmProfileSize directly.

mMsrDsAreaSize will be within the PcdCpuSmmProfileSize if
mBtsSupported is TRUE.

Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Dun Tan <dun.tan@intel.com>
Cc: Hongbin1 Zhang <hongbin1.zhang@intel.com>
Cc: Wei6 Xu <wei6.xu@intel.com>
Cc: Yuanhao Xie <yuanhao.xie@intel.com>
2024-08-28 15:25:27 +00:00
..
Ia32 UefiCpuPkg/PiSmmCpuDxeSmm: Avoid PcdCpuSmmProfileEnable check in MM 2024-08-28 15:25:27 +00:00
X64 UefiCpuPkg/PiSmmCpuDxeSmm: Avoid PcdCpuSmmProfileEnable check in MM 2024-08-28 15:25:27 +00:00
Cet.inc UefiCpuPkg: Add macro definitions for CET feature for NASM files. 2023-12-07 09:43:43 +00:00
CpuS3.c UefiCpuPkg/PiSmmCpuDxeSmm: Move GetAcpiS3EnableFlag into DxeSmm code 2024-08-28 15:25:27 +00:00
CpuService.c UefiCpuPkg/PiSmmCpuDxeSmm: Cleanup SMM_CPU_SYNC_MODE 2024-08-28 15:25:27 +00:00
CpuService.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MpService.c UefiCpuPkg/PiSmmCpuDxeSmm: Avoid PcdCpuSmmProfileEnable check in MM 2024-08-28 15:25:27 +00:00
NonMmramMapDxeSmm.c UefiCpuPkg/PiSmmCpuDxeSmm: Simplify SMM Profile Size Calculation 2024-08-28 15:25:27 +00:00
NonMmramMapStandaloneMm.c UefiCpuPkg/PiSmmCpuDxeSmm: Avoid PcdCpuSmmProfileEnable check in MM 2024-08-28 15:25:27 +00:00
PiSmmCpuCommon.c UefiCpuPkg/PiSmmCpuDxeSmm: Avoid PcdCpuSmmProfileEnable check in MM 2024-08-28 15:25:27 +00:00
PiSmmCpuCommon.h UefiCpuPkg/PiSmmCpuDxeSmm: Simplify SMM Profile Size Calculation 2024-08-28 15:25:27 +00:00
PiSmmCpuDxeSmm.c UefiCpuPkg/PiSmmCpuDxeSmm: Avoid PcdCpuSmmProfileEnable check in MM 2024-08-28 15:25:27 +00:00
PiSmmCpuDxeSmm.inf UefiCpuPkg/PiSmmCpuDxeSmm: Use SMM Variable to set SmmProfileBase 2024-08-28 15:25:27 +00:00
PiSmmCpuDxeSmm.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
PiSmmCpuDxeSmmExtra.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
PiSmmCpuStandaloneMm.c UefiCpuPkg/PiSmmCpuDxeSmm: Avoid PcdCpuSmmProfileEnable check in MM 2024-08-28 15:25:27 +00:00
PiSmmCpuStandaloneMm.inf UefiCpuPkg/PiSmmCpuDxeSmm: Add PiSmmCpuStandaloneMm.inf 2024-08-28 15:25:27 +00:00
SmmCpuMemoryManagement.c UefiCpuPkg/PiSmmCpuDxeSmm: Avoid PcdCpuSmmProfileEnable check in MM 2024-08-28 15:25:27 +00:00
SmmMp.c UefiCpuPkg/PiSmmCpuDxeSmm: Rename PiSmmCpuDxeSmm.h to PiSmmCpuCommon.h 2024-08-28 15:25:27 +00:00
SmmMp.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmMpPerf.c UefiCpuPkg/PiSmmCpuDxeSmm: Rename PiSmmCpuDxeSmm.h to PiSmmCpuCommon.h 2024-08-28 15:25:27 +00:00
SmmMpPerf.h UefiCpuPkg/PiSmmCpuDxeSmm: Remove SmBases relocation logic 2024-05-08 01:53:58 +00:00
SmmProfile.c UefiCpuPkg/PiSmmCpuDxeSmm: Simplify SMM Profile Size Calculation 2024-08-28 15:25:27 +00:00
SmmProfile.h UefiCpuPkg/PiSmmCpuDxeSmm: Avoid PcdCpuSmmProfileEnable check in MM 2024-08-28 15:25:27 +00:00
SmmProfileInternal.h UefiCpuPkg/PiSmmCpuDxeSmm: Refactor code to create default Page Table 2024-08-28 15:25:27 +00:00
SmramSaveState.c UefiCpuPkg/PiSmmCpuDxeSmm: Rename PiSmmCpuDxeSmm.h to PiSmmCpuCommon.h 2024-08-28 15:25:27 +00:00
SyncTimer.c UefiCpuPkg/PiSmmCpuDxeSmm: Get SmmCpuSyncConfig data from func 2024-08-28 15:25:27 +00:00