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