From: Dandan Bi Date: Mon, 1 Feb 2016 03:34:32 +0000 (+0800) Subject: MdeModulePkg: Refine function comments in Keyword Handler Protocol X-Git-Tag: edk2-stable201903~7865 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=91af324da0a2fad4d09ac4024570b0ef2dd77aaf MdeModulePkg: Refine function comments in Keyword Handler Protocol Refine the function comments in ConfigKeywordHandler.c and HiiDatabase.h. Cc: Liming Gao Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi Reviewed-by: Eric Dong Reviewed-by: Liming Gao --- diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c index 0deaf20557..5e7aca9681 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c @@ -1,7 +1,7 @@ /** @file Implementation of interfaces function for EFI_CONFIG_KEYWORD_HANDLER_PROTOCOL. -Copyright (c) 2015, Intel Corporation. All rights reserved.
+Copyright (c) 2015 - 2016, 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 @@ -2754,8 +2754,9 @@ Done: @param Progress On return, points to a character in the KeywordString. Points to the string's NULL terminator if the request was successful. Points to the most recent '&' before - the first failing string element if the request was - not successful. + the first failing name / value pair (or the beginning + of the string if the failure is in the first name / value + pair) if the request was not successful. @param ProgressErr If during the processing of the KeywordString there was a failure, this parameter gives additional information @@ -3032,8 +3033,9 @@ Done: @param Progress On return, points to a character in the KeywordString. Points to the string's NULL terminator if the request was successful. - Points to the most recent '&' before the first failing string - element if the request was not successful. + Points to the most recent '&' before the first failing name / value + pair (or the beginning of the string if the failure is in the first + name / value pair) if the request was not successful. @param ProgressErr If during the processing of the KeywordString there was a failure, this parameter gives additional information about the diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h index bb0090aaa6..6e28df7f45 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h @@ -1,7 +1,7 @@ /** @file Private structures definitions in HiiDatabase. -Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.
+Copyright (c) 2007 - 2016, 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 @@ -1858,8 +1858,9 @@ HiiGetAltCfg ( @param Progress On return, points to a character in the KeywordString. Points to the string's NULL terminator if the request was successful. Points to the most recent '&' before - the first failing string element if the request was - not successful. + the first failing name / value pair (or the beginning + of the string if the failure is in the first name / value + pair) if the request was not successful. @param ProgressErr If during the processing of the KeywordString there was a failure, this parameter gives additional information @@ -1927,8 +1928,9 @@ EfiConfigKeywordHandlerSetData ( @param Progress On return, points to a character in the KeywordString. Points to the string's NULL terminator if the request was successful. - Points to the most recent '&' before the first failing string - element if the request was not successful. + Points to the most recent '&' before the first failing name / value + pair (or the beginning of the string if the failure is in the first + name / value pair) if the request was not successful. @param ProgressErr If during the processing of the KeywordString there was a failure, this parameter gives additional information about the