BZ# 4093: Abstract SmmCpuFeaturesLib for sharing common code Rename SmmCpuFeaturesLiCommon.c to IntelSmmCpuFeaturesLib, because it was developed specifically for Intel implementation. The code that can be shared by other archs or vendors will be stripped away and put in the common file in the next patch. 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>
42 lines
1.2 KiB
INI
42 lines
1.2 KiB
INI
## @file
|
|
# The CPU specific programming for PiSmmCpuDxeSmm module.
|
|
#
|
|
# Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = SmmCpuFeaturesLib
|
|
MODULE_UNI_FILE = SmmCpuFeaturesLib.uni
|
|
FILE_GUID = FC3DC10D-D271-422a-AFF3-CBCF70344431
|
|
MODULE_TYPE = DXE_SMM_DRIVER
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = SmmCpuFeaturesLib
|
|
CONSTRUCTOR = SmmCpuFeaturesLibConstructor
|
|
|
|
[Sources]
|
|
CpuFeaturesLib.h
|
|
IntelSmmCpuFeaturesLib.c
|
|
SmmCpuFeaturesLib.c
|
|
SmmCpuFeaturesLibNoStm.c
|
|
TraditionalMmCpuFeaturesLib.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
UefiCpuPkg/UefiCpuPkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseLib
|
|
PcdLib
|
|
MemoryAllocationLib
|
|
DebugLib
|
|
|
|
[Pcd]
|
|
gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber ## SOMETIMES_CONSUMES
|
|
|
|
[FeaturePcd]
|
|
gUefiCpuPkgTokenSpaceGuid.PcdSmrrEnable ## CONSUMES
|
|
gUefiCpuPkgTokenSpaceGuid.PcdSmmFeatureControlEnable ## CONSUMES
|