]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/MdePkg.dsc
DynamicTablesPkg: FdtHwInfoParser: Add PCI config parser
[mirror_edk2.git] / MdePkg / MdePkg.dsc
CommitLineData
6bfbb5f0 1## @file\r
e053747a 2# EFI/PI MdePkg Package\r
3#\r
1c11e7a2 4# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>\r
c3f13d41 5# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
1510d6a3 6# (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>\r
e053747a 7#\r
9344f092 8# SPDX-License-Identifier: BSD-2-Clause-Patent\r
e053747a 9#\r
6bfbb5f0 10##\r
e053747a 11\r
e053747a 12[Defines]\r
97a079ed 13 PLATFORM_NAME = Mde\r
e053747a 14 PLATFORM_GUID = 082F8BFC-0455-4859-AE3C-ECD64FB81642\r
3d2bb754 15 PLATFORM_VERSION = 1.08\r
e053747a 16 DSC_SPECIFICATION = 0x00010005\r
409f6780 17 OUTPUT_DIRECTORY = Build/Mde\r
1510d6a3 18 SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64\r
5f62e95a 19 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
e053747a 20 SKUID_IDENTIFIER = DEFAULT\r
21\r
e50c2bb3
MK
22!include UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc\r
23\r
821e042f
DB
24!include MdePkg/MdeLibs.dsc.inc\r
25\r
6bfbb5f0 26[PcdsFeatureFlag]\r
bc4eb407 27 gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE\r
e053747a 28\r
6bfbb5f0 29[PcdsFixedAtBuild]\r
b3af5df6 30 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
31 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
b3af5df6 32 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
e053747a 33\r
e50c2bb3
MK
34[LibraryClasses]\r
35 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
36\r
6bfbb5f0 37[Components]\r
8d891592 38 MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
409f6780 39 MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
0a81a98e 40 MdePkg/Library/BaseCacheMaintenanceLibNull/BaseCacheMaintenanceLibNull.inf\r
ad6d2a4a 41 MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
9af8a299 42 MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.inf\r
409f6780 43 MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
ad6d2a4a 44 MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
d8ccb37a 45 MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
409f6780
A
46 MdePkg/Library/BaseLib/BaseLib.inf\r
47 MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
cf556c6a 48 MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
ad6d2a4a 49 MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
409f6780
A
50 MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
51 MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
52 MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
53 MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
32fa5588 54 MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
e457c1f6 55 MdePkg/Library/BasePciSegmentInfoLibNull/BasePciSegmentInfoLibNull.inf\r
5c9bb86f
RN
56 MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf\r
57 MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.inf\r
a2285a89 58 MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf\r
409f6780
A
59 MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
60 MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
48f3634e 61 MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
409f6780
A
62 MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
63 MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf\r
64 MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf\r
65 MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
e886512b 66 MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
ed0dce7d 67 MdePkg/Library/DxeRngLib/DxeRngLib.inf\r
f56ed0e5 68 MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf\r
ed0dce7d
MC
69 MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
70\r
ad6d2a4a 71 MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
720d3c5f 72 MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
409f6780
A
73 MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
74 MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
3f0055c8 75 MdePkg/Library/BaseUefiDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
c48abbed 76 MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
d7a09cb8 77 MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
ad6d2a4a 78\r
409f6780
A
79 MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
80 MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
ad6d2a4a 81 MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
409f6780 82 MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
409f6780 83 MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
7612bfec 84 MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
409f6780
A
85 MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
86 MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf\r
ba9f8351 87 MdePkg/Library/DxeIoLibCpuIo2/DxeIoLibCpuIo2.inf\r
aaedfe3c 88 MdePkg/Library/DxeHstiLib/DxeHstiLib.inf\r
298f0688 89 MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf\r
d5b28edd 90 MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf\r
298f0688 91\r
409f6780
A
92 MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
93 MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf\r
ad6d2a4a 94 MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
95 MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
96 MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf\r
409f6780
A
97 MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
98 MdePkg/Library/PeiMemoryLib/PeiMemoryLib.inf\r
99 MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
100 MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
101 MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
102 MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
103 MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
d8b61daa 104 MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLibSmbus2Ppi.inf\r
1a3eaf06 105 MdePkg/Library/PeiPciLibPciCfg2/PeiPciLibPciCfg2.inf\r
106 MdePkg/Library/PeiPciSegmentLibPciCfg2/PeiPciSegmentLibPciCfg2.inf\r
ad6d2a4a 107\r
409f6780
A
108 MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
109 MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
110 MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
b29910d6 111 MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf\r
409f6780
A
112 MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf\r
113 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
14a746bb 114 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibStandaloneMm.inf\r
4d0a30a4 115 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf\r
409f6780
A
116 MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
117 MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
118 MdePkg/Library/UefiLib/UefiLib.inf\r
ad6d2a4a 119 MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
120 MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf\r
409f6780
A
121 MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
122 MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
409f6780 123 MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
9504e2cd 124 MdePkg/Library/UefiPciLibPciRootBridgeIo/UefiPciLibPciRootBridgeIo.inf\r
125 MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/UefiPciSegmentLibPciRootBridgeIo.inf\r
0bce7349 126 MdePkg/Library/SmmLibNull/SmmLibNull.inf\r
b9d5a7f1 127 MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
316172ba 128\r
5866d499 129 MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf\r
2ac8d8d5 130 MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf\r
5866d499 131\r
1c11e7a2
DB
132 MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf\r
133\r
27fb01a0 134[Components.IA32, Components.X64, Components.ARM, Components.AARCH64]\r
e50c2bb3
MK
135 #\r
136 # Add UEFI Target Based Unit Tests\r
137 #\r
138 MdePkg/Test/UnitTest/Library/BaseLib/BaseLibUnitTestsUefi.inf\r
139\r
140 #\r
141 # Build PEIM, DXE_DRIVER, SMM_DRIVER, UEFI Shell components that test SafeIntLib\r
142 #\r
143 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibPei.inf\r
144 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibDxe.inf\r
145 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibSmm.inf\r
146 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibUefiShell.inf\r
147\r
9301e564
RC
148[Components.IA32, Components.X64, Components.AARCH64]\r
149 MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
150\r
ad6d2a4a 151[Components.IA32, Components.X64]\r
078bee4e 152 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
b6d11d7c 153 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
409f6780 154 MdePkg/Library/BaseMemoryLibMmx/BaseMemoryLibMmx.inf\r
5053cf7f 155 MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf\r
ad6d2a4a 156 MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf\r
409f6780 157 MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
ad6d2a4a 158 MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf\r
409f6780 159 MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
ad6d2a4a 160 MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r
161 MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
8fc71dec 162 MdePkg/Library/SmmIoLibSmmCpuIo2/SmmIoLibSmmCpuIo2.inf\r
b7c5912a 163 MdePkg/Library/SmmPciLibPciRootBridgeIo/SmmPciLibPciRootBridgeIo.inf\r
164 MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
1b45a671 165 MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
fe69ac84 166 MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.inf\r
167 MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf\r
168 MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf\r
169 MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf\r
170 MdePkg/Library/BaseS3SmbusLib/BaseS3SmbusLib.inf\r
171 MdePkg/Library/BaseS3StallLib/BaseS3StallLib.inf\r
d425764e 172 MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
9bb800f7 173 MdePkg/Library/SmmIoLib/SmmIoLib.inf\r
84ace59f 174 MdePkg/Library/SmmPciExpressLib/SmmPciExpressLib.inf\r
0466aac8 175 MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf\r
17f5fd92 176 MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
7cda5d9e 177 MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf\r
e053747a 178\r
078bee4e 179[Components.EBC]\r
d910a704 180 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
078bee4e 181 MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
66c6d4d6
AF
182\r
183[Components.ARM, Components.AARCH64]\r
4134f2bd 184 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf\r
66c6d4d6 185 MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
f2ecdbf0
HW
186\r
187[BuildOptions]\r