UefiCpuPkg: Add NULL CPU Common Features Library instance
[mirror_edk2.git] / UefiCpuPkg / UefiCpuPkg.dsc
CommitLineData
7b202cb0 1## @file\r
9e7864e2 2# UefiCpuPkg Package\r
3#\r
eff78ac3 4# Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>\r
9e7864e2 5#\r
01a1c0fc 6# This program and the accompanying materials\r
9e7864e2 7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
db61e163 10#\r
9e7864e2 11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
7b202cb0 14##\r
9e7864e2 15\r
16[Defines]\r
17 PLATFORM_NAME = UefiCpu\r
18 PLATFORM_GUID = a1b7be22-78b3-4260-9569-8649e8c17d49\r
9ad15074 19 PLATFORM_VERSION = 0.3\r
9e7864e2 20 DSC_SPECIFICATION = 0x00010005\r
21 OUTPUT_DIRECTORY = Build/UefiCpu\r
173eeac9 22 SUPPORTED_ARCHITECTURES = IA32|IPF|X64\r
a7bd6695 23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
9e7864e2 24 SKUID_IDENTIFIER = DEFAULT\r
25\r
26#\r
27# External libraries to build package\r
28#\r
29\r
7b202cb0 30[LibraryClasses]\r
9e7864e2 31 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
32 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
33 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
34 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
b7953e26 35 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
5e9ae436 36 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
9e7864e2 37 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
661cab5d 38 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
e518b40c 39 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
40 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
9e7864e2 41 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
42 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
e518b40c 43 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
44 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
164d5964
LG
45 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
46 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
47 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
173eeac9 48 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
173eeac9 49 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
1f569620 50 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
51 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
52 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
53 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
e41aad15 54 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
03673ae1 55 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
b3dc26ed 56 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
b7953e26 57 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
b7953e26
MK
58 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
59 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
406c7200
MK
60 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
61 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
d947a4cc
MK
62 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
63 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
5c7cf1cc 64 MicrocodeFlashAccessLib|UefiCpuPkg/Feature/Capsule/Library/MicrocodeFlashAccessLibNull/MicrocodeFlashAccessLibNull.inf\r
09119a00 65 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
b3dc26ed 66\r
d947a4cc
MK
67[LibraryClasses.common.SEC]\r
68 PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf\r
406c7200 69 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
863c738c
JF
70 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
71 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
72 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
b7953e26 73\r
164d5964
LG
74[LibraryClasses.common.PEIM]\r
75 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
1f569620 76 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
77 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
a1a4c7a4 78 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
eff78ac3 79 RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf\r
3ea1d3e6 80\r
164d5964 81[LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]\r
3ea1d3e6 82 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
a81abf16 83 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
3ea1d3e6 84\r
85[LibraryClasses.IPF.PEIM]\r
86 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointerLibKr7.inf\r
db61e163 87\r
9e7864e2 88[LibraryClasses.common.DXE_DRIVER]\r
9e7864e2 89 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
db61e163 90 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
406c7200 91 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
7fadaacd 92 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
eff78ac3 93 RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf\r
9e7864e2 94\r
173eeac9 95[LibraryClasses.common.DXE_SMM_DRIVER]\r
173eeac9 96 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
8d96b976 97 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
b3dc26ed 98 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
406c7200 99 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
db61e163 100\r
25705752
MK
101[LibraryClasses.common.UEFI_APPLICATION]\r
102 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
103 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
104\r
9e7864e2 105#\r
106# Drivers/Libraries within this package\r
107#\r
108\r
7b202cb0 109[Components]\r
3ca55ed4 110 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
e643315b 111 UefiCpuPkg/CpuIoPei/CpuIoPei.inf\r
2057d8c8 112 UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf\r
25705752 113 UefiCpuPkg/Application/Cpuid/Cpuid.inf\r
173eeac9 114\r
115[Components.IA32, Components.X64]\r
e518b40c 116 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
173eeac9 117 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
b7953e26 118 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
bfec5efa 119 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
989322c3 120 UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
bf73cc4b 121 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
b7953e26 122 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
e41aad15 123 UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
b7953e26 124 UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
db61e163 125 UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
a81abf16 126 UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
3e8ad6bd
JF
127 UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
128 UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
b7953e26 129 UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
d947a4cc 130 UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf\r
eff78ac3
JF
131 UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf\r
132 UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf\r
406c7200
MK
133 UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
134 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
09119a00 135 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf\r
b3dc26ed
MK
136 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf\r
137 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf\r
d947a4cc 138 UefiCpuPkg/SecCore/SecCore.inf\r
b7953e26 139 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf\r
09119a00
MK
140 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
141 <Defines>\r
142 FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94\r
143 <LibraryClasses>\r
144 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf\r
145 }\r
1f569620 146 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf\r
5c7cf1cc 147 UefiCpuPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf\r
72a8abde
HW
148\r
149[BuildOptions]\r
150 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r