]> git.proxmox.com Git - mirror_edk2.git/blob - UefiCpuPkg/UefiCpuPkg.dsc
IntelFsp2WrapperPkg: Add CI YAML file
[mirror_edk2.git] / UefiCpuPkg / UefiCpuPkg.dsc
1 ## @file
2 # UefiCpuPkg Package
3 #
4 # Copyright (c) 2007 - 2022, Intel Corporation. All rights reserved.<BR>
5 #
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
7 #
8 ##
9
10 [Defines]
11 PLATFORM_NAME = UefiCpu
12 PLATFORM_GUID = a1b7be22-78b3-4260-9569-8649e8c17d49
13 PLATFORM_VERSION = 0.90
14 DSC_SPECIFICATION = 0x00010005
15 OUTPUT_DIRECTORY = Build/UefiCpu
16 SUPPORTED_ARCHITECTURES = IA32|X64
17 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
18 SKUID_IDENTIFIER = DEFAULT
19
20 #
21 # External libraries to build package
22 #
23
24 !include MdePkg/MdeLibs.dsc.inc
25
26 [LibraryClasses]
27 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
28 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
29 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
30 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
31 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
32 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
33 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
34 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
35 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
36 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
37 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
38 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
39 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
40 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
41 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
42 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
43 StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
44 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
45 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
46 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
47 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
48 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
49 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
50 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
51 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
52 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
53 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
54 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
55 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
56 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
57 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
58 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
59 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
60 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
61 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
62 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
63 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
64 SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
65 CpuPageTableLib|UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
66
67 [LibraryClasses.common.SEC]
68 PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
69 !if $(TOOL_CHAIN_TAG) == "XCODE5"
70 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
71 !else
72 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
73 !endif
74 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
75 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
76 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
77
78 [LibraryClasses.common.PEIM]
79 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
80 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
81 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
82 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
83 RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
84 CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.inf
85
86 [LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
87 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
88 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
89
90 [LibraryClasses.common.DXE_DRIVER]
91 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
92 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
93 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
94 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
95 RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
96 CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.inf
97
98 [LibraryClasses.common.DXE_SMM_DRIVER]
99 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
100 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
101 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
102 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
103 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
104
105 [LibraryClasses.common.MM_STANDALONE]
106 MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
107
108 [LibraryClasses.common.UEFI_APPLICATION]
109 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
110 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
111
112 #
113 # Drivers/Libraries within this package
114 #
115
116 [Components]
117 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
118 UefiCpuPkg/CpuIoPei/CpuIoPei.inf
119 UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf
120 UefiCpuPkg/Application/Cpuid/Cpuid.inf
121 UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf
122 UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.inf
123 UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.inf
124 UefiCpuPkg/MicrocodeMeasurementDxe/MicrocodeMeasurementDxe.inf
125
126 [Components.IA32, Components.X64]
127 UefiCpuPkg/CpuDxe/CpuDxe.inf
128 UefiCpuPkg/CpuFeatures/CpuFeaturesPei.inf {
129 <LibraryClasses>
130 NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
131 }
132 UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf {
133 <LibraryClasses>
134 NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
135 }
136 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
137 UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.inf
138 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
139 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
140 UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
141 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
142 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
143 UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
144 UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
145 !if $(TOOL_CHAIN_TAG) != "XCODE5"
146 UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
147 !endif
148 UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
149 UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
150 UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
151 UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
152 UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
153 UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
154 UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
155 UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
156 UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
157 UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
158 UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
159 UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
160 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
161 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
162 UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf
163 UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
164 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
165 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
166 UefiCpuPkg/SecCore/SecCore.inf
167 UefiCpuPkg/SecCore/SecCoreNative.inf
168 UefiCpuPkg/SecMigrationPei/SecMigrationPei.inf
169 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
170 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
171 <Defines>
172 FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94
173 <LibraryClasses>
174 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
175 }
176 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
177 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
178 UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
179 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
180
181 [BuildOptions]
182 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES