X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FDebugPortDxe%2FDebugPortDxe.inf;h=66da0dea932b4a38e4971ce44c1bccf3d613439e;hp=446c7bdb783093fe08fe151db947c8c0b67b1a99;hb=HEAD;hpb=dd0687a4b18c8ba6f37587ad13c9744ff9a67250 diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPortDxe.inf b/MdeModulePkg/Universal/DebugPortDxe/DebugPortDxe.inf index 446c7bdb78..66da0dea93 100644 --- a/MdeModulePkg/Universal/DebugPortDxe/DebugPortDxe.inf +++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPortDxe.inf @@ -1,44 +1,39 @@ -#/** @file -# Component description file for DebugPort module. +## @file +# This driver produces Debug Port protocol to be used by debug agent to communicate with the remote debug host. # -# This driver binds exclusively to serial io on the controller handle, -# and initializes serial Io interface, publishs DebugPort and device path Protocol. -# Copyright (c) 2006 - 2007, Intel Corporation +# This driver binds exclusively to a standard UART serial port on the controller handle, +# and initializes serial Io interface, publishs Debug Port and Device Path Protocol. # -# 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. +# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
# +# SPDX-License-Identifier: BSD-2-Clause-Patent # -#**/ +# +## [Defines] INF_VERSION = 0x00010005 BASE_NAME = DebugPortDxe + MODULE_UNI_FILE = DebugPortDxe.uni FILE_GUID = 73E9457A-CEA1-4917-9A9C-9F1F0F0FD322 MODULE_TYPE = UEFI_DRIVER VERSION_STRING = 1.0 - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 - ENTRY_POINT = InitializeDebugPortDriver UNLOAD_IMAGE = ImageUnloadHandler # # The following information is for reference only and not required by the build tools. # -# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# VALID_ARCHITECTURES = IA32 X64 EBC # -# DRIVER_BINDING = gDebugPortDriverBinding -# COMPONENT_NAME = gDebugPortComponentName +# DRIVER_BINDING = gDebugPortDriverBinding +# COMPONENT_NAME = gDebugPortComponentName +# COMPONENT_NAME2 = gDebugPortComponentName2 # Variable Guid C Name: gEfiDebugPortProtocolGuid Variable Name: L"DEBUGPORT" # # -[Sources.common] +[Sources] ComponentName.c DebugPort.c DebugPort.h @@ -58,15 +53,14 @@ UefiDriverEntryPoint DebugLib +[Guids] + gEfiDebugPortVariableGuid ## SOMETIMES_CONSUMES ## Variable:L"DEBUGPORT" + gEfiDebugPortDevicePathGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Device path [Protocols] - gEfiDriverBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED - gEfiComponentNameProtocolGuid # PROTOCOL ALWAYS_CONSUMED - gEfiSerialIoProtocolGuid # PROTOCOL TO_START - gEfiDevicePathProtocolGuid # PROTOCOL BY_START - gEfiDebugPortProtocolGuid # PROTOCOL BY_START - - -[Depex] - TRUE + gEfiSerialIoProtocolGuid ## TO_START + gEfiDevicePathProtocolGuid ## BY_START + gEfiDebugPortProtocolGuid ## BY_START +[UserExtensions.TianoCore."ExtraFiles"] + DebugPortDxeExtra.uni