From 74cdb367addc883595359c57c38d7cc465c88ea1 Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Wed, 19 Oct 2016 15:01:36 +0800 Subject: SourceLevelDebugPkg: Fix typos in comments - descrption -> description - Libary -> Library - funciton -> function - paramter -> parameter - triggerred -> triggered - hanlde -> handle Cc: Jeff Fan Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin Reviewed-by: Hao Wu Reviewed-by: Jeff Fan --- .../DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3') diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c index 7c62bdadfb..04e25e3ec2 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c @@ -300,7 +300,7 @@ Done: Check if it needs to re-initialize usb debug port hardware. During different phases switch, such as SEC to PEI or PEI to DXE or DXE to SMM, we should check - whether the usb debug port hardware configuration is changed. Such case can be triggerred by + whether the usb debug port hardware configuration is changed. Such case can be triggered by Pci bus resource allocation and so on. @param Handle Debug port handle. @@ -989,7 +989,7 @@ DebugPortPollBuffer ( /** Initialize the debug port. - If Function is not NULL, Debug Communication Libary will call this function + If Function is not NULL, Debug Communication Library will call this function by passing in the Context to be the first parameter. If needed, Debug Communication Library will create one debug port handle to be the second argument passing in calling the Function, otherwise it will pass NULL to be the second argument of @@ -997,7 +997,7 @@ DebugPortPollBuffer ( If Function is NULL, and Context is not NULL, the Debug Communication Library could a) Return the same handle as passed in (as Context parameter). - b) Ignore the input Context parameter and create new hanlde to be returned. + b) Ignore the input Context parameter and create new handle to be returned. If parameter Function is NULL and Context is NULL, Debug Communication Library could created a new handle if needed and return it, otherwise it will return NULL. -- cgit v1.2.3