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