]> git.proxmox.com Git - mirror_edk2.git/blame - DuetPkg/DuetPkgX64.dsc
DuetPkg: Add SortLib/UefiBootManagerLib
[mirror_edk2.git] / DuetPkg / DuetPkgX64.dsc
CommitLineData
6bfbb5f0 1## @file\r
6dc19356 2# An EFI/Framework Emulation Platform with UEFI HII interface supported.\r
9f485cc7 3#\r
6dc19356 4# Developer's UEFI Emulation. DUET provides an EFI/UEFI IA32/X64 environment on legacy BIOS,\r
9f485cc7 5# to help developing and debugging native EFI/UEFI drivers.\r
6dc19356 6#\r
5dcf28b7 7# Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
9f485cc7 8#\r
9# This program and the accompanying materials\r
10# are licensed and made available under the terms and conditions of the BSD License\r
11# which accompanies this distribution. The full text of the license may be found at\r
12# http://opensource.org/licenses/bsd-license.php\r
13#\r
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
16#\r
6bfbb5f0 17##\r
86c8520c 18\r
b2e5957e
LG
19################################################################################\r
20#\r
21# Defines Section - statements that will be processed to create a Makefile.\r
22#\r
23################################################################################\r
86c8520c
RN
24[Defines]\r
25 PLATFORM_NAME = DuetPkg\r
26 PLATFORM_GUID = 199E24E0-0989-42aa-87F2-611A8C397E72\r
0c949bad 27 PLATFORM_VERSION = 0.4\r
86c8520c 28 DSC_SPECIFICATION = 0x00010005\r
ab9cb4b1 29 OUTPUT_DIRECTORY = Build/DuetPkgX64\r
30 SUPPORTED_ARCHITECTURES = X64\r
a47d4637 31 BUILD_TARGETS = DEBUG\r
86c8520c
RN
32 SKUID_IDENTIFIER = DEFAULT\r
33 FLASH_DEFINITION = DuetPkg/DuetPkg.fdf\r
bab82372
HW
34!if $(TOOL_CHAIN_TAG) == GCC47 || $(TOOL_CHAIN_TAG) == GCC48 || $(TOOL_CHAIN_TAG) == GCC49 || $(TOOL_CHAIN_TAG) == GCC5\r
35 POSTBUILD = DuetPkg/PostBuild.sh\r
36!else\r
37 POSTBUILD = DuetPkg/PostBuild.bat\r
38!endif\r
86c8520c 39\r
b2e5957e
LG
40################################################################################\r
41#\r
42# Library Class section - list of all Library Classes needed by this Platform.\r
43#\r
44################################################################################\r
6bfbb5f0 45[LibraryClasses]\r
b2e5957e
LG
46 #\r
47 # Entry point\r
48 #\r
49 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
50 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
51 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
52 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
53 #\r
54 # Basic\r
55 #\r
86c8520c
RN
56 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
57 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
58 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
86c8520c 59 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
b2e5957e
LG
60 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
61 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
62 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
63 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
64 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
65 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
66 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
67 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
68 #\r
69 # UEFI & PI\r
70 #\r
86c8520c 71 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
b2e5957e
LG
72 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
73 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
74 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
86c8520c
RN
75 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
76 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
b2e5957e
LG
77 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
78 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
79 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
86c8520c 80 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
d4d58cbe 81 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
c5ae1de6 82\r
b2e5957e
LG
83 #\r
84 # Generic Modules\r
85 #\r
86 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
87 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
88 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
86c8520c 89 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
b2e5957e 90 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
86c8520c 91 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
86c8520c 92 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
6b1ac444 93 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
b2e5957e
LG
94 #\r
95 # Platform\r
96 #\r
97 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf\r
86c8520c 98 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf\r
b2e5957e
LG
99 #\r
100 # Misc\r
101 #\r
102 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
6dc19356 103 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
b2e5957e
LG
104 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
105 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
106 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
107 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
b68b78e6
RN
108 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf\r
109 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
b8781a77 110 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
38e47f79 111 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r
3a7ec658 112 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
c5ae1de6 113 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
1de28466 114 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
5dcf28b7
DB
115 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf\r
116 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
2a95fdb8 117\r
86c8520c
RN
118 #\r
119 # To save size, use NULL library for DebugLib and ReportStatusCodeLib.\r
120 # If need status code output, do library instance overriden as below DxeMain.inf does\r
121 #\r
122 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
c5ae1de6 123 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
86c8520c 124 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
6dc19356 125\r
86c8520c
RN
126[LibraryClasses.common.DXE_CORE]\r
127 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
86c8520c 128 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
86c8520c 129\r
b2e5957e
LG
130################################################################################\r
131#\r
132# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
133#\r
134################################################################################\r
86c8520c
RN
135[PcdsFixedAtBuild]\r
136 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0\r
137 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0\r
138 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0\r
df1b7575 139 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
86c8520c 140\r
6bfbb5f0 141[PcdsFeatureFlag]\r
c943ee03 142 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
23031904 143\r
86c8520c
RN
144###################################################################################################\r
145#\r
146# Components Section - list of the modules and components that will be processed by compilation\r
147# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
148#\r
149# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
150# into firmware volume images. This section is just a list of modules to compile from\r
151# source into UEFI-compliant binaries.\r
152# It is the FDF file that contains information on combining binary files into firmware\r
153# volume images, whose concept is beyond UEFI and is described in PI specification.\r
154# Binary modules do not need to be listed in this section, as they should be\r
155# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
156# Logo (Logo.bmp), and etc.\r
157# There may also be modules listed in this section that are not required in the FDF file,\r
158# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
159# generated for it, but the binary will not be put into any firmware volume.\r
160#\r
161###################################################################################################\r
6bfbb5f0 162[Components]\r
86c8520c
RN
163 DuetPkg/DxeIpl/DxeIpl.inf {\r
164 <LibraryClasses>\r
165 #\r
6dc19356 166 # If no following overriden for ReportStatusCodeLib library class,\r
86c8520c
RN
167 # All other module can *not* output debug information even they are use not NULL library\r
168 # instance for DebugLib and ReportStatusCodeLib\r
169 #\r
170 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
171 }\r
172\r
173 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
174 #\r
175 # Enable debug output for DxeCore module, this is a sample for how to enable debug output\r
176 # for a module. If need turn on debug output for other module, please copy following overriden\r
177 # PCD and library instance to other module's override section.\r
178 #\r
179 <PcdsFixedAtBuild>\r
180 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
181 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
182 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042\r
183 <LibraryClasses>\r
95a11f81 184 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
86c8520c 185 ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf\r
86c8520c 186 }\r
91a6db79 187\r
86c8520c
RN
188 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
189 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
190 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
191 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
192\r
193 DuetPkg/FSVariable/FSVariable.inf\r
194 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
195 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
196 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
197 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
198 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {\r
199 <LibraryClasses>\r
200 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
201 }\r
202 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
203 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
6b1ac444 204 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
86c8520c 205\r
86c8520c
RN
206 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
207 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
208 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
209 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
210\r
211\r
212 DuetPkg/SmbiosGenDxe/SmbiosGen.inf\r
213 #DuetPkg/FvbRuntimeService/DUETFwh.inf\r
214 DuetPkg/EfiLdr/EfiLdr.inf {\r
215 <LibraryClasses>\r
216 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
95a11f81 217 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
86c8520c
RN
218 }\r
219 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
220 <LibraryClasses>\r
221 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
222 }\r
223 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
224 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
b8781a77 225 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
86c8520c 226 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
0e047a2a 227 DuetPkg/AcpiResetDxe/Reset.inf\r
86c8520c
RN
228 DuetPkg/LegacyMetronome/Metronome.inf\r
229\r
230 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
231 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
232 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf\r
233 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf\r
234 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf\r
235 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf\r
236\r
27f30159
SZ
237 # IDE/AHCI Support\r
238 DuetPkg/SataControllerDxe/SataControllerDxe.inf\r
239 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
240 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
241 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
242 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
6dc19356 243\r
86c8520c
RN
244 # Usb Support\r
245 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
246 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
247 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
248 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
249 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
250\r
251 # ISA Support\r
252 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
253 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
254 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
255 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
256 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
257\r
258 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
259 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
260 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
3870d285 261 FatPkg/EnhancedFatDxe/Fat.inf\r
86c8520c
RN
262\r
263 # Bios Thunk\r
264 DuetPkg/BiosVideoThunkDxe/BiosVideo.inf\r
265\r
266 #\r
267 # Sample Application\r
268 #\r
269 MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
270\r
b2e5957e
LG
271###################################################################################################\r
272#\r
273# BuildOptions Section - Define the module specific tool chain flags that should be used as\r
c5ae1de6
EB
274# the default flags for a module. These flags are appended to any\r
275# standard flags that are defined by the build process. They can be\r
276# applied for any modules or only those modules with the specific\r
b2e5957e
LG
277# module style (EDK or EDKII) specified in [Components] section.\r
278#\r
279###################################################################################################\r
6bfbb5f0 280[BuildOptions]\r
86c8520c
RN
281 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR\r
282\r