From f4043414da4b0415aa97dba83f0e59e2ce4334a9 Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Sun, 4 Feb 2018 17:33:10 +0800 Subject: [PATCH] SourceLevelDebugPkg DebugUsb3: Fix some typos Cc: Ruiyu Ni Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Hao Wu --- .../Include/Library/DebugCommunicationLib.h | 8 ++++---- .../DebugCommunicationLibUsb3Common.c | 8 ++++---- SourceLevelDebugPkg/SourceLevelDebugPkg.dec | 4 ++-- SourceLevelDebugPkg/SourceLevelDebugPkg.uni | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h b/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h index b2042841d2..b37e032db0 100644 --- a/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h +++ b/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h @@ -1,7 +1,7 @@ /** @file Debug Communication Library definitions. - Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2018, 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 @@ -88,7 +88,7 @@ DebugPortInitialize ( @param Handle Debug port handle. @param Buffer Pointer to the data buffer to store the data read from the debug device. @param NumberOfBytes Number of bytes which will be read. - @param Timeout Timeout value for reading from debug device. It unit is Microsecond. + @param Timeout Timeout value for reading from debug device. Its unit is Microsecond. @retval 0 Read data failed, no data is to be read. @retval >0 Actual number of bytes read from debug device. @@ -118,7 +118,7 @@ DebugPortReadBuffer ( @retval 0 NumberOfBytes is 0. @retval >0 The number of bytes written to the debug device. - If this value is less than NumberOfBytes, then the read operation failed. + If this value is less than NumberOfBytes, then the write operation failed. **/ UINTN @@ -139,7 +139,7 @@ DebugPortWriteBuffer ( @param Handle Debug port handle. @retval TRUE Data is waiting to be read from the debug device. - @retval FALSE There is no data waiting to be read from the serial device. + @retval FALSE There is no data waiting to be read from the debug device. **/ BOOLEAN diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c index 04e25e3ec2..49bad6b586 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c @@ -1,7 +1,7 @@ /** @file Debug Port Library implementation based on usb3 debug port. - Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2014 - 2018, 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 @@ -756,7 +756,7 @@ Enable: @param Handle Debug port handle. @param Buffer Pointer to the data buffer to store the data read from the debug device. @param NumberOfBytes Number of bytes which will be read. - @param Timeout Timeout value for reading from debug device. It unit is Microsecond. + @param Timeout Timeout value for reading from debug device. Its unit is Microsecond. @retval 0 Read data failed, no data is to be read. @retval >0 Actual number of bytes read from debug device. @@ -836,7 +836,7 @@ DebugPortReadBuffer ( @retval 0 NumberOfBytes is 0. @retval >0 The number of bytes written to the debug device. - If this value is less than NumberOfBytes, then the read operation failed. + If this value is less than NumberOfBytes, then the write operation failed. **/ UINTN @@ -919,7 +919,7 @@ DebugPortWriteBuffer ( @param Handle Debug port handle. @retval TRUE Data is waiting to be read from the debug device. - @retval FALSE There is no data waiting to be read from the serial device. + @retval FALSE There is no data waiting to be read from the debug device. **/ BOOLEAN diff --git a/SourceLevelDebugPkg/SourceLevelDebugPkg.dec b/SourceLevelDebugPkg/SourceLevelDebugPkg.dec index c9a47f6255..b89e9c6ad6 100644 --- a/SourceLevelDebugPkg/SourceLevelDebugPkg.dec +++ b/SourceLevelDebugPkg/SourceLevelDebugPkg.dec @@ -6,7 +6,7 @@ # and host, PeCoffExtraActionLib instance to report symbol path information, # etc. # -# Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
+# Copyright (c) 2010 - 2018, 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 that accompanies this distribution. # The full text of the license may be found at @@ -92,7 +92,7 @@ ## The memory BAR of xhci host controller, in which usb debug feature is enabled. ## Note that the memory BAR address is only used before Pci bus resource allocation. - # @Prompt Configure ehci host controller memory BAR. + # @Prompt Configure xhci host controller memory BAR. gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciMemorySpaceBase|0xD0000000|UINT64|0x00000007 ## The pci address of xhci host controller, in which usb debug feature is enabled. diff --git a/SourceLevelDebugPkg/SourceLevelDebugPkg.uni b/SourceLevelDebugPkg/SourceLevelDebugPkg.uni index 781b717e4e..8a20165227 100644 --- a/SourceLevelDebugPkg/SourceLevelDebugPkg.uni +++ b/SourceLevelDebugPkg/SourceLevelDebugPkg.uni @@ -8,7 +8,7 @@ // and host, PeCoffExtraActionLib instance to report symbol path information, // etc. // -// Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
+// Copyright (c) 2010 - 2018, 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 that accompanies this distribution. @@ -70,7 +70,7 @@ #string STR_gEfiSourceLevelDebugPkgTokenSpaceGuid_PcdDebugPortHandleBufferSize_HELP #language en-US "The data buffer size used by debug port in debug communication library instances.\n" "Its value is not suggested to be changed in platform DSC file." -#string STR_gEfiSourceLevelDebugPkgTokenSpaceGuid_PcdUsbXhciMemorySpaceBase_PROMPT #language en-US "Configure ehci host controller memory BAR." +#string STR_gEfiSourceLevelDebugPkgTokenSpaceGuid_PcdUsbXhciMemorySpaceBase_PROMPT #language en-US "Configure xhci host controller memory BAR." #string STR_gEfiSourceLevelDebugPkgTokenSpaceGuid_PcdUsbXhciMemorySpaceBase_HELP #language en-US "The memory BAR of xhci host controller, in which usb debug feature is enabled.\n" "Note that the memory BAR address is only used before Pci bus resource allocation." -- 2.39.2