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