]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/MdePkg.dsc
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / MdePkg.dsc
1 ## @file
2 # EFI/PI MdePkg Package
3 #
4 # Copyright (c) 2007 - 2022, 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>
7 #
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
9 #
10 ##
11
12 [Defines]
13 PLATFORM_NAME = Mde
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
21
22 !include UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc
23
24 !include MdePkg/MdeLibs.dsc.inc
25
26 [PcdsFeatureFlag]
27 gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE
28
29 [PcdsFixedAtBuild]
30 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
31 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
32 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
33
34 [LibraryClasses]
35 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
36
37 [Components]
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
70
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
78
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
91
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
107
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
128
129 MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
130 MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
131
132 MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf
133 MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
134 MdePkg/Library/SmmCpuRendezvousLibNull/SmmCpuRendezvousLibNull.inf
135
136 [Components.IA32, Components.X64, Components.ARM, Components.AARCH64]
137 #
138 # Add UEFI Target Based Unit Tests
139 #
140 MdePkg/Test/UnitTest/Library/BaseLib/BaseLibUnitTestsUefi.inf
141
142 #
143 # Build PEIM, DXE_DRIVER, SMM_DRIVER, UEFI Shell components that test SafeIntLib
144 #
145 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibPei.inf
146 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibDxe.inf
147 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibSmm.inf
148 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibUefiShell.inf
149
150 [Components.IA32, Components.X64, Components.AARCH64]
151 MdePkg/Library/BaseRngLib/BaseRngLib.inf
152
153 [Components.IA32, Components.X64]
154 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
155 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
156 MdePkg/Library/BaseMemoryLibMmx/BaseMemoryLibMmx.inf
157 MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
158 MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf
159 MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
160 MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
161 MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
162 MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
163 MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
164 MdePkg/Library/SmmIoLibSmmCpuIo2/SmmIoLibSmmCpuIo2.inf
165 MdePkg/Library/SmmPciLibPciRootBridgeIo/SmmPciLibPciRootBridgeIo.inf
166 MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
167 MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
168 MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.inf
169 MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
170 MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
171 MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
172 MdePkg/Library/BaseS3SmbusLib/BaseS3SmbusLib.inf
173 MdePkg/Library/BaseS3StallLib/BaseS3StallLib.inf
174 MdePkg/Library/SmmMemLib/SmmMemLib.inf
175 MdePkg/Library/SmmIoLib/SmmIoLib.inf
176 MdePkg/Library/SmmPciExpressLib/SmmPciExpressLib.inf
177 MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
178 MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
179 MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
180 MdePkg/Library/TdxLib/TdxLib.inf
181
182 [Components.EBC]
183 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
184 MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
185
186 [Components.ARM, Components.AARCH64]
187 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf
188 MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
189
190 [BuildOptions]