remove the DEBUG_CODE_BEGIN and DEBUG_CODE_END due to the logic between them are...
[edk2.git] / IntelFrameworkModulePkg / IntelFrameworkModulePkg.dsc
blob8a69f89e16657aa4e9efed70cdad98a0f7e2a3af
1 #/** @file\r
2 # Intel Framework Reference Module Package for All Architectures\r
3 #\r
4 # This file is used to build all modules in IntelFrameworkModulePkg.\r
5 #\r
6 # Copyright (c) 2007 - 2009, Intel Corporation\r
7 #\r
8 # All rights reserved. This program and the accompanying materials\r
9 # are licensed and made available under the terms and conditions of the BSD License\r
10 # which accompanies this distribution. The full text of the license may be found at\r
11 # http://opensource.org/licenses/bsd-license.php\r
12 #\r
13 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
14 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
15 #\r
16 #**/\r
18 ################################################################################\r
19 #\r
20 # Defines Section - statements that will be processed to create a Makefile.\r
21 #\r
22 ################################################################################\r
23 [Defines]\r
24   PLATFORM_NAME                  = IntelFrameworkModuleAll\r
25   PLATFORM_GUID                  = FFF87D9A-E5BB-4AFF-9ADE-8645492E8087\r
26   PLATFORM_VERSION               = 0.1\r
27   DSC_SPECIFICATION              = 0x00010005\r
28   OUTPUT_DIRECTORY               = Build/IntelFrameworkModuleAll\r
29   SUPPORTED_ARCHITECTURES        = IA32|IPF|X64|EBC\r
30   BUILD_TARGETS                  = DEBUG|RELEASE\r
31   SKUID_IDENTIFIER               = DEFAULT\r
33 ################################################################################\r
34 #\r
35 # SKU Identification section - list of all SKU IDs supported by this\r
36 #                              Platform.\r
37 #\r
38 ################################################################################\r
39 [SkuIds]\r
40   0|DEFAULT              # The entry: 0|DEFAULT is reserved and always required.\r
42 [LibraryClasses.common]\r
43   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
44   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
45   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
46   CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
47   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
48   PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
49   PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
50   PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
51   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
52   PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
53   PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
54   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
55   TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
56   UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
57   OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
58   SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
59   S3Lib|IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf\r
60   RecoveryLib|IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.inf\r
61   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
62   GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
63   UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
64   HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
65   PlatformBdsLib|IntelFrameworkModulePkg/Library/PlatformBdsLibNull/PlatformBdsLibNull.inf\r
66   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
67   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
68   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
70 [LibraryClasses.common.PEIM]\r
71   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
72   PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
73   PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
74   IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf\r
75   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
76   PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
77   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
78   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
79   ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
81 [LibraryClasses.common.DXE_DRIVER]\r
82   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
83   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
84   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
85   SmbusLib|MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf\r
86   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
87   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
88   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
89   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
90   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
91   DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
92   ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
93   IoLib|IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf\r
95 [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
96   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
97   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
98   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
99   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
100   DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
101   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
102   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
103   UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
104   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
105   ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
106   IoLib|IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf\r
108 [LibraryClasses.common.UEFI_DRIVER]\r
109   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
110   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
111   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
112   SmbusLib|MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf\r
113   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
114   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
115   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
116   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
117   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
118   DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
119   ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
120   IoLib|IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf\r
122 ################################################################################\r
124 # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
126 ################################################################################\r
127 [PcdsFeatureFlag.common]\r
128   gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE\r
129   gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE\r
130   gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE\r
131   gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE\r
132   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
133   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|TRUE\r
134   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdIsaBusSerialUseHalfHandshake|FALSE\r
136 [PcdsFixedAtBuild.common]\r
137   gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
138   gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
139   gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
140   gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
141   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
142   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
143   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06\r
144   gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
145   gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0\r
146   gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
147   gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
148   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0xFFFB0000\r
149   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200\r
150   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8\r
151   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1\r
152   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1\r
153   gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|0\r
154   \r
155 [PcdsDynamicDefault.PEIM.DEFAULT]\r
156   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
158 [PcdsDynamicDefault.DXE_RUNTIME_DRIVER.DEFAULT]\r
159   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|4\r
161 [PcdsFixedAtBuild.IPF]\r
162   gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf|0x0ffffc000000\r
164 ###################################################################################################\r
166 # Components Section - list of the modules and components that will be processed by compilation\r
167 #                      tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
169 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
170 #       into firmware volume images. This section is just a list of modules to compile from\r
171 #       source into UEFI-compliant binaries.\r
172 #       It is the FDF file that contains information on combining binary files into firmware\r
173 #       volume images, whose concept is beyond UEFI and is described in PI specification.\r
174 #       Binary modules do not need to be listed in this section, as they should be\r
175 #       specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
176 #       Logo (Logo.bmp), and etc.\r
177 #       There may also be modules listed in this section that are not required in the FDF file,\r
178 #       When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
179 #       generated for it, but the binary will not be put into any firmware volume.\r
181 ###################################################################################################\r
183 [Components.common]\r
184   IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
185   IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
186   IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
187   IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf\r
188   IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.inf\r
189   IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
190   IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
191   IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeReportStatusCodeLibFramework.inf\r
192   IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
193   IntelFrameworkModulePkg/Library/PlatformBdsLibNull/PlatformBdsLibNull.inf\r
194   IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
196   IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
197   IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
198   IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
199   IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
200   IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
201   IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
202   IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf\r
203   IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointerDxe.inf\r
204   IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf\r
205   IntelFrameworkModulePkg/Bus/Pci/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupportDxe.inf\r
207   IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtractionDxe.inf\r
208   IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf\r
209   IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErrDxe.inf\r
210   IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
211   IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf\r
212   IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
213   IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf\r
215 [Components.IA32]\r
216   IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
218 [Components.X64]\r
219   IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r