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