X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=DuetPkg%2FDuetPkg.dsc;h=a76169ea146441b65bb1a7a4e6b391cd3dcf6909;hb=75dad611c8c8f5bb643b2c458ab98afbf24b24fd;hp=7c8153b3d2c3ac99f810a9813ed8b961dbe173da;hpb=bda1bdbbf0a4d2a8c139563794dc7e451dfe3b8a;p=mirror_edk2.git diff --git a/DuetPkg/DuetPkg.dsc b/DuetPkg/DuetPkg.dsc index 7c8153b3d2..a76169ea14 100644 --- a/DuetPkg/DuetPkg.dsc +++ b/DuetPkg/DuetPkg.dsc @@ -1,3 +1,20 @@ +#/** @file +# An EFI/Framework Emulation Platform with UEFI HII interface supported. +# +# Developer's UEFI Emulation. DUET provides an EFI/UEFI IA32/X64 environment on legacy BIOS, +# to help developing and debugging native EFI/UEFI drivers. +# +# Copyright (c) 2010, Intel Corporation. All rights reserved.
+# +# 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. +# +#**/ [Defines] PLATFORM_NAME = DuetPkg @@ -20,6 +37,7 @@ UefiLib|MdePkg/Library/UefiLib/UefiLib.inf UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf + UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf @@ -28,11 +46,8 @@ UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf - IfrSupportLib|MdeModulePkg/Library/UefiIfrSupportLib/UefiIfrSupportLib.inf - ExtendedIfrSupportLib|MdeModulePkg/Library/ExtendedIfrSupportLib/ExtendedIfrSupportLib.inf GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf - ExtendedHiiLib|MdeModulePkg/Library/ExtendedHiiLib/ExtendedHiiLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf @@ -40,20 +55,21 @@ CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf - OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf + OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf - HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf - MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf - - # - # To save size, use NULL library for DebugLib and ReportStatusCodeLib. - # If need status code output, do library instance overriden as below DxeMain.inf does + HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf + SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf + + # + # 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 - ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf - + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf + ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf + [LibraryClasses.common.DXE_CORE] HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf @@ -87,31 +103,31 @@ [Components.common] DuetPkg/DxeIpl/DxeIpl.inf { - + # - # If no following overriden for ReportStatusCodeLib library class, - # All other module can *not* output debug information even they are use not NULL library - # instance for DebugLib and ReportStatusCodeLib - # - ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf + # If no following overriden for ReportStatusCodeLib library class, + # 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. - # - - gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 - gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F - gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042 - - DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf - ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf - SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.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. + # + + gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 + gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F + gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042 + + DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf + ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf + SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf + } + MdeModulePkg/Universal/PCD/Dxe/Pcd.inf MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf @@ -133,25 +149,27 @@ MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf + MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf - DuetPkg/DataHubGenDxe/DataHubGen.inf + DuetPkg/SmbiosGenDxe/SmbiosGen.inf #DuetPkg/FvbRuntimeService/DUETFwh.inf DuetPkg/EfiLdr/EfiLdr.inf { DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf + NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf } IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf { PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf } - UefiCpuPkg/CpuIoDxe/CpuIo.inf + UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf DuetPkg/CpuDxe/Cpu.inf PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf PcAtChipsetPkg/KbcResetDxe/Reset.inf DuetPkg/LegacyMetronome/Metronome.inf - PcAtChipsetPkg/PcRtc/RealTimeClock.inf + PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf PcAtChipsetPkg/8254TimerDxe/8254Timer.inf DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf @@ -159,10 +177,12 @@ IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf # IDE Support - #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf - + IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf + PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf + # 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 @@ -180,18 +200,12 @@ # Bios Thunk DuetPkg/BiosVideoThunkDxe/BiosVideo.inf - - # - # Sample Application - # - MdeModulePkg/Application/HelloWorld/HelloWorld.inf - -[Components.IA32] - DuetPkg/BootSector/BootSector.inf + + # + # Sample Application + # + MdeModulePkg/Application/HelloWorld/HelloWorld.inf [BuildOptions.common] MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR - MSFT:*_*_IA32_CC_FLAGS = /D EFI32 - MSFT:*_*_X64_CC_FLAGS = /D EFIX64 - MSFT:*_*_IPF_CC_FLAGS = /D EFI64