blob: a75c5a1afe93d3467c4f98e27e48ea06db4aa906 [file] [log] [blame]
lgao46bfbb5f2010-02-24 00:21:16 +00001## @file
vanjeff6dc19352010-02-26 05:49:12 +00002# An EFI/Framework Emulation Platform with UEFI HII interface supported.
gikidy9f485cc2010-01-28 03:14:11 +00003#
vanjeff6dc19352010-02-26 05:49:12 +00004# Developer's UEFI Emulation. DUET provides an EFI/UEFI IA32/X64 environment on legacy BIOS,
gikidy9f485cc2010-01-28 03:14:11 +00005# to help developing and debugging native EFI/UEFI drivers.
vanjeff6dc19352010-02-26 05:49:12 +00006#
lgao46bfbb5f2010-02-24 00:21:16 +00007# Copyright (c) 2010 - 2010, Intel Corporation. All rights reserved. <BR>
gikidy9f485cc2010-01-28 03:14:11 +00008#
9# This program and the accompanying materials
10# are licensed and made available under the terms and conditions of the BSD License
11# which accompanies this distribution. The full text of the license may be found at
12# http://opensource.org/licenses/bsd-license.php
13#
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16#
lgao46bfbb5f2010-02-24 00:21:16 +000017##
niruiyu86c85202010-02-08 05:43:12 +000018
lgao4b2e59572010-03-21 13:14:47 +000019################################################################################
20#
21# Defines Section - statements that will be processed to create a Makefile.
22#
23################################################################################
niruiyu86c85202010-02-08 05:43:12 +000024[Defines]
25 PLATFORM_NAME = DuetPkg
26 PLATFORM_GUID = 199E24E0-0989-42aa-87F2-611A8C397E72
27 PLATFORM_VERSION = 0.3
28 DSC_SPECIFICATION = 0x00010005
klu2ab9cb4b2010-03-18 02:36:52 +000029 OUTPUT_DIRECTORY = Build/DuetPkgX64
30 SUPPORTED_ARCHITECTURES = X64
lgao459a4bd42010-03-21 02:06:59 +000031 BUILD_TARGETS = DEBUG|RELEASE
niruiyu86c85202010-02-08 05:43:12 +000032 SKUID_IDENTIFIER = DEFAULT
33 FLASH_DEFINITION = DuetPkg/DuetPkg.fdf
34
lgao4b2e59572010-03-21 13:14:47 +000035################################################################################
36#
37# Library Class section - list of all Library Classes needed by this Platform.
38#
39################################################################################
lgao46bfbb5f2010-02-24 00:21:16 +000040[LibraryClasses]
lgao4b2e59572010-03-21 13:14:47 +000041 #
42 # Entry point
43 #
44 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
45 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
46 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
47 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
48 #
49 # Basic
50 #
niruiyu86c85202010-02-08 05:43:12 +000051 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
52 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
53 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
niruiyu86c85202010-02-08 05:43:12 +000054 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
lgao4b2e59572010-03-21 13:14:47 +000055 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
niruiyu86c85202010-02-08 05:43:12 +000056 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
niruiyu0e047a22010-02-21 09:30:01 +000057 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
58 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
lgao4b2e59572010-03-21 13:14:47 +000059 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
60 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
61 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
62 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
63 #
64 # UEFI & PI
65 #
66 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
67 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
68 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
69 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
70 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
71 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
72 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
73 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
74 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
75 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
76
77 #
78 # Generic Modules
79 #
niruiyu86c85202010-02-08 05:43:12 +000080 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
lgao4b2e59572010-03-21 13:14:47 +000081 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
82 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
83 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
niruiyu86c85202010-02-08 05:43:12 +000084 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
lgao4b2e59572010-03-21 13:14:47 +000085 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
86 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
87 #
88 # Platform
89 #
90 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf
91 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf
92 #
93 # Misc
94 #
95 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
vanjeff6dc19352010-02-26 05:49:12 +000096 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
lgao4b2e59572010-03-21 13:14:47 +000097 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
98 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
99 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
100 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
101
niruiyu86c85202010-02-08 05:43:12 +0000102 #
103 # To save size, use NULL library for DebugLib and ReportStatusCodeLib.
104 # If need status code output, do library instance overriden as below DxeMain.inf does
105 #
106 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
107 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
vanjeff6dc19352010-02-26 05:49:12 +0000108
niruiyu86c85202010-02-08 05:43:12 +0000109[LibraryClasses.common.DXE_CORE]
110 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
niruiyu86c85202010-02-08 05:43:12 +0000111 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
niruiyu86c85202010-02-08 05:43:12 +0000112
lgao4b2e59572010-03-21 13:14:47 +0000113################################################################################
114#
115# Pcd Section - list of all EDK II PCD Entries defined by this Platform
116#
117################################################################################
niruiyu86c85202010-02-08 05:43:12 +0000118[PcdsFixedAtBuild]
119 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0
120 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
121 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0
122
lgao46bfbb5f2010-02-24 00:21:16 +0000123[PcdsFeatureFlag]
niruiyuc943ee02010-02-20 07:10:16 +0000124 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
125
niruiyu23031902010-02-22 06:03:08 +0000126
niruiyu86c85202010-02-08 05:43:12 +0000127###################################################################################################
128#
129# Components Section - list of the modules and components that will be processed by compilation
130# tools and the EDK II tools to generate PE32/PE32+/Coff image files.
131#
132# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
133# into firmware volume images. This section is just a list of modules to compile from
134# source into UEFI-compliant binaries.
135# It is the FDF file that contains information on combining binary files into firmware
136# volume images, whose concept is beyond UEFI and is described in PI specification.
137# Binary modules do not need to be listed in this section, as they should be
138# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
139# Logo (Logo.bmp), and etc.
140# There may also be modules listed in this section that are not required in the FDF file,
141# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
142# generated for it, but the binary will not be put into any firmware volume.
143#
144###################################################################################################
lgao46bfbb5f2010-02-24 00:21:16 +0000145[Components]
niruiyu86c85202010-02-08 05:43:12 +0000146 DuetPkg/DxeIpl/DxeIpl.inf {
147 <LibraryClasses>
148 #
vanjeff6dc19352010-02-26 05:49:12 +0000149 # If no following overriden for ReportStatusCodeLib library class,
niruiyu86c85202010-02-08 05:43:12 +0000150 # All other module can *not* output debug information even they are use not NULL library
151 # instance for DebugLib and ReportStatusCodeLib
152 #
153 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
154 }
155
156 MdeModulePkg/Core/Dxe/DxeMain.inf {
157 #
158 # Enable debug output for DxeCore module, this is a sample for how to enable debug output
159 # for a module. If need turn on debug output for other module, please copy following overriden
160 # PCD and library instance to other module's override section.
161 #
162 <PcdsFixedAtBuild>
163 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
164 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
165 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
166 <LibraryClasses>
167 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
168 ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf
169 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
170 }
klu291a6db72010-02-25 16:52:10 +0000171
niruiyu86c85202010-02-08 05:43:12 +0000172 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
173 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
174 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
175 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
176
177 DuetPkg/FSVariable/FSVariable.inf
178 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
179 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
180 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
181 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
182 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
183 <LibraryClasses>
184 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
185 }
186 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
187 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
188
189 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
190 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
191 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
192 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
193 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
194
195
196 DuetPkg/SmbiosGenDxe/SmbiosGen.inf
197 #DuetPkg/FvbRuntimeService/DUETFwh.inf
198 DuetPkg/EfiLdr/EfiLdr.inf {
199 <LibraryClasses>
200 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
201 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
202 }
203 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
204 <LibraryClasses>
205 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
206 }
207 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
208 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
209 DuetPkg/CpuDxe/Cpu.inf
210 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
niruiyu0e047a22010-02-21 09:30:01 +0000211 DuetPkg/AcpiResetDxe/Reset.inf
niruiyu86c85202010-02-08 05:43:12 +0000212 DuetPkg/LegacyMetronome/Metronome.inf
213
214 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
215 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
216 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
217 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
218 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
219 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
220
221 # IDE Support
222 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
223 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
vanjeff6dc19352010-02-26 05:49:12 +0000224
niruiyu86c85202010-02-08 05:43:12 +0000225 # Usb Support
226 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
227 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
228 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
229 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
230 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
231
232 # ISA Support
233 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
234 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
235 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
236 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
237 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
238
239 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
240 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
241 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
242
243 # Bios Thunk
244 DuetPkg/BiosVideoThunkDxe/BiosVideo.inf
245
246 #
247 # Sample Application
248 #
249 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
250
lgao4b2e59572010-03-21 13:14:47 +0000251###################################################################################################
252#
253# BuildOptions Section - Define the module specific tool chain flags that should be used as
254# the default flags for a module. These flags are appended to any
255# standard flags that are defined by the build process. They can be
256# applied for any modules or only those modules with the specific
257# module style (EDK or EDKII) specified in [Components] section.
258#
259###################################################################################################
lgao46bfbb5f2010-02-24 00:21:16 +0000260[BuildOptions]
niruiyu86c85202010-02-08 05:43:12 +0000261 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR
262