diff options
-rw-r--r-- | MdeModulePkg/Universal/DebugPortDxe/DebugPort.c | 4 | ||||
-rw-r--r-- | MdeModulePkg/Universal/DebugPortDxe/DebugPortDxe.inf | 11 |
2 files changed, 7 insertions, 8 deletions
diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c index ffe3fb72ec..5881668d7f 100644 --- a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c +++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c @@ -203,8 +203,8 @@ DebugPortSupported ( EFI_HANDLE TempHandle;
//
- // Check to see that there's not a debugport protocol already published
- // Question: Why do we prevent debugport protocol published on more one device?
+ // Check to see that there's not a debugport protocol already published,
+ // since only one standard UART serial port could be supported by this driver.
//
if (gBS->LocateProtocol (&gEfiDebugPortProtocolGuid, NULL, (VOID **) &DebugPortInterface) != EFI_NOT_FOUND) {
return EFI_UNSUPPORTED;
diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPortDxe.inf b/MdeModulePkg/Universal/DebugPortDxe/DebugPortDxe.inf index 0be24ffa05..b1904a26a6 100644 --- a/MdeModulePkg/Universal/DebugPortDxe/DebugPortDxe.inf +++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPortDxe.inf @@ -1,9 +1,10 @@ #/** @file
-# Component description file for DebugPort module.
+# 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.
+# Copyright (c) 2006 - 2008, 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
@@ -58,8 +59,6 @@ [Protocols]
- gEfiDriverBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
- gEfiComponentNameProtocolGuid # PROTOCOL ALWAYS_CONSUMED
gEfiSerialIoProtocolGuid # PROTOCOL TO_START
gEfiDevicePathProtocolGuid # PROTOCOL BY_START
gEfiDebugPortProtocolGuid # PROTOCOL BY_START
|