Remove unused section in .INF, .DEC, .DSC of MdePkg and MdeModulePkg.
[mirror_edk2.git] / MdePkg / MdePkg.dsc
1 #/** @file
2 # EFI/PI MdePkg Package
3 #
4 # Copyright (c) 2007, Intel Corporation
5 #
6 # All rights reserved. This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 #**/
15
16 [Defines]
17 PLATFORM_NAME = Mde
18 PLATFORM_GUID = 082F8BFC-0455-4859-AE3C-ECD64FB81642
19 PLATFORM_VERSION = 0.1
20 DSC_SPECIFICATION = 0x00010005
21 OUTPUT_DIRECTORY = $(WORKSPACE)/Build/Mde
22 SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC
23 BUILD_TARGETS = DEBUG|RELEASE
24 SKUID_IDENTIFIER = DEFAULT
25
26
27 [PcdsFeatureFlag.common]
28 PcdComponentNameDisable|gEfiMdePkgTokenSpaceGuid|FALSE
29 PcdDriverDiagnosticsDisable|gEfiMdePkgTokenSpaceGuid|FALSE
30 PcdComponentName2Disable|gEfiMdePkgTokenSpaceGuid|FALSE
31 PcdDriverDiagnostics2Disable|gEfiMdePkgTokenSpaceGuid|FALSE
32
33 [PcdsFixedAtBuild.common]
34 PcdMaximumUnicodeStringLength|gEfiMdePkgTokenSpaceGuid|1000000
35 PcdMaximumAsciiStringLength|gEfiMdePkgTokenSpaceGuid|1000000
36 PcdMaximumLinkedListLength|gEfiMdePkgTokenSpaceGuid|1000000
37 PcdSpinLockTimeout|gEfiMdePkgTokenSpaceGuid|10000000
38 PcdDebugPropertyMask|gEfiMdePkgTokenSpaceGuid|0x0f
39 PcdDebugPrintErrorLevel|gEfiMdePkgTokenSpaceGuid|0x80000000
40 PcdReportStatusCodePropertyMask|gEfiMdePkgTokenSpaceGuid|0x06
41 PcdDebugClearMemoryValue|gEfiMdePkgTokenSpaceGuid|0xAF
42 PcdPerformanceLibraryPropertyMask|gEfiMdePkgTokenSpaceGuid|0
43 PcdPostCodePropertyMask|gEfiMdePkgTokenSpaceGuid|0
44 PcdPciExpressBaseAddress|gEfiMdePkgTokenSpaceGuid|0xE0000000
45 PcdFSBClock|gEfiMdePkgTokenSpaceGuid|200000000
46 PcdUefiLibMaxPrintBufferSize|gEfiMdePkgTokenSpaceGuid|320
47
48 [PcdsPatchableInModule.common]
49 PcdDebugPrintErrorLevel|gEfiMdePkgTokenSpaceGuid|0x80000000
50 PcdPciExpressBaseAddress|gEfiMdePkgTokenSpaceGuid|0xE0000000
51 PcdFSBClock|gEfiMdePkgTokenSpaceGuid|200000000
52
53
54 [PcdsFixedAtBuild.IPF]
55 PcdIoBlockBaseAddressForIpf|gEfiMdePkgTokenSpaceGuid|0x0ffffc000000
56
57 [Components.common]
58 $(WORKSPACE)/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
59 $(WORKSPACE)/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
60 $(WORKSPACE)/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
61 $(WORKSPACE)/MdePkg/Library/BaseLib/BaseLib.inf
62 $(WORKSPACE)/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
63 $(WORKSPACE)/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
64 $(WORKSPACE)/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
65 $(WORKSPACE)/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
66 $(WORKSPACE)/MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
67 $(WORKSPACE)/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
68 $(WORKSPACE)/MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
69 $(WORKSPACE)/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
70 $(WORKSPACE)/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf
71 $(WORKSPACE)/MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
72 $(WORKSPACE)/MdePkg/Library/BasePrintLib/BasePrintLib.inf
73 $(WORKSPACE)/MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
74 $(WORKSPACE)/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
75 $(WORKSPACE)/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
76 $(WORKSPACE)/MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
77 $(WORKSPACE)/MdePkg/Library/DxeHobLib/DxeHobLib.inf
78 $(WORKSPACE)/MdePkg/Library/PeiHobLib/PeiHobLib.inf
79 $(WORKSPACE)/MdePkg/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
80 $(WORKSPACE)/MdePkg/Library/DxePcdLib/DxePcdLib.inf
81 $(WORKSPACE)/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
82 $(WORKSPACE)/MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf
83 $(WORKSPACE)/MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
84 $(WORKSPACE)/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf
85 $(WORKSPACE)/MdePkg/Library/PeiHobLib/PeiHobLib.inf
86 $(WORKSPACE)/MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
87 $(WORKSPACE)/MdePkg/Library/PeiMemoryLib/PeiMemoryLib.inf
88 $(WORKSPACE)/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
89 $(WORKSPACE)/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
90 $(WORKSPACE)/MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
91 $(WORKSPACE)/MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
92 $(WORKSPACE)/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
93 $(WORKSPACE)/MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLib.inf
94 $(WORKSPACE)/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.inf
95 $(WORKSPACE)/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
96 $(WORKSPACE)/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
97 $(WORKSPACE)/MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
98 $(WORKSPACE)/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
99 $(WORKSPACE)/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
100 $(WORKSPACE)/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
101 $(WORKSPACE)/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
102 $(WORKSPACE)/MdePkg/Library/UefiLib/UefiLib.inf
103 $(WORKSPACE)/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
104 $(WORKSPACE)/MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
105 $(WORKSPACE)/MdePkg/Library/DxeMemoryLib/DxeMemoryLib.inf
106 $(WORKSPACE)/MdePkg/Library/BaseCustomDecompressLibNull/BaseCustomDecompressLibNull.inf
107 $(WORKSPACE)/MdePkg/Library/DxeDebugLibSerialPort/DxeDebugLibSerialPort.inf
108 $(WORKSPACE)/MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
109
110 [Components.IA32]
111 $(WORKSPACE)/MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
112 $(WORKSPACE)/MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
113 $(WORKSPACE)/MdePkg/Library/BaseMemoryLibMmx/BaseMemoryLibMmx.inf
114 $(WORKSPACE)/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
115 $(WORKSPACE)/MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
116 $(WORKSPACE)/MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
117 $(WORKSPACE)/MdePkg/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf
118
119 [Components.X64]
120 $(WORKSPACE)/MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
121 $(WORKSPACE)/MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
122 $(WORKSPACE)/MdePkg/Library/BaseMemoryLibMmx/BaseMemoryLibMmx.inf
123 $(WORKSPACE)/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
124 $(WORKSPACE)/MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
125 $(WORKSPACE)/MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
126 $(WORKSPACE)/MdePkg/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf
127
128 [Components.IPF]
129 $(WORKSPACE)/MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
130 $(WORKSPACE)/MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointerLibKr7.inf