From 4ff7e37b4f7e336a8ecb7080b8f48eef4b52d396 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Fri, 2 Sep 2011 08:05:34 +0000 Subject: Refine comments and two code style. Signed-off-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12263 6f19259b-4bc3-4df7-8a09-765794883524 --- .../UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c | 8 ++++---- .../UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.h | 8 ++++---- .../Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 6 +++--- .../Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c | 10 +++++----- .../Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h | 10 +++++----- 5 files changed, 21 insertions(+), 21 deletions(-) (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView') diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c index 9e995683d0..ed73a584bd 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c @@ -104,10 +104,10 @@ LibSmbiosGetEPS ( Handle is changed to the next handle or 0xFFFF when the end is reached or the handle is not found. - @param[in,out] Handle 0xFFFF: get the first structure - Others: get a structure according to this value. - @param[in,out] Buffer The pointer to the caller's memory buffer. - @param[out] Length Length of return buffer in bytes. + @param[in, out] Handle 0xFFFF: get the first structure + Others: get a structure according to this value. + @param[in, out] Buffer The pointer to the caller's memory buffer. + @param[out] Length Length of return buffer in bytes. @retval DMI_SUCCESS Buffer contains the required structure data Handle is updated with next structure handle or diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.h index 76442cdf1a..5a9b2ad626 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.h @@ -72,10 +72,10 @@ LibSmbiosGetEPS ( Handle is changed to the next handle or 0xFFFF when the end is reached or the handle is not found. - @param[in,out] Handle 0xFFFF: get the first structure - Others: get a structure according to this value. - @param[in,out] Buffer The pointer to the caller's memory buffer. - @param[out] Length Length of return buffer in bytes. + @param[in, out] Handle 0xFFFF: get the first structure + Others: get a structure according to this value. + @param[in, out] Buffer The pointer to the caller's memory buffer. + @param[out] Length Length of return buffer in bytes. @retval DMI_SUCCESS Buffer contains the required structure data Handle is updated with next structure handle or diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index 7a7caac456..7c081bdf8a 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -82,9 +82,9 @@ Copy Length of Src buffer to Dest buffer, add a NULL termination to Dest buffer. - @param[in,out] Dest Destination buffer head. - @param[in] Src Source buffer head. - @param[in] Length Length of buffer to be copied. + @param[in, out] Dest Destination buffer head. + @param[in] Src Source buffer head. + @param[in] Length Length of buffer to be copied. **/ VOID MemToString ( diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c index d84ab10c29..64997284b0 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c @@ -2936,11 +2936,11 @@ TABLE_ITEM StructureTypeInfoTable[] = { Then all the Key Value between Low and High gets the same string L"Unused". - @param[in] Table The begin address of table. - @param[in] Number The number of table items. - @param[in] Key The query Key. - @param[in,out] Info Input as empty buffer; output as data buffer. - @param[in] InfoLen The max number of characters for Info. + @param[in] Table The begin address of table. + @param[in] Number The number of table items. + @param[in] Key The query Key. + @param[in, out] Info Input as empty buffer; output as data buffer. + @param[in] InfoLen The max number of characters for Info. @return the found Key and Info is valid. @retval QUERY_TABLE_UNFOUND and Info should be NULL. diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h index 6809820232..5a0c5e05c0 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h @@ -52,11 +52,11 @@ typedef struct TABLE_ITEM { Then all the Key Value between Low and High gets the same string L"Unused". - @param[in] Table The begin address of table. - @param[in] Number The number of table items. - @param[in] Key The query Key. - @param[in,out] Info Input as empty buffer; output as data buffer. - @param[in] InfoLen The max number of characters for Info. + @param[in] Table The begin address of table. + @param[in] Number The number of table items. + @param[in] Key The query Key. + @param[in, out] Info Input as empty buffer; output as data buffer. + @param[in] InfoLen The max number of characters for Info. @return the found Key and Info is valid. @retval QUERY_TABLE_UNFOUND and Info should be NULL. -- cgit v1.2.3