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