]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugPortDxe/DebugPortDxe.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Universal / DebugPortDxe / DebugPortDxe.inf
index 8fc5ccbe14c70f9b7d6fcb703e97f1e9ecd03b74..66da0dea932b4a38e4971ce44c1bccf3d613439e 100644 (file)
@@ -1,78 +1,48 @@
-#/** @file\r
-# Component description file for DebugPort module.\r
+## @file\r
+# This driver produces Debug Port protocol to be used by debug agent to communicate with the remote debug host.\r
 #\r
-# This driver binds exclusively to serial io on the controller handle,\r
-#  and initializes serial Io interface, publishs DebugPort and device path Protocol.\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
+# This driver binds exclusively to a standard UART serial port on the controller handle,\r
+# and initializes serial Io interface, publishs Debug Port and Device Path Protocol.\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
-#  are licensed and made available under the terms and conditions of the BSD License\r
-#  which accompanies this distribution. The full text of the license may be found at\r
-#  http://opensource.org/licenses/bsd-license.php\r
-#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
-#**/\r
-\r
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
 #\r
-################################################################################\r
+##\r
+\r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = DebugPortDxe\r
+  MODULE_UNI_FILE                = DebugPortDxe.uni\r
   FILE_GUID                      = 73E9457A-CEA1-4917-9A9C-9F1F0F0FD322\r
   MODULE_TYPE                    = UEFI_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
-\r
   ENTRY_POINT                    = InitializeDebugPortDriver\r
   UNLOAD_IMAGE                   = ImageUnloadHandler\r
 \r
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#  VALID_ARCHITECTURES           = IA32 X64 EBC\r
 #\r
-#  DRIVER_BINDING                =  gDebugPortDriverBinding                      \r
-#  COMPONENT_NAME                =  gDebugPortComponentName                      \r
+#  DRIVER_BINDING                =  gDebugPortDriverBinding\r
+#  COMPONENT_NAME                =  gDebugPortComponentName\r
+#  COMPONENT_NAME2               =  gDebugPortComponentName2\r
 #  Variable Guid C Name: gEfiDebugPortProtocolGuid Variable Name: L"DEBUGPORT"\r
 #\r
 #\r
 \r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
-#\r
-################################################################################\r
-\r
-[Sources.common]\r
+[Sources]\r
   ComponentName.c\r
   DebugPort.c\r
   DebugPort.h\r
 \r
 \r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-#                              this module.\r
-#\r
-################################################################################\r
-\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r
 \r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-#                         this module.\r
-#\r
-################################################################################\r
-\r
 [LibraryClasses]\r
   DevicePathLib\r
   UefiRuntimeServicesTableLib\r
   UefiDriverEntryPoint\r
   DebugLib\r
 \r
-\r
-################################################################################\r
-#\r
-# Protocol C Name Section - list of Protocol and Protocol Notify C Names\r
-#                           that this module uses or produces.\r
-#\r
-################################################################################\r
+[Guids]\r
+  gEfiDebugPortVariableGuid                     ## SOMETIMES_CONSUMES   ## Variable:L"DEBUGPORT"\r
+  gEfiDebugPortDevicePathGuid                   ## SOMETIMES_CONSUMES   ## UNDEFINED # Device path\r
 \r
 [Protocols]\r
-  gEfiDriverBindingProtocolGuid                 # PROTOCOL ALWAYS_CONSUMED\r
-  gEfiComponentNameProtocolGuid                 # PROTOCOL ALWAYS_CONSUMED\r
-  gEfiSerialIoProtocolGuid                      # PROTOCOL TO_START\r
-  gEfiDevicePathProtocolGuid                    # PROTOCOL BY_START\r
-  gEfiDebugPortProtocolGuid                     # PROTOCOL BY_START\r
-\r
-\r
-################################################################################\r
-#\r
-# Dependency Expression Section - list of Dependency expressions that are required for\r
-#                              this module.\r
-#\r
-################################################################################\r
-\r
-[Depex]\r
-  TRUE\r
+  gEfiSerialIoProtocolGuid                      ## TO_START\r
+  gEfiDevicePathProtocolGuid                    ## BY_START\r
+  gEfiDebugPortProtocolGuid                     ## BY_START\r
 \r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+  DebugPortDxeExtra.uni\r