]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/MdePkg.dsc
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / MdePkg.dsc
index 87af74085392b8241c56440d997737b04cfa3259..0ac7618b46234516263b78e1987d91dd052e9a90 100644 (file)
@@ -1,8 +1,10 @@
 ## @file\r
 # EFI/PI MdePkg Package\r
 #\r
-# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2022, Intel Corporation. All rights reserved.<BR>\r
 # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+# (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>\r
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>\r
 #\r
 #    SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
   PLATFORM_VERSION               = 1.08\r
   DSC_SPECIFICATION              = 0x00010005\r
   OUTPUT_DIRECTORY               = Build/Mde\r
-  SUPPORTED_ARCHITECTURES        = IA32|X64|EBC|ARM|AARCH64\r
+  SUPPORTED_ARCHITECTURES        = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64\r
   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT\r
   SKUID_IDENTIFIER               = DEFAULT\r
 \r
 !include UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc\r
 \r
+!include MdePkg/MdeLibs.dsc.inc\r
+\r
 [PcdsFeatureFlag]\r
   gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE\r
 \r
@@ -34,7 +38,9 @@
 [Components]\r
   MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
   MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
+  MdePkg/Library/BaseCacheMaintenanceLibNull/BaseCacheMaintenanceLibNull.inf\r
   MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
+  MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.inf\r
   MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
   MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
   MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
@@ -51,6 +57,7 @@
   MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf\r
   MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.inf\r
   MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf\r
+  MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.inf\r
   MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
   MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
   MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
   MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf\r
   MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
   MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
+  MdePkg/Library/DxeRngLib/DxeRngLib.inf\r
+  MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf\r
+  MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
+\r
   MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
   MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
   MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
@@ -66,7 +77,6 @@
   MdePkg/Library/BaseUefiDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
   MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
   MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
-  MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf\r
 \r
   MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
   MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
   MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf\r
   MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf\r
   MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
+  MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibBase.inf\r
+  MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibStandaloneMm.inf\r
   MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf\r
   MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
   MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
   MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf\r
   MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf\r
 \r
+  MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf\r
+  MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf\r
+  MdePkg/Library/SmmCpuRendezvousLibNull/SmmCpuRendezvousLibNull.inf\r
+\r
+[Components.IA32, Components.X64, Components.ARM, Components.AARCH64]\r
   #\r
   # Add UEFI Target Based Unit Tests\r
   #\r
   MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibSmm.inf\r
   MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibUefiShell.inf\r
 \r
+[Components.IA32, Components.X64, Components.AARCH64]\r
+  MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
+\r
 [Components.IA32, Components.X64]\r
   MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
   MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
   MdePkg/Library/BaseS3StallLib/BaseS3StallLib.inf\r
   MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
   MdePkg/Library/SmmIoLib/SmmIoLib.inf\r
-  MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
   MdePkg/Library/SmmPciExpressLib/SmmPciExpressLib.inf\r
   MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf\r
   MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
+  MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf\r
+  MdePkg/Library/TdxLib/TdxLib.inf\r
 \r
 [Components.EBC]\r
   MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
   MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf\r
   MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
 \r
+[Components.RISCV64]\r
+  MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.inf\r
+\r
 [BuildOptions]\r
-  *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r