2010-02-24 00:58:38 +01:00
|
|
|
## @file
|
2009-02-23 21:15:52 +01:00
|
|
|
# UefiCpuPkg Package
|
|
|
|
#
|
2021-03-12 06:35:58 +01:00
|
|
|
# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>
|
2009-02-23 21:15:52 +01:00
|
|
|
#
|
2019-04-04 01:07:22 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2009-02-23 21:15:52 +01:00
|
|
|
#
|
2010-02-24 00:58:38 +01:00
|
|
|
##
|
2009-02-23 21:15:52 +01:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
PLATFORM_NAME = UefiCpu
|
|
|
|
PLATFORM_GUID = a1b7be22-78b3-4260-9569-8649e8c17d49
|
2018-01-22 03:00:08 +01:00
|
|
|
PLATFORM_VERSION = 0.90
|
2009-02-23 21:15:52 +01:00
|
|
|
DSC_SPECIFICATION = 0x00010005
|
|
|
|
OUTPUT_DIRECTORY = Build/UefiCpu
|
2018-06-29 05:38:37 +02:00
|
|
|
SUPPORTED_ARCHITECTURES = IA32|X64
|
2016-01-19 05:08:09 +01:00
|
|
|
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
|
2009-02-23 21:15:52 +01:00
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
|
|
|
|
#
|
|
|
|
# External libraries to build package
|
|
|
|
#
|
|
|
|
|
2021-03-12 06:35:58 +01:00
|
|
|
!include MdePkg/MdeLibs.dsc.inc
|
|
|
|
|
2010-02-24 00:58:38 +01:00
|
|
|
[LibraryClasses]
|
2009-02-23 21:15:52 +01:00
|
|
|
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
|
|
|
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
|
|
|
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
|
|
|
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
2015-10-19 21:13:45 +02:00
|
|
|
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
2011-03-10 23:43:06 +01:00
|
|
|
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
2009-02-23 21:15:52 +01:00
|
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
2012-07-06 07:49:53 +02:00
|
|
|
UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
|
2010-02-10 18:37:10 +01:00
|
|
|
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
|
|
|
MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
|
2009-02-23 21:15:52 +01:00
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
2010-02-10 18:37:10 +01:00
|
|
|
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
|
|
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
2010-05-21 04:49:45 +02:00
|
|
|
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
|
|
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
2021-01-23 03:09:04 +01:00
|
|
|
StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
|
2010-05-21 04:49:45 +02:00
|
|
|
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
2010-01-14 05:24:00 +01:00
|
|
|
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
|
|
|
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
2011-08-30 00:19:13 +02:00
|
|
|
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
|
|
|
TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
|
|
|
|
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
|
|
|
LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
|
2013-11-22 07:24:41 +01:00
|
|
|
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
2014-11-13 19:26:23 +01:00
|
|
|
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
2015-10-19 21:09:33 +02:00
|
|
|
SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
|
2015-10-19 21:13:45 +02:00
|
|
|
CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
|
|
|
|
PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
|
|
|
|
PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
|
2015-10-19 21:12:32 +02:00
|
|
|
SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
|
|
|
|
SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
|
2015-10-19 21:10:32 +02:00
|
|
|
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
|
|
|
PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
2016-11-28 23:36:51 +01:00
|
|
|
TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
|
2020-08-12 22:21:36 +02:00
|
|
|
VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
|
2021-04-01 12:32:23 +02:00
|
|
|
MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
|
2015-10-19 21:09:33 +02:00
|
|
|
|
2015-10-19 21:10:32 +02:00
|
|
|
[LibraryClasses.common.SEC]
|
|
|
|
PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
|
2020-05-07 15:06:48 +02:00
|
|
|
!if $(TOOL_CHAIN_TAG) == "XCODE5"
|
|
|
|
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
|
|
|
|
!else
|
2015-10-19 21:12:32 +02:00
|
|
|
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
2020-05-07 15:06:48 +02:00
|
|
|
!endif
|
2016-09-09 09:00:30 +02:00
|
|
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
|
|
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
2015-10-19 21:13:45 +02:00
|
|
|
|
2010-05-21 04:49:45 +02:00
|
|
|
[LibraryClasses.common.PEIM]
|
|
|
|
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
2011-08-30 00:19:13 +02:00
|
|
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
|
|
|
LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
|
2016-07-22 04:12:51 +02:00
|
|
|
MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
|
2017-03-07 09:49:35 +01:00
|
|
|
RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
|
2021-01-17 15:15:41 +01:00
|
|
|
CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.inf
|
2010-01-14 23:14:50 +01:00
|
|
|
|
2010-05-21 04:49:45 +02:00
|
|
|
[LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
|
2010-01-14 23:14:50 +01:00
|
|
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
2016-05-24 15:39:35 +02:00
|
|
|
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
|
2010-01-14 23:14:50 +01:00
|
|
|
|
2009-02-23 21:15:52 +01:00
|
|
|
[LibraryClasses.common.DXE_DRIVER]
|
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
2015-06-16 04:55:54 +02:00
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
2015-10-19 21:12:32 +02:00
|
|
|
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
|
2016-07-22 04:42:47 +02:00
|
|
|
MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
|
2017-03-07 09:49:35 +01:00
|
|
|
RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
|
2021-01-17 15:15:41 +01:00
|
|
|
CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.inf
|
2009-02-23 21:15:52 +01:00
|
|
|
|
2010-01-14 05:24:00 +01:00
|
|
|
[LibraryClasses.common.DXE_SMM_DRIVER]
|
|
|
|
SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
|
2020-12-18 04:12:50 +01:00
|
|
|
MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
|
2010-02-14 07:18:15 +01:00
|
|
|
MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
|
2015-10-19 21:09:33 +02:00
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
2015-10-19 21:12:32 +02:00
|
|
|
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
|
2015-06-16 04:55:54 +02:00
|
|
|
|
2021-01-23 03:09:04 +01:00
|
|
|
[LibraryClasses.common.MM_STANDALONE]
|
|
|
|
MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
|
|
|
|
|
2016-02-19 08:16:02 +01:00
|
|
|
[LibraryClasses.common.UEFI_APPLICATION]
|
|
|
|
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
|
|
|
|
2009-02-23 21:15:52 +01:00
|
|
|
#
|
|
|
|
# Drivers/Libraries within this package
|
|
|
|
#
|
|
|
|
|
2010-02-24 00:58:38 +01:00
|
|
|
[Components]
|
2009-12-07 04:09:04 +01:00
|
|
|
UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
2010-01-15 00:47:50 +01:00
|
|
|
UefiCpuPkg/CpuIoPei/CpuIoPei.inf
|
2010-11-29 04:30:38 +01:00
|
|
|
UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf
|
2016-02-19 08:16:02 +01:00
|
|
|
UefiCpuPkg/Application/Cpuid/Cpuid.inf
|
2019-08-12 06:34:39 +02:00
|
|
|
UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf
|
2021-01-17 15:15:41 +01:00
|
|
|
UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.inf
|
|
|
|
UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.inf
|
2010-01-14 05:24:00 +01:00
|
|
|
|
|
|
|
[Components.IA32, Components.X64]
|
2010-02-10 18:37:10 +01:00
|
|
|
UefiCpuPkg/CpuDxe/CpuDxe.inf
|
2017-03-07 12:23:12 +01:00
|
|
|
UefiCpuPkg/CpuFeatures/CpuFeaturesPei.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
|
|
|
|
}
|
|
|
|
UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
|
|
|
|
}
|
2010-01-14 05:24:00 +01:00
|
|
|
UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
|
2021-01-23 03:09:04 +01:00
|
|
|
UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.inf
|
2015-10-19 21:13:45 +02:00
|
|
|
UefiCpuPkg/CpuMpPei/CpuMpPei.inf
|
2015-11-25 18:01:02 +01:00
|
|
|
UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
|
2009-11-25 05:25:02 +01:00
|
|
|
UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
|
2010-08-23 08:34:39 +02:00
|
|
|
UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
|
2015-10-19 21:13:45 +02:00
|
|
|
UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
|
2019-10-08 05:27:33 +02:00
|
|
|
UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
|
2013-11-22 07:24:41 +01:00
|
|
|
UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
|
2020-05-07 15:06:48 +02:00
|
|
|
!if $(TOOL_CHAIN_TAG) != "XCODE5"
|
2015-10-19 21:13:45 +02:00
|
|
|
UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
2020-05-07 15:06:48 +02:00
|
|
|
!endif
|
2015-06-16 04:55:54 +02:00
|
|
|
UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
|
2016-05-24 15:39:35 +02:00
|
|
|
UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
|
2020-05-07 15:06:48 +02:00
|
|
|
UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
|
2016-07-20 15:56:58 +02:00
|
|
|
UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
|
|
|
|
UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
|
2019-04-30 21:00:53 +02:00
|
|
|
UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
|
2021-04-01 12:32:23 +02:00
|
|
|
UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
|
2015-10-19 21:13:45 +02:00
|
|
|
UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
|
2015-10-19 21:10:32 +02:00
|
|
|
UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
|
2017-03-07 09:49:35 +01:00
|
|
|
UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
|
|
|
|
UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
|
2015-10-19 21:12:32 +02:00
|
|
|
UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
|
|
|
|
UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
|
2016-11-28 23:36:51 +01:00
|
|
|
UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
|
2021-02-17 22:32:27 +01:00
|
|
|
UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf
|
2020-08-12 22:21:36 +02:00
|
|
|
UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
|
2015-10-19 21:09:33 +02:00
|
|
|
UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
|
|
|
|
UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
|
2015-10-19 21:10:32 +02:00
|
|
|
UefiCpuPkg/SecCore/SecCore.inf
|
2019-04-21 23:21:55 +02:00
|
|
|
UefiCpuPkg/SecMigrationPei/SecMigrationPei.inf
|
2015-10-19 21:13:45 +02:00
|
|
|
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
|
2016-11-28 23:36:51 +01:00
|
|
|
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
|
|
|
|
<Defines>
|
|
|
|
FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94
|
|
|
|
<LibraryClasses>
|
|
|
|
SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
|
|
|
|
}
|
2011-08-30 00:19:13 +02:00
|
|
|
UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
|
2019-10-08 05:27:33 +02:00
|
|
|
UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
|
2016-08-01 08:15:30 +02:00
|
|
|
|
|
|
|
[BuildOptions]
|
|
|
|
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|