VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/UefiCpuPkg/UefiCpuPkg.dsc@ 101291

最後變更 在這個檔案從101291是 101291,由 vboxsync 提交於 18 月 前

EFI/FirmwareNew: Make edk2-stable202308 build on all supported platforms (using gcc at least, msvc not tested yet), bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 10.9 KB
 
1## @file
2# UefiCpuPkg Package
3#
4# Copyright (c) 2007 - 2023, Intel Corporation. All rights reserved.<BR>
5# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR>
6#
7# SPDX-License-Identifier: BSD-2-Clause-Patent
8#
9##
10
11[Defines]
12 PLATFORM_NAME = UefiCpu
13 PLATFORM_GUID = a1b7be22-78b3-4260-9569-8649e8c17d49
14 PLATFORM_VERSION = 0.90
15 DSC_SPECIFICATION = 0x00010005
16 OUTPUT_DIRECTORY = Build/UefiCpu
17 SUPPORTED_ARCHITECTURES = IA32|X64
18 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
19 SKUID_IDENTIFIER = DEFAULT
20
21#
22# External libraries to build package
23#
24
25!include MdePkg/MdeLibs.dsc.inc
26
27[LibraryClasses]
28 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
29 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
30 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
31 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
32 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
33 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
34 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.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 CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
63 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
64 SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
65 CpuPageTableLib|UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
66 UnitTestLib|UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.inf
67 UnitTestPersistenceLib|UnitTestFrameworkPkg/Library/UnitTestPersistenceLibNull/UnitTestPersistenceLibNull.inf
68 UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibDebugLib.inf
69
70[LibraryClasses.common.SEC]
71 PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
72 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
73 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
74 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
75 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
76
77[LibraryClasses.common.PEIM]
78 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
79 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
80 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
81 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
82 RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
83 CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.inf
84
85[LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
86 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
87 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
88
89[LibraryClasses.common.DXE_DRIVER]
90 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
91 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
92 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
93 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
94 RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
95 CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.inf
96
97[LibraryClasses.common.DXE_SMM_DRIVER]
98 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
99 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
100 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
101 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
102 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
103 MmSaveStateLib|UefiCpuPkg/Library/MmSaveStateLib/IntelMmSaveStateLib.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/BaseXApicLib/BaseXApicLib.inf
141 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
142 UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
143 UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
144 UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
145 UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
146 UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
147 UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
148 UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
149 UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
150 UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
151 UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
152 UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
153 UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
154 UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
155 UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
156 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
157 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
158 UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf
159 UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
160 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
161 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
162 UefiCpuPkg/SecCore/SecCore.inf
163 UefiCpuPkg/SecCore/SecCoreNative.inf
164 UefiCpuPkg/SecMigrationPei/SecMigrationPei.inf
165 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
166 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
167 <Defines>
168 FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94
169 <LibraryClasses>
170 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
171 }
172 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
173 <Defines>
174 FILE_GUID = B7242C74-BD21-49EE-84B4-07162E8C080D
175 <LibraryClasses>
176 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/AmdSmmCpuFeaturesLib.inf
177 MmSaveStateLib|UefiCpuPkg/Library/MmSaveStateLib/AmdMmSaveStateLib.inf
178 }
179 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
180 UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf
181 UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
182 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
183 UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/PeiCpuExceptionHandlerLibUnitTest.inf
184 UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EdkiiPeiMpServices2PpiPeiUnitTest.inf
185 UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServiceProtocolDxeUnitTest.inf
186 UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServiceProtocolDynamicCmdUnitTest.inf {
187 <LibraryClasses>
188 UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.inf
189 }
190 UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServiceProtocolShellUnitTest.inf {
191 <LibraryClasses>
192 UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.inf
193 }
194 UefiCpuPkg/Library/MmSaveStateLib/AmdMmSaveStateLib.inf
195 UefiCpuPkg/Library/MmSaveStateLib/IntelMmSaveStateLib.inf
196 UefiCpuPkg/Library/SmmCpuFeaturesLib/AmdSmmCpuFeaturesLib.inf
197
198[Components.X64]
199 UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/DxeCpuExceptionHandlerLibUnitTest.inf
200
201[Components.RISCV64]
202 UefiCpuPkg/Library/BaseRiscV64CpuExceptionHandlerLib/BaseRiscV64CpuExceptionHandlerLib.inf
203 UefiCpuPkg/Library/BaseRiscV64CpuTimerLib/BaseRiscV64CpuTimerLib.inf
204 UefiCpuPkg/Library/BaseRiscVMmuLib/BaseRiscVMmuLib.inf
205 UefiCpuPkg/CpuTimerDxeRiscV64/CpuTimerDxeRiscV64.inf
206 UefiCpuPkg/CpuDxeRiscV64/CpuDxeRiscV64.inf
207
208[BuildOptions]
209 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette