2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2010-02-26 06:49:12 +01:00
|
|
|
# An EFI/Framework Emulation Platform with UEFI HII interface supported.
|
2010-01-28 04:14:11 +01:00
|
|
|
#
|
2010-02-26 06:49:12 +01:00
|
|
|
# Developer's UEFI Emulation. DUET provides an EFI/UEFI IA32/X64 environment on legacy BIOS,
|
2010-01-28 04:14:11 +01:00
|
|
|
# to help developing and debugging native EFI/UEFI drivers.
|
2010-02-26 06:49:12 +01:00
|
|
|
#
|
2011-03-08 06:42:37 +01:00
|
|
|
# Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
|
2010-01-28 04:14:11 +01:00
|
|
|
#
|
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
#
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2010-02-08 06:43:12 +01:00
|
|
|
|
2010-03-21 14:14:47 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Defines Section - statements that will be processed to create a Makefile.
|
|
|
|
#
|
|
|
|
################################################################################
|
2010-02-08 06:43:12 +01:00
|
|
|
[Defines]
|
|
|
|
PLATFORM_NAME = DuetPkg
|
|
|
|
PLATFORM_GUID = 199E24E0-0989-42aa-87F2-611A8C397E72
|
|
|
|
PLATFORM_VERSION = 0.3
|
|
|
|
DSC_SPECIFICATION = 0x00010005
|
2010-03-18 03:36:52 +01:00
|
|
|
OUTPUT_DIRECTORY = Build/DuetPkgX64
|
|
|
|
SUPPORTED_ARCHITECTURES = X64
|
2010-03-29 11:49:53 +02:00
|
|
|
BUILD_TARGETS = DEBUG
|
2010-02-08 06:43:12 +01:00
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
FLASH_DEFINITION = DuetPkg/DuetPkg.fdf
|
|
|
|
|
2010-03-21 14:14:47 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Library Class section - list of all Library Classes needed by this Platform.
|
|
|
|
#
|
|
|
|
################################################################################
|
2010-02-24 01:21:16 +01:00
|
|
|
[LibraryClasses]
|
2010-03-21 14:14:47 +01:00
|
|
|
#
|
|
|
|
# Entry point
|
|
|
|
#
|
|
|
|
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
|
|
|
DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
|
|
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
|
|
|
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
|
|
|
#
|
|
|
|
# Basic
|
|
|
|
#
|
2010-02-08 06:43:12 +01:00
|
|
|
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
|
|
|
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
|
|
|
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
|
|
|
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
2010-03-21 14:14:47 +01:00
|
|
|
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
|
|
|
|
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
|
|
|
PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
|
|
|
PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
|
|
|
|
PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
|
|
|
|
CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
|
|
|
|
PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
|
|
|
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
|
|
|
#
|
|
|
|
# UEFI & PI
|
|
|
|
#
|
2010-02-08 06:43:12 +01:00
|
|
|
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
2010-03-21 14:14:47 +01:00
|
|
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
|
|
|
UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
|
|
|
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
2010-02-08 06:43:12 +01:00
|
|
|
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
|
|
|
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
2010-03-21 14:14:47 +01:00
|
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
|
|
|
UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
|
|
|
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
2010-02-08 06:43:12 +01:00
|
|
|
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
2010-03-21 14:14:47 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Generic Modules
|
|
|
|
#
|
|
|
|
UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
|
|
|
|
UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
|
|
|
|
OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
2010-02-08 06:43:12 +01:00
|
|
|
GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
|
2010-03-21 14:14:47 +01:00
|
|
|
SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
|
2010-02-08 06:43:12 +01:00
|
|
|
CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
|
|
|
|
PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
2010-03-21 14:14:47 +01:00
|
|
|
#
|
|
|
|
# Platform
|
|
|
|
#
|
|
|
|
PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf
|
2010-02-08 06:43:12 +01:00
|
|
|
TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf
|
2010-03-21 14:14:47 +01:00
|
|
|
#
|
|
|
|
# Misc
|
|
|
|
#
|
|
|
|
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
2010-02-26 06:49:12 +01:00
|
|
|
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
2010-03-21 14:14:47 +01:00
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
|
|
|
ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
2011-06-23 10:31:18 +02:00
|
|
|
PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
|
|
|
|
SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
|
2010-10-22 03:08:16 +02:00
|
|
|
MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
|
2010-03-21 14:14:47 +01:00
|
|
|
|
2010-02-08 06:43:12 +01:00
|
|
|
#
|
|
|
|
# To save size, use NULL library for DebugLib and ReportStatusCodeLib.
|
|
|
|
# If need status code output, do library instance overriden as below DxeMain.inf does
|
|
|
|
#
|
|
|
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
2011-03-10 23:32:32 +01:00
|
|
|
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
2010-02-08 06:43:12 +01:00
|
|
|
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
2010-02-26 06:49:12 +01:00
|
|
|
|
2010-02-08 06:43:12 +01:00
|
|
|
[LibraryClasses.common.DXE_CORE]
|
|
|
|
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
|
|
|
MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
|
|
|
|
|
2010-03-21 14:14:47 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Pcd Section - list of all EDK II PCD Entries defined by this Platform
|
|
|
|
#
|
|
|
|
################################################################################
|
2010-02-08 06:43:12 +01:00
|
|
|
[PcdsFixedAtBuild]
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0
|
2011-08-29 15:36:03 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
|
2010-02-08 06:43:12 +01:00
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[PcdsFeatureFlag]
|
2010-02-20 08:10:16 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
|
2010-02-22 07:03:08 +01:00
|
|
|
|
2010-02-08 06:43:12 +01:00
|
|
|
###################################################################################################
|
|
|
|
#
|
|
|
|
# Components Section - list of the modules and components that will be processed by compilation
|
|
|
|
# tools and the EDK II tools to generate PE32/PE32+/Coff image files.
|
|
|
|
#
|
|
|
|
# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
|
|
|
|
# into firmware volume images. This section is just a list of modules to compile from
|
|
|
|
# source into UEFI-compliant binaries.
|
|
|
|
# It is the FDF file that contains information on combining binary files into firmware
|
|
|
|
# volume images, whose concept is beyond UEFI and is described in PI specification.
|
|
|
|
# Binary modules do not need to be listed in this section, as they should be
|
|
|
|
# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
|
|
|
|
# Logo (Logo.bmp), and etc.
|
|
|
|
# There may also be modules listed in this section that are not required in the FDF file,
|
|
|
|
# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
|
|
|
|
# generated for it, but the binary will not be put into any firmware volume.
|
|
|
|
#
|
|
|
|
###################################################################################################
|
2010-02-24 01:21:16 +01:00
|
|
|
[Components]
|
2010-02-08 06:43:12 +01:00
|
|
|
DuetPkg/DxeIpl/DxeIpl.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
#
|
2010-02-26 06:49:12 +01:00
|
|
|
# If no following overriden for ReportStatusCodeLib library class,
|
2010-02-08 06:43:12 +01:00
|
|
|
# All other module can *not* output debug information even they are use not NULL library
|
|
|
|
# instance for DebugLib and ReportStatusCodeLib
|
|
|
|
#
|
|
|
|
ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
|
|
|
}
|
|
|
|
|
|
|
|
MdeModulePkg/Core/Dxe/DxeMain.inf {
|
|
|
|
#
|
|
|
|
# Enable debug output for DxeCore module, this is a sample for how to enable debug output
|
|
|
|
# for a module. If need turn on debug output for other module, please copy following overriden
|
|
|
|
# PCD and library instance to other module's override section.
|
|
|
|
#
|
|
|
|
<PcdsFixedAtBuild>
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
|
|
|
|
<LibraryClasses>
|
|
|
|
DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
|
|
|
|
ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf
|
|
|
|
}
|
2010-02-25 17:52:10 +01:00
|
|
|
|
2010-02-08 06:43:12 +01:00
|
|
|
MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
|
|
|
MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
|
|
|
MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
|
|
|
MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
|
|
|
|
|
|
|
DuetPkg/FSVariable/FSVariable.inf
|
|
|
|
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
|
|
|
MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
|
|
|
MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
|
|
|
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
|
|
|
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
|
|
|
}
|
|
|
|
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
|
|
|
MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
|
|
|
|
|
|
|
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
|
|
|
MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
|
|
|
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
|
|
|
MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
|
|
|
|
|
|
|
|
|
|
|
|
DuetPkg/SmbiosGenDxe/SmbiosGen.inf
|
|
|
|
#DuetPkg/FvbRuntimeService/DUETFwh.inf
|
|
|
|
DuetPkg/EfiLdr/EfiLdr.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
|
|
|
NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
|
|
|
}
|
|
|
|
IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
|
|
|
}
|
|
|
|
MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
|
|
|
UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
2010-10-22 03:08:16 +02:00
|
|
|
UefiCpuPkg/CpuDxe/CpuDxe.inf
|
2010-02-08 06:43:12 +01:00
|
|
|
PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
|
2010-02-21 10:30:01 +01:00
|
|
|
DuetPkg/AcpiResetDxe/Reset.inf
|
2010-02-08 06:43:12 +01:00
|
|
|
DuetPkg/LegacyMetronome/Metronome.inf
|
|
|
|
|
|
|
|
PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
|
|
|
|
PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
|
|
|
|
DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
|
|
|
|
DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
|
|
|
|
IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
|
|
|
|
IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
|
|
|
|
|
2011-03-08 06:42:37 +01:00
|
|
|
# IDE/AHCI Support
|
|
|
|
DuetPkg/SataControllerDxe/SataControllerDxe.inf
|
|
|
|
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
|
|
|
|
MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
|
|
|
|
MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
|
|
|
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
2010-02-26 06:49:12 +01:00
|
|
|
|
2010-02-08 06:43:12 +01:00
|
|
|
# Usb Support
|
|
|
|
MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
|
|
|
MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
|
|
|
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
|
|
|
MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
|
|
|
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
|
|
|
|
|
|
|
# ISA Support
|
|
|
|
PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
|
|
|
|
IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
|
|
|
|
IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
|
|
|
|
IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
|
|
|
|
IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
|
|
|
|
|
|
|
|
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
|
|
|
MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
|
|
|
MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
|
|
|
|
|
|
|
# Bios Thunk
|
|
|
|
DuetPkg/BiosVideoThunkDxe/BiosVideo.inf
|
|
|
|
|
|
|
|
#
|
|
|
|
# Sample Application
|
|
|
|
#
|
|
|
|
MdeModulePkg/Application/HelloWorld/HelloWorld.inf
|
|
|
|
|
2010-03-21 14:14:47 +01:00
|
|
|
###################################################################################################
|
|
|
|
#
|
|
|
|
# BuildOptions Section - Define the module specific tool chain flags that should be used as
|
|
|
|
# the default flags for a module. These flags are appended to any
|
|
|
|
# standard flags that are defined by the build process. They can be
|
|
|
|
# applied for any modules or only those modules with the specific
|
|
|
|
# module style (EDK or EDKII) specified in [Components] section.
|
|
|
|
#
|
|
|
|
###################################################################################################
|
2010-02-24 01:21:16 +01:00
|
|
|
[BuildOptions]
|
2010-02-08 06:43:12 +01:00
|
|
|
MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR
|
|
|
|
|