blob: eeae767f1374f774fe6d528c91d7827e98ff4b39 [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#
Ruiyu Ni3a7ec652013-11-26 05:41:34 +00007# Copyright (c) 2010 - 2013, 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
niruiyu0c949ba2011-12-13 08:31:55 +000027 PLATFORM_VERSION = 0.4
niruiyu86c85202010-02-08 05:43:12 +000028 DSC_SPECIFICATION = 0x00010005
klu2ab9cb4b2010-03-18 02:36:52 +000029 OUTPUT_DIRECTORY = Build/DuetPkgX64
30 SUPPORTED_ARCHITECTURES = X64
lgao4a47d4632010-03-29 09:49:53 +000031 BUILD_TARGETS = DEBUG
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
rsun3d4d58cb2012-07-10 04:57:44 +000076 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
geekboy15ac5ae1de2012-05-18 20:22:36 +000077
lgao4b2e59572010-03-21 13:14:47 +000078 #
79 # Generic Modules
80 #
niruiyu86c85202010-02-08 05:43:12 +000081 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
lgao4b2e59572010-03-21 13:14:47 +000082 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
83 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
84 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
niruiyu86c85202010-02-08 05:43:12 +000085 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
lgao4b2e59572010-03-21 13:14:47 +000086 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
87 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
Eric Dong6b1ac442013-08-12 02:25:59 +000088 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
lgao4b2e59572010-03-21 13:14:47 +000089 #
90 # Platform
91 #
92 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf
93 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf
94 #
95 # Misc
96 #
97 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
vanjeff6dc19352010-02-26 05:49:12 +000098 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
lgao4b2e59572010-03-21 13:14:47 +000099 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
100 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
101 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
102 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
niruiyub68b78e2011-06-23 08:31:18 +0000103 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
104 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
jljustenb8781a72010-10-22 01:08:16 +0000105 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
li-elvin38e47f72011-09-05 09:46:55 +0000106 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
Ruiyu Ni3a7ec652013-11-26 05:41:34 +0000107 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
geekboy15ac5ae1de2012-05-18 20:22:36 +0000108 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
vanjeff2a95fdb2012-03-16 08:36:39 +0000109
niruiyu86c85202010-02-08 05:43:12 +0000110 #
111 # To save size, use NULL library for DebugLib and ReportStatusCodeLib.
112 # If need status code output, do library instance overriden as below DxeMain.inf does
113 #
114 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
geekboy15ac5ae1de2012-05-18 20:22:36 +0000115 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
niruiyu86c85202010-02-08 05:43:12 +0000116 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
vanjeff6dc19352010-02-26 05:49:12 +0000117
niruiyu86c85202010-02-08 05:43:12 +0000118[LibraryClasses.common.DXE_CORE]
119 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
niruiyu86c85202010-02-08 05:43:12 +0000120 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
niruiyu86c85202010-02-08 05:43:12 +0000121
lgao4b2e59572010-03-21 13:14:47 +0000122################################################################################
123#
124# Pcd Section - list of all EDK II PCD Entries defined by this Platform
125#
126################################################################################
niruiyu86c85202010-02-08 05:43:12 +0000127[PcdsFixedAtBuild]
128 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0
129 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
130 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0
lgao4df1b7572011-08-29 13:36:03 +0000131 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
niruiyu86c85202010-02-08 05:43:12 +0000132
lgao46bfbb5f2010-02-24 00:21:16 +0000133[PcdsFeatureFlag]
niruiyuc943ee02010-02-20 07:10:16 +0000134 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
niruiyu23031902010-02-22 06:03:08 +0000135
niruiyu86c85202010-02-08 05:43:12 +0000136###################################################################################################
137#
138# Components Section - list of the modules and components that will be processed by compilation
139# tools and the EDK II tools to generate PE32/PE32+/Coff image files.
140#
141# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
142# into firmware volume images. This section is just a list of modules to compile from
143# source into UEFI-compliant binaries.
144# It is the FDF file that contains information on combining binary files into firmware
145# volume images, whose concept is beyond UEFI and is described in PI specification.
146# Binary modules do not need to be listed in this section, as they should be
147# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
148# Logo (Logo.bmp), and etc.
149# There may also be modules listed in this section that are not required in the FDF file,
150# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
151# generated for it, but the binary will not be put into any firmware volume.
152#
153###################################################################################################
lgao46bfbb5f2010-02-24 00:21:16 +0000154[Components]
niruiyu86c85202010-02-08 05:43:12 +0000155 DuetPkg/DxeIpl/DxeIpl.inf {
156 <LibraryClasses>
157 #
vanjeff6dc19352010-02-26 05:49:12 +0000158 # If no following overriden for ReportStatusCodeLib library class,
niruiyu86c85202010-02-08 05:43:12 +0000159 # All other module can *not* output debug information even they are use not NULL library
160 # instance for DebugLib and ReportStatusCodeLib
161 #
162 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
163 }
164
165 MdeModulePkg/Core/Dxe/DxeMain.inf {
166 #
167 # Enable debug output for DxeCore module, this is a sample for how to enable debug output
168 # for a module. If need turn on debug output for other module, please copy following overriden
169 # PCD and library instance to other module's override section.
170 #
171 <PcdsFixedAtBuild>
172 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
173 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
174 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
175 <LibraryClasses>
176 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
177 ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf
niruiyu86c85202010-02-08 05:43:12 +0000178 }
klu291a6db72010-02-25 16:52:10 +0000179
niruiyu86c85202010-02-08 05:43:12 +0000180 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
181 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
182 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
183 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
184
185 DuetPkg/FSVariable/FSVariable.inf
186 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
187 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
188 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
189 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
190 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
191 <LibraryClasses>
192 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
193 }
194 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
195 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Eric Dong6b1ac442013-08-12 02:25:59 +0000196 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
niruiyu86c85202010-02-08 05:43:12 +0000197
niruiyu86c85202010-02-08 05:43:12 +0000198 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
199 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
200 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
201 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
202
203
204 DuetPkg/SmbiosGenDxe/SmbiosGen.inf
205 #DuetPkg/FvbRuntimeService/DUETFwh.inf
206 DuetPkg/EfiLdr/EfiLdr.inf {
207 <LibraryClasses>
208 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
209 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
210 }
211 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
212 <LibraryClasses>
213 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
214 }
215 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
216 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljustenb8781a72010-10-22 01:08:16 +0000217 UefiCpuPkg/CpuDxe/CpuDxe.inf
niruiyu86c85202010-02-08 05:43:12 +0000218 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
niruiyu0e047a22010-02-21 09:30:01 +0000219 DuetPkg/AcpiResetDxe/Reset.inf
niruiyu86c85202010-02-08 05:43:12 +0000220 DuetPkg/LegacyMetronome/Metronome.inf
221
222 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
223 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
224 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
225 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
226 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
227 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
228
lzeng1427f30152011-03-08 05:42:37 +0000229 # IDE/AHCI Support
230 DuetPkg/SataControllerDxe/SataControllerDxe.inf
231 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
232 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
233 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
234 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
vanjeff6dc19352010-02-26 05:49:12 +0000235
niruiyu86c85202010-02-08 05:43:12 +0000236 # Usb Support
237 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
238 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
239 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
240 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
241 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
242
243 # ISA Support
244 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
245 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
246 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
247 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
248 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
249
250 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
251 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
252 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
253
254 # Bios Thunk
255 DuetPkg/BiosVideoThunkDxe/BiosVideo.inf
256
257 #
258 # Sample Application
259 #
260 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
261
lgao4b2e59572010-03-21 13:14:47 +0000262###################################################################################################
263#
264# BuildOptions Section - Define the module specific tool chain flags that should be used as
geekboy15ac5ae1de2012-05-18 20:22:36 +0000265# the default flags for a module. These flags are appended to any
266# standard flags that are defined by the build process. They can be
267# applied for any modules or only those modules with the specific
lgao4b2e59572010-03-21 13:14:47 +0000268# module style (EDK or EDKII) specified in [Components] section.
269#
270###################################################################################################
lgao46bfbb5f2010-02-24 00:21:16 +0000271[BuildOptions]
niruiyu86c85202010-02-08 05:43:12 +0000272 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR
273