2 # EFI/PI MdePkg Package
4 # Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>
5 # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
6 # (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
14 PLATFORM_GUID = 082F8BFC-0455-4859-AE3C-ECD64FB81642
15 PLATFORM_VERSION = 1.08
16 DSC_SPECIFICATION = 0x00010005
17 OUTPUT_DIRECTORY = Build/Mde
18 SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64
19 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
20 SKUID_IDENTIFIER = DEFAULT
22 !include UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc
24 !include MdePkg/MdeLibs.dsc.inc
27 gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE
30 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
31 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
32 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
35 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
38 MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
39 MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
40 MdePkg/Library/BaseCacheMaintenanceLibNull/BaseCacheMaintenanceLibNull.inf
41 MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
42 MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.inf
43 MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
44 MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
45 MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
46 MdePkg/Library/BaseLib/BaseLib.inf
47 MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
48 MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
49 MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
50 MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
51 MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
52 MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
53 MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
54 MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
55 MdePkg/Library/BasePciSegmentInfoLibNull/BasePciSegmentInfoLibNull.inf
56 MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf
57 MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.inf
58 MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf
59 MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
60 MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
61 MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
62 MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
63 MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf
64 MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
65 MdePkg/Library/BasePrintLib/BasePrintLib.inf
66 MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
67 MdePkg/Library/DxeRngLib/DxeRngLib.inf
68 MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf
69 MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
71 MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
72 MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
73 MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
74 MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
75 MdePkg/Library/BaseUefiDecompressLib/BaseUefiTianoCustomDecompressLib.inf
76 MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
77 MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
79 MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
80 MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
81 MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
82 MdePkg/Library/DxeHobLib/DxeHobLib.inf
83 MdePkg/Library/DxePcdLib/DxePcdLib.inf
84 MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
85 MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
86 MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf
87 MdePkg/Library/DxeIoLibCpuIo2/DxeIoLibCpuIo2.inf
88 MdePkg/Library/DxeHstiLib/DxeHstiLib.inf
89 MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf
90 MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
92 MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
93 MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf
94 MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
95 MdePkg/Library/PeiHobLib/PeiHobLib.inf
96 MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
97 MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
98 MdePkg/Library/PeiMemoryLib/PeiMemoryLib.inf
99 MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
100 MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
101 MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
102 MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
103 MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
104 MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLibSmbus2Ppi.inf
105 MdePkg/Library/PeiPciLibPciCfg2/PeiPciLibPciCfg2.inf
106 MdePkg/Library/PeiPciSegmentLibPciCfg2/PeiPciSegmentLibPciCfg2.inf
108 MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
109 MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
110 MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
111 MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf
112 MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
113 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
114 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibStandaloneMm.inf
115 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf
116 MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
117 MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
118 MdePkg/Library/UefiLib/UefiLib.inf
119 MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
120 MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf
121 MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
122 MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
123 MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
124 MdePkg/Library/UefiPciLibPciRootBridgeIo/UefiPciLibPciRootBridgeIo.inf
125 MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/UefiPciSegmentLibPciRootBridgeIo.inf
126 MdePkg/Library/SmmLibNull/SmmLibNull.inf
127 MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
129 MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
130 MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
132 MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf
134 [Components.IA32, Components.X64, Components.ARM, Components.AARCH64]
136 # Add UEFI Target Based Unit Tests
138 MdePkg/Test/UnitTest/Library/BaseLib/BaseLibUnitTestsUefi.inf
141 # Build PEIM, DXE_DRIVER, SMM_DRIVER, UEFI Shell components that test SafeIntLib
143 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibPei.inf
144 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibDxe.inf
145 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibSmm.inf
146 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibUefiShell.inf
148 [Components.IA32, Components.X64, Components.AARCH64]
149 MdePkg/Library/BaseRngLib/BaseRngLib.inf
151 [Components.IA32, Components.X64]
152 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
153 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
154 MdePkg/Library/BaseMemoryLibMmx/BaseMemoryLibMmx.inf
155 MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
156 MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf
157 MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
158 MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
159 MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
160 MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
161 MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
162 MdePkg/Library/SmmIoLibSmmCpuIo2/SmmIoLibSmmCpuIo2.inf
163 MdePkg/Library/SmmPciLibPciRootBridgeIo/SmmPciLibPciRootBridgeIo.inf
164 MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
165 MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
166 MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.inf
167 MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
168 MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
169 MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
170 MdePkg/Library/BaseS3SmbusLib/BaseS3SmbusLib.inf
171 MdePkg/Library/BaseS3StallLib/BaseS3StallLib.inf
172 MdePkg/Library/SmmMemLib/SmmMemLib.inf
173 MdePkg/Library/SmmIoLib/SmmIoLib.inf
174 MdePkg/Library/SmmPciExpressLib/SmmPciExpressLib.inf
175 MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
176 MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
177 MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
178 MdePkg/Library/TdxLib/TdxLib.inf
181 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
182 MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
184 [Components.ARM, Components.AARCH64]
185 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf
186 MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf