From: klu2 Date: Tue, 17 Jul 2007 02:26:33 +0000 (+0000) Subject: Add DxAdd Dxe as postfix for devicepath driver X-Git-Tag: edk2-stable201903~22682 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=06733a9e4533dc8598f0a5b4b5536a9d05a08fd2;hp=08523b0faf3eb9c919ffdd387a34a74767a4f91c Add DxAdd Dxe as postfix for devicepath driver git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3279 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc index 08b65d950c..4a8307aa5c 100644 --- a/MdeModulePkg/MdeModulePkg.dsc +++ b/MdeModulePkg/MdeModulePkg.dsc @@ -420,7 +420,7 @@ $(WORKSPACE)/MdeModulePkg/Universal/PCD/Pei/Pcd.inf $(WORKSPACE)/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.inf $(WORKSPACE)/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.inf - $(WORKSPACE)/MdeModulePkg/Universal/DevicePathDxe/DevicePath.inf + $(WORKSPACE)/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf $(WORKSPACE)/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.inf $(WORKSPACE)/MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf $(WORKSPACE)/MdeModulePkg/Application/HelloWorld/HelloWorld.inf diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePath.inf b/MdeModulePkg/Universal/DevicePathDxe/DevicePath.inf deleted file mode 100644 index 8258846190..0000000000 --- a/MdeModulePkg/Universal/DevicePathDxe/DevicePath.inf +++ /dev/null @@ -1,72 +0,0 @@ -#/** @file -# Component description file for Device Path Driver. -# -# This driver implement these three UEFI deveice path protocols ( -# DevicePathUtilities, DevicePahtToText and DevicePathFromText) and install them. -# Copyright (c) 2006 - 2007, 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] - INF_VERSION = 0x00010005 - BASE_NAME = DevicePath - FILE_GUID = 9B680FCE-AD6B-4F3A-B60B-F59899003443 - MODULE_TYPE = DXE_DRIVER - VERSION_STRING = 1.0 - EDK_RELEASE_VERSION = 0x00090000 - EFI_SPECIFICATION_VERSION = 0x00020000 - - ENTRY_POINT = DevicePathEntryPoint - -# -# The following information is for reference only and not required by the build tools. -# -# VALID_ARCHITECTURES = IA32 X64 IPF EBC -# - -[Sources.common] - DevicePathUtilities.c - DevicePathToText.c - DevicePathFromText.c - DevicePath.h - DevicePath.c - -[Packages] - MdeModulePkg/MdeModulePkg.dec - MdePkg/MdePkg.dec - -[LibraryClasses] - PcdLib - DevicePathLib - UefiBootServicesTableLib - MemoryAllocationLib - BaseMemoryLib - BaseLib - UefiDriverEntryPoint - PrintLib - DebugLib - -[Guids] - gEfiVTUTF8Guid # ALWAYS_CONSUMED - gEfiVT100Guid # ALWAYS_CONSUMED - gEfiVT100PlusGuid # ALWAYS_CONSUMED - gEfiPcAnsiGuid # ALWAYS_CONSUMED - -[Protocols] - gEfiDevicePathToTextProtocolGuid # PROTOCOL ALWAYS_PRODUCED - gEfiDevicePathFromTextProtocolGuid # PROTOCOL ALWAYS_PRODUCED - gEfiDevicePathUtilitiesProtocolGuid # PROTOCOL ALWAYS_PRODUCED - gEfiDebugPortProtocolGuid # PROTOCOL ALWAYS_CONSUMED - -[PcdsFeatureFlag.common] - PcdDevicePathSupportDevicePathFromText|gEfiMdeModulePkgTokenSpaceGuid - PcdDevicePathSupportDevicePathToText|gEfiMdeModulePkgTokenSpaceGuid - diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf b/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf new file mode 100644 index 0000000000..15340b4f86 --- /dev/null +++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf @@ -0,0 +1,72 @@ +#/** @file +# Component description file for Device Path Driver. +# +# This driver implement these three UEFI deveice path protocols ( +# DevicePathUtilities, DevicePahtToText and DevicePathFromText) and install them. +# Copyright (c) 2006 - 2007, 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] + INF_VERSION = 0x00010005 + BASE_NAME = DevicePathDxe + FILE_GUID = 9B680FCE-AD6B-4F3A-B60B-F59899003443 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + EDK_RELEASE_VERSION = 0x00090000 + EFI_SPECIFICATION_VERSION = 0x00020000 + + ENTRY_POINT = DevicePathEntryPoint + +# +# The following information is for reference only and not required by the build tools. +# +# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# + +[Sources.common] + DevicePathUtilities.c + DevicePathToText.c + DevicePathFromText.c + DevicePath.h + DevicePath.c + +[Packages] + MdeModulePkg/MdeModulePkg.dec + MdePkg/MdePkg.dec + +[LibraryClasses] + PcdLib + DevicePathLib + UefiBootServicesTableLib + MemoryAllocationLib + BaseMemoryLib + BaseLib + UefiDriverEntryPoint + PrintLib + DebugLib + +[Guids] + gEfiVTUTF8Guid # ALWAYS_CONSUMED + gEfiVT100Guid # ALWAYS_CONSUMED + gEfiVT100PlusGuid # ALWAYS_CONSUMED + gEfiPcAnsiGuid # ALWAYS_CONSUMED + +[Protocols] + gEfiDevicePathToTextProtocolGuid # PROTOCOL ALWAYS_PRODUCED + gEfiDevicePathFromTextProtocolGuid # PROTOCOL ALWAYS_PRODUCED + gEfiDevicePathUtilitiesProtocolGuid # PROTOCOL ALWAYS_PRODUCED + gEfiDebugPortProtocolGuid # PROTOCOL ALWAYS_CONSUMED + +[PcdsFeatureFlag.common] + PcdDevicePathSupportDevicePathFromText|gEfiMdeModulePkgTokenSpaceGuid + PcdDevicePathSupportDevicePathToText|gEfiMdeModulePkgTokenSpaceGuid + diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc index a144624678..5b7ed928b3 100644 --- a/Nt32Pkg/Nt32Pkg.dsc +++ b/Nt32Pkg/Nt32Pkg.dsc @@ -405,7 +405,7 @@ $(WORKSPACE)/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.inf $(WORKSPACE)/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.inf $(WORKSPACE)/MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf - $(WORKSPACE)/MdeModulePkg/Universal/DevicePathDxe/DevicePath.inf + $(WORKSPACE)/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf $(WORKSPACE)/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf $(WORKSPACE)/MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf $(WORKSPACE)/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/SetupBrowser.inf diff --git a/Nt32Pkg/Nt32Pkg.fdf b/Nt32Pkg/Nt32Pkg.fdf index e3f0cfabc1..d4df4dd784 100644 --- a/Nt32Pkg/Nt32Pkg.fdf +++ b/Nt32Pkg/Nt32Pkg.fdf @@ -156,7 +156,7 @@ INF $(WORKSPACE)/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.inf INF $(WORKSPACE)/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.inf INF $(WORKSPACE)/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.inf INF $(WORKSPACE)/MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf -INF $(WORKSPACE)/MdeModulePkg/Universal/DevicePathDxe/DevicePath.inf +INF $(WORKSPACE)/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf INF $(WORKSPACE)/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf INF $(WORKSPACE)/MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf INF $(WORKSPACE)/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/SetupBrowser.inf