]> git.proxmox.com Git - mirror_edk2.git/commitdiff
1. Fix several comments in function headers for 'ShellProtocol.c', 'ShellProtocol...
authorShumin Qiu <shumin.qiu@intel.com>
Tue, 28 Jan 2014 00:37:11 +0000 (00:37 +0000)
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 28 Jan 2014 00:37:11 +0000 (00:37 +0000)
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15190 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Application/Shell/Shell.c
ShellPkg/Application/Shell/ShellProtocol.c
ShellPkg/Application/Shell/ShellProtocol.h
ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c

index e56b3f83630b60c50a3adf34fb07e2ff7529e8ae..dc99c5c974a61323289d4e08a1efb67159e684ef 100644 (file)
@@ -2412,9 +2412,11 @@ RunScriptFileHandle (
   CONST CHAR16        *CurDir;\r
   UINTN               LineCount;\r
   CHAR16              LeString[50];\r
-  SHELL_STATUS        CalleeExitStatus = SHELL_SUCCESS;\r
+  SHELL_STATUS        CalleeExitStatus;\r
 \r
   ASSERT(!ShellCommandGetScriptExit());\r
+  \r
+  CalleeExitStatus = SHELL_SUCCESS;\r
 \r
   PreScriptEchoState = ShellCommandGetEchoState();\r
 \r
index fe63e6a8d666ff8c8fbde746ab8353fd33edc0ce..9260d9b021e6beb620ee7734210c9f942e90a34a 100644 (file)
@@ -1367,7 +1367,6 @@ EfiShellEnablePageBreak (
                             variables with the format 'x=y', where x is the\r
                             environment variable name and y is the value. If this\r
                             is NULL, then the current shell environment is used.\r
-  @param StatusCode         Points to the status code returned by the command.\r
 \r
   @param[out] ExitDataSize  ExitDataSize as returned from gBS->StartImage\r
   @param[out] ExitData      ExitData as returned from gBS->StartImage\r
index 4920d828303f813328c5246d9d12b5e9e510c1d7..ff123277c22951663044b0e2d04d36aaaacb73dd 100644 (file)
@@ -446,8 +446,6 @@ EfiShellEnablePageBreak (
   @param[out] ExitDataSize  ExitDataSize as returned from gBS->StartImage\r
   @param[out] ExitData      ExitData as returned from gBS->StartImage\r
 \r
-  @param StatusCode         Points to the status code returned by the command.\r
-\r
   @retval EFI_SUCCESS       The command executed successfully. The  status code\r
                             returned by the command is pointed to by StatusCode.\r
   @retval EFI_INVALID_PARAMETER The parameters are invalid.\r
index 60b8c5b492fa722981e8c21e7f4bd50f707c2e61..fa588ff7f462fe167d2934c863b632bc8aeda5d3 100644 (file)
@@ -295,7 +295,9 @@ PrintNonSfoHeader(
 /**\r
   print out the footer when not using standard format output.\r
 \r
-  @param[in] Path           String with starting path.\r
+  @param[in] Files            The number of files.\r
+  @param[in] Size             The size of files in bytes.\r
+  @param[in] Dirs             The number of directories.\r
 **/\r
 VOID\r
 EFIAPI\r