MdePkg: introduce standalone MM entry point library implementation
[mirror_edk2.git] / MdePkg / MdePkg.dsc
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 #\r
7 #    This program and the accompanying materials\r
8 #    are licensed and made available under the terms and conditions of the BSD License\r
9 #    which accompanies this distribution. The full text of the license may be found at\r
10 #    http://opensource.org/licenses/bsd-license.php\r
11 #\r
12 #    THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13 #    WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14 #\r
15 ##\r
16 \r
17 [Defines]\r
18   PLATFORM_NAME                  = Mde\r
19   PLATFORM_GUID                  = 082F8BFC-0455-4859-AE3C-ECD64FB81642\r
20   PLATFORM_VERSION               = 1.08\r
21   DSC_SPECIFICATION              = 0x00010005\r
22   OUTPUT_DIRECTORY               = Build/Mde\r
23   SUPPORTED_ARCHITECTURES        = IA32|X64|EBC|ARM|AARCH64\r
24   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT\r
25   SKUID_IDENTIFIER               = DEFAULT\r
26 \r
27 [PcdsFeatureFlag]\r
28   gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE\r
29 \r
30 [PcdsFixedAtBuild]\r
31   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
32   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
33   gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
34 \r
35 [Components]\r
36   MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
37   MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
38   MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
39   MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
40   MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
41   MdePkg/Library/BaseLib/BaseLib.inf\r
42   MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
43   MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
44   MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
45   MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
46   MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
47   MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
48   MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
49   MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
50   MdePkg/Library/BasePciSegmentInfoLibNull/BasePciSegmentInfoLibNull.inf\r
51   MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf\r
52   MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.inf\r
53   MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf\r
54   MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
55   MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
56   MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
57   MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
58   MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf\r
59   MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf\r
60   MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
61   MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
62   MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
63   MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
64   MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
65   MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
66   MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
67   MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
68 \r
69   MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
70   MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
71   MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
72   MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
73   MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
74   MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
75   MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
76   MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf\r
77   MdePkg/Library/DxeIoLibCpuIo2/DxeIoLibCpuIo2.inf\r
78   MdePkg/Library/DxeHstiLib/DxeHstiLib.inf\r
79   MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf\r
80   MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf\r
81 \r
82   MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
83   MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf\r
84   MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
85   MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
86   MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf\r
87   MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
88   MdePkg/Library/PeiMemoryLib/PeiMemoryLib.inf\r
89   MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
90   MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
91   MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
92   MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
93   MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
94   MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLibSmbus2Ppi.inf\r
95   MdePkg/Library/PeiPciLibPciCfg2/PeiPciLibPciCfg2.inf\r
96   MdePkg/Library/PeiPciSegmentLibPciCfg2/PeiPciSegmentLibPciCfg2.inf\r
97 \r
98   MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
99   MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
100   MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
101   MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf\r
102   MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf\r
103   MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
104   MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf\r
105   MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
106   MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
107   MdePkg/Library/UefiLib/UefiLib.inf\r
108   MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
109   MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf\r
110   MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
111   MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
112   MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
113   MdePkg/Library/UefiPciLibPciRootBridgeIo/UefiPciLibPciRootBridgeIo.inf\r
114   MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/UefiPciSegmentLibPciRootBridgeIo.inf\r
115   MdePkg/Library/SmmLibNull/SmmLibNull.inf\r
116   MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
117 \r
118   MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf\r
119 \r
120 [Components.IA32, Components.X64]\r
121   MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
122   MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
123   MdePkg/Library/BaseMemoryLibMmx/BaseMemoryLibMmx.inf\r
124   MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf\r
125   MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf\r
126   MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
127   MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf\r
128   MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
129   MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r
130   MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
131   MdePkg/Library/SmmIoLibSmmCpuIo2/SmmIoLibSmmCpuIo2.inf\r
132   MdePkg/Library/SmmPciLibPciRootBridgeIo/SmmPciLibPciRootBridgeIo.inf\r
133   MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
134   MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
135   MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.inf\r
136   MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf\r
137   MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf\r
138   MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf\r
139   MdePkg/Library/BaseS3SmbusLib/BaseS3SmbusLib.inf\r
140   MdePkg/Library/BaseS3StallLib/BaseS3StallLib.inf\r
141   MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
142   MdePkg/Library/SmmIoLib/SmmIoLib.inf\r
143   MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
144   MdePkg/Library/SmmPciExpressLib/SmmPciExpressLib.inf\r
145   MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf\r
146   MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
147 \r
148 [Components.EBC]\r
149   MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
150   MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
151 \r
152 [Components.ARM, Components.AARCH64]\r
153   MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf\r
154   MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
155 \r
156 [BuildOptions]\r
157   *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r