]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Application/Shell/ShellProtocol.h
ShellPkg/Shell: Fix reporting of exit status in ShellProtocol.Execute
[mirror_edk2.git] / ShellPkg / Application / Shell / ShellProtocol.h
index 7493c9f49f14cf5ff3c8bb7fe2b2c084b65e5f2a..4920d828303f813328c5246d9d12b5e9e510c1d7 100644 (file)
@@ -443,6 +443,9 @@ 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[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
@@ -458,7 +461,8 @@ InternalShellExecuteDevicePath(
   IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,\r
   IN CONST CHAR16 *CommandLine OPTIONAL,\r
   IN CONST CHAR16 **Environment OPTIONAL,\r
-  OUT EFI_STATUS *StatusCode OPTIONAL\r
+  OUT UINTN                         *ExitDataSize OPTIONAL,\r
+  OUT CHAR16                        **ExitData OPTIONAL\r
   );\r
 \r
 /**\r