lgao4 | 6bfbb5f | 2010-02-24 00:21:16 +0000 | [diff] [blame] | 1 | ## @file
|
vanjeff | 6dc1935 | 2010-02-26 05:49:12 +0000 | [diff] [blame] | 2 | # An EFI/Framework Emulation Platform with UEFI HII interface supported.
|
gikidy | 9f485cc | 2010-01-28 03:14:11 +0000 | [diff] [blame] | 3 | #
|
vanjeff | 6dc1935 | 2010-02-26 05:49:12 +0000 | [diff] [blame] | 4 | # Developer's UEFI Emulation. DUET provides an EFI/UEFI IA32/X64 environment on legacy BIOS,
|
gikidy | 9f485cc | 2010-01-28 03:14:11 +0000 | [diff] [blame] | 5 | # to help developing and debugging native EFI/UEFI drivers.
|
vanjeff | 6dc1935 | 2010-02-26 05:49:12 +0000 | [diff] [blame] | 6 | #
|
lgao4 | 6bfbb5f | 2010-02-24 00:21:16 +0000 | [diff] [blame] | 7 | # Copyright (c) 2010 - 2010, Intel Corporation. All rights reserved. <BR>
|
gikidy | 9f485cc | 2010-01-28 03:14:11 +0000 | [diff] [blame] | 8 | #
|
| 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 | #
|
lgao4 | 6bfbb5f | 2010-02-24 00:21:16 +0000 | [diff] [blame] | 17 | ##
|
niruiyu | 86c8520 | 2010-02-08 05:43:12 +0000 | [diff] [blame] | 18 |
|
| 19 | [Defines]
|
| 20 | PLATFORM_NAME = DuetPkg
|
| 21 | PLATFORM_GUID = 199E24E0-0989-42aa-87F2-611A8C397E72
|
| 22 | PLATFORM_VERSION = 0.3
|
| 23 | DSC_SPECIFICATION = 0x00010005
|
klu2 | ab9cb4b | 2010-03-18 02:36:52 +0000 | [diff] [blame^] | 24 | OUTPUT_DIRECTORY = Build/DuetPkgX64
|
| 25 | SUPPORTED_ARCHITECTURES = X64
|
niruiyu | 86c8520 | 2010-02-08 05:43:12 +0000 | [diff] [blame] | 26 | BUILD_TARGETS = DEBUG
|
| 27 | SKUID_IDENTIFIER = DEFAULT
|
| 28 | FLASH_DEFINITION = DuetPkg/DuetPkg.fdf
|
| 29 |
|
lgao4 | 6bfbb5f | 2010-02-24 00:21:16 +0000 | [diff] [blame] | 30 | [LibraryClasses]
|
niruiyu | 86c8520 | 2010-02-08 05:43:12 +0000 | [diff] [blame] | 31 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
| 32 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
| 33 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
| 34 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
| 35 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
| 36 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
| 37 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
| 38 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
| 39 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
| 40 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
| 41 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
| 42 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
| 43 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
| 44 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
| 45 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
| 46 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
| 47 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
| 48 | PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf
|
| 49 | GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
|
| 50 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
| 51 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
|
| 52 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
| 53 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
| 54 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
| 55 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
|
| 56 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
| 57 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
| 58 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
| 59 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
niruiyu | 0e047a2 | 2010-02-21 09:30:01 +0000 | [diff] [blame] | 60 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
| 61 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
|
niruiyu | 86c8520 | 2010-02-08 05:43:12 +0000 | [diff] [blame] | 62 | TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf
|
| 63 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
|
| 64 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
| 65 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
| 66 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
|
vanjeff | 6dc1935 | 2010-02-26 05:49:12 +0000 | [diff] [blame] | 67 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
| 68 |
|
niruiyu | 86c8520 | 2010-02-08 05:43:12 +0000 | [diff] [blame] | 69 | #
|
| 70 | # To save size, use NULL library for DebugLib and ReportStatusCodeLib.
|
| 71 | # If need status code output, do library instance overriden as below DxeMain.inf does
|
| 72 | #
|
| 73 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
| 74 | ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
vanjeff | 6dc1935 | 2010-02-26 05:49:12 +0000 | [diff] [blame] | 75 |
|
niruiyu | 86c8520 | 2010-02-08 05:43:12 +0000 | [diff] [blame] | 76 | [LibraryClasses.common.DXE_CORE]
|
| 77 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
| 78 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
| 79 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
|
| 80 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
| 81 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
| 82 |
|
| 83 | [PcdsFixedAtBuild]
|
| 84 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0
|
| 85 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
|
| 86 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0
|
| 87 |
|
lgao4 | 6bfbb5f | 2010-02-24 00:21:16 +0000 | [diff] [blame] | 88 | [PcdsFeatureFlag]
|
niruiyu | c943ee0 | 2010-02-20 07:10:16 +0000 | [diff] [blame] | 89 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
|
| 90 |
|
niruiyu | 2303190 | 2010-02-22 06:03:08 +0000 | [diff] [blame] | 91 |
|
niruiyu | 86c8520 | 2010-02-08 05:43:12 +0000 | [diff] [blame] | 92 | ###################################################################################################
|
| 93 | #
|
| 94 | # Components Section - list of the modules and components that will be processed by compilation
|
| 95 | # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
|
| 96 | #
|
| 97 | # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
|
| 98 | # into firmware volume images. This section is just a list of modules to compile from
|
| 99 | # source into UEFI-compliant binaries.
|
| 100 | # It is the FDF file that contains information on combining binary files into firmware
|
| 101 | # volume images, whose concept is beyond UEFI and is described in PI specification.
|
| 102 | # Binary modules do not need to be listed in this section, as they should be
|
| 103 | # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
|
| 104 | # Logo (Logo.bmp), and etc.
|
| 105 | # There may also be modules listed in this section that are not required in the FDF file,
|
| 106 | # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
|
| 107 | # generated for it, but the binary will not be put into any firmware volume.
|
| 108 | #
|
| 109 | ###################################################################################################
|
| 110 |
|
lgao4 | 6bfbb5f | 2010-02-24 00:21:16 +0000 | [diff] [blame] | 111 | [Components]
|
niruiyu | 86c8520 | 2010-02-08 05:43:12 +0000 | [diff] [blame] | 112 | DuetPkg/DxeIpl/DxeIpl.inf {
|
| 113 | <LibraryClasses>
|
| 114 | #
|
vanjeff | 6dc1935 | 2010-02-26 05:49:12 +0000 | [diff] [blame] | 115 | # If no following overriden for ReportStatusCodeLib library class,
|
niruiyu | 86c8520 | 2010-02-08 05:43:12 +0000 | [diff] [blame] | 116 | # All other module can *not* output debug information even they are use not NULL library
|
| 117 | # instance for DebugLib and ReportStatusCodeLib
|
| 118 | #
|
| 119 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
| 120 | }
|
| 121 |
|
| 122 | MdeModulePkg/Core/Dxe/DxeMain.inf {
|
| 123 | #
|
| 124 | # Enable debug output for DxeCore module, this is a sample for how to enable debug output
|
| 125 | # for a module. If need turn on debug output for other module, please copy following overriden
|
| 126 | # PCD and library instance to other module's override section.
|
| 127 | #
|
| 128 | <PcdsFixedAtBuild>
|
| 129 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
|
| 130 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
|
| 131 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
|
| 132 | <LibraryClasses>
|
| 133 | DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
|
| 134 | ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf
|
| 135 | SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
|
| 136 | }
|
klu2 | 91a6db7 | 2010-02-25 16:52:10 +0000 | [diff] [blame] | 137 |
|
niruiyu | 86c8520 | 2010-02-08 05:43:12 +0000 | [diff] [blame] | 138 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
| 139 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
| 140 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
| 141 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
| 142 |
|
| 143 | DuetPkg/FSVariable/FSVariable.inf
|
| 144 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
| 145 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
| 146 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
| 147 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
| 148 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
|
| 149 | <LibraryClasses>
|
| 150 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
| 151 | }
|
| 152 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
| 153 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
| 154 |
|
| 155 | IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
|
| 156 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
| 157 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
| 158 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
| 159 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
|
| 160 |
|
| 161 |
|
| 162 | DuetPkg/SmbiosGenDxe/SmbiosGen.inf
|
| 163 | #DuetPkg/FvbRuntimeService/DUETFwh.inf
|
| 164 | DuetPkg/EfiLdr/EfiLdr.inf {
|
| 165 | <LibraryClasses>
|
| 166 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
| 167 | NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
| 168 | }
|
| 169 | IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
|
| 170 | <LibraryClasses>
|
| 171 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
| 172 | }
|
| 173 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
| 174 | UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
| 175 | DuetPkg/CpuDxe/Cpu.inf
|
| 176 | PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
|
niruiyu | 0e047a2 | 2010-02-21 09:30:01 +0000 | [diff] [blame] | 177 | DuetPkg/AcpiResetDxe/Reset.inf
|
niruiyu | 86c8520 | 2010-02-08 05:43:12 +0000 | [diff] [blame] | 178 | DuetPkg/LegacyMetronome/Metronome.inf
|
| 179 |
|
| 180 | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
|
| 181 | PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
|
| 182 | DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
|
| 183 | DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
|
| 184 | IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
|
| 185 | IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
|
| 186 |
|
| 187 | # IDE Support
|
| 188 | IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
|
| 189 | PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
|
vanjeff | 6dc1935 | 2010-02-26 05:49:12 +0000 | [diff] [blame] | 190 |
|
niruiyu | 86c8520 | 2010-02-08 05:43:12 +0000 | [diff] [blame] | 191 | # Usb Support
|
| 192 | MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
| 193 | MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
| 194 | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
| 195 | MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
| 196 | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
| 197 |
|
| 198 | # ISA Support
|
| 199 | PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
|
| 200 | IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
|
| 201 | IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
|
| 202 | IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
|
| 203 | IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
|
| 204 |
|
| 205 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
| 206 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
| 207 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
| 208 |
|
| 209 | # Bios Thunk
|
| 210 | DuetPkg/BiosVideoThunkDxe/BiosVideo.inf
|
| 211 |
|
| 212 | #
|
| 213 | # Sample Application
|
| 214 | #
|
| 215 | MdeModulePkg/Application/HelloWorld/HelloWorld.inf
|
| 216 |
|
lgao4 | 6bfbb5f | 2010-02-24 00:21:16 +0000 | [diff] [blame] | 217 | [BuildOptions]
|
niruiyu | 86c8520 | 2010-02-08 05:43:12 +0000 | [diff] [blame] | 218 | MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR
|
| 219 |
|