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