]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/MdePkg.dsc
MdePkg: introduce standalone MM entry point library implementation
[mirror_edk2.git] / MdePkg / MdePkg.dsc
index 4e0c99cf39bf68d8d2d8afa52a16fb7c764dd12a..ec561c53cab062419a44fff1a1ddf8246e2fa5df 100644 (file)
@@ -1,10 +1,10 @@
-#/** @file\r
+## @file\r
 # EFI/PI MdePkg Package\r
 #\r
-# Copyright (c) 2007 - 2010, Intel Corporation<BR>\r
-# Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
+#    This program and the accompanying materials\r
 #    are licensed and made available under the terms and conditions of the BSD License\r
 #    which accompanies this distribution. The full text of the license may be found at\r
 #    http://opensource.org/licenses/bsd-license.php\r
 #    THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 #    WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
-#**/\r
+##\r
 \r
 [Defines]\r
   PLATFORM_NAME                  = Mde\r
   PLATFORM_GUID                  = 082F8BFC-0455-4859-AE3C-ECD64FB81642\r
-  PLATFORM_VERSION               = 1.01\r
+  PLATFORM_VERSION               = 1.08\r
   DSC_SPECIFICATION              = 0x00010005\r
   OUTPUT_DIRECTORY               = Build/Mde\r
-  SUPPORTED_ARCHITECTURES        = IA32|IPF|X64|EBC|ARM\r
-  BUILD_TARGETS                  = DEBUG|RELEASE\r
+  SUPPORTED_ARCHITECTURES        = IA32|X64|EBC|ARM|AARCH64\r
+  BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT\r
   SKUID_IDENTIFIER               = DEFAULT\r
 \r
-[PcdsFeatureFlag.common]\r
-  gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE\r
-  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE\r
-  gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE\r
-  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE\r
+[PcdsFeatureFlag]\r
   gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE\r
 \r
-[PcdsFixedAtBuild.common]\r
-  gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
-  gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
-  gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
-  gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
+[PcdsFixedAtBuild]\r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
-  gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06\r
-  gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
-  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0\r
-  gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
   gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
-  gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r
-  gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
-  gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
-  gEfiMdePkgTokenSpaceGuid.PcdUsbTransferTimeoutValue|3000\r
 \r
-[PcdsFixedAtBuild.IPF]\r
-  gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf|0x0ffffc000000\r
-\r
-###################################################################################################\r
-#\r
-# Components Section - list of the modules and components that will be processed by compilation\r
-#                      tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
-#\r
-# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
-#       into firmware volume images. This section is just a list of modules to compile from\r
-#       source into UEFI-compliant binaries.\r
-#       It is the FDF file that contains information on combining binary files into firmware\r
-#       volume images, whose concept is beyond UEFI and is described in PI specification.\r
-#       Binary modules do not need to be listed in this section, as they should be\r
-#       specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
-#       Logo (Logo.bmp), and etc.\r
-#       There may also be modules listed in this section that are not required in the FDF file,\r
-#       When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
-#       generated for it, but the binary will not be put into any firmware volume.\r
-#\r
-###################################################################################################\r
-\r
-[Components.common]\r
+[Components]\r
   MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
   MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
   MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
   MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
+  MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
   MdePkg/Library/BaseLib/BaseLib.inf\r
   MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
+  MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
   MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
   MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
   MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
   MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
   MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
+  MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
+  MdePkg/Library/BasePciSegmentInfoLibNull/BasePciSegmentInfoLibNull.inf\r
+  MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf\r
+  MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.inf\r
+  MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf\r
   MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
   MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
   MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
@@ -94,6 +63,8 @@
   MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
   MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
   MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
+  MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
+  MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
 \r
   MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
   MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
   MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
   MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
   MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf\r
-\r
+  MdePkg/Library/DxeIoLibCpuIo2/DxeIoLibCpuIo2.inf\r
+  MdePkg/Library/DxeHstiLib/DxeHstiLib.inf\r
   MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf\r
+  MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf\r
 \r
   MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
   MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf\r
   MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
   MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
   MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
+  MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf\r
   MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf\r
   MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
+  MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf\r
   MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
   MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
   MdePkg/Library/UefiLib/UefiLib.inf\r
   MdePkg/Library/UefiPciLibPciRootBridgeIo/UefiPciLibPciRootBridgeIo.inf\r
   MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/UefiPciSegmentLibPciRootBridgeIo.inf\r
   MdePkg/Library/SmmLibNull/SmmLibNull.inf\r
+  MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
+\r
+  MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf\r
 \r
 [Components.IA32, Components.X64]\r
   MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
+  MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
   MdePkg/Library/BaseMemoryLibMmx/BaseMemoryLibMmx.inf\r
   MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf\r
   MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf\r
   MdePkg/Library/SmmPciLibPciRootBridgeIo/SmmPciLibPciRootBridgeIo.inf\r
   MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
   MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
-\r
-[Components.IPF]\r
-  MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
-  MdePkg/Library/BasePalLibNull/BasePalLibNull.inf\r
-  MdePkg/Library/PeiPalLib/PeiPalLib.inf\r
-  MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointerLibKr7.inf\r
-  MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r
-  MdePkg/Library/UefiPalLib/UefiPalLib.inf\r
-  MdePkg/Library/UefiSalLib/UefiSalLib.inf\r
-\r
+  MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.inf\r
+  MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf\r
+  MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf\r
+  MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf\r
+  MdePkg/Library/BaseS3SmbusLib/BaseS3SmbusLib.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
 \r
 [Components.EBC]\r
+  MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
   MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
 \r
+[Components.ARM, Components.AARCH64]\r
+  MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf\r
+  MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
+\r
+[BuildOptions]\r
+  *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r