X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ShellPkg%2FApplication%2FShell%2FShell.h;h=95d9669f7cf66de70bbdbea320dd2dd0c6af5a30;hb=ae591c14b333757a33768e80481bc301b8855686;hp=57518dfd29a81565d5ba86223aa779af0beaaeac;hpb=838b31a68cba781fb64ae4deb97fa69b2ed6d4b8;p=mirror_edk2.git diff --git a/ShellPkg/Application/Shell/Shell.h b/ShellPkg/Application/Shell/Shell.h index 57518dfd29..95d9669f7c 100644 --- a/ShellPkg/Application/Shell/Shell.h +++ b/ShellPkg/Application/Shell/Shell.h @@ -46,7 +46,6 @@ #include #include #include -#include #include #include "ShellParametersProtocol.h" @@ -231,17 +230,14 @@ ProcessCommandLine( @param[in] ImagePath The path to the image for shell. The first place to look for the startup script. @param[in] FilePath The path to the file for shell. The second place to look for the startup script. - @param[out] ExitStatus The exit code of the script. Ignored if NULL. - Invalid when this function returns an error. @retval EFI_SUCCESS The variable is initialized. **/ EFI_STATUS EFIAPI DoStartupScript( - IN EFI_DEVICE_PATH_PROTOCOL *ImagePath, - IN EFI_DEVICE_PATH_PROTOCOL *FilePath, - OUT SHELL_STATUS *ExitStatus + IN EFI_DEVICE_PATH_PROTOCOL *ImagePath, + IN EFI_DEVICE_PATH_PROTOCOL *FilePath ); /** @@ -286,8 +282,7 @@ AddLineToCommandHistory( This will determine if the command line represents an internal shell command or dispatch an external application. - @param[in] CmdLine the command line to parse - @param[out] ExitStatus The exit status of the command. Ignored if NULL. + @param[in] CmdLine the command line to parse @retval EFI_SUCCESS the command was completed @retval EFI_ABORTED the command's operation was aborted @@ -295,8 +290,7 @@ AddLineToCommandHistory( EFI_STATUS EFIAPI RunCommand( - IN CONST CHAR16 *CmdLine, - OUT SHELL_STATUS *ExitStatus + IN CONST CHAR16 *CmdLine ); /** @@ -320,17 +314,13 @@ IsValidCommandName( @param[in] Handle The handle to the already opened file. @param[in] Name The name of the script file. - @param[out] ExitStatus The exit code of the script. Ignored if NULL. - Invalid when this function returns an error. - @retval EFI_SUCCESS the script completed sucessfully **/ EFI_STATUS EFIAPI RunScriptFileHandle ( - IN SHELL_FILE_HANDLE Handle, - IN CONST CHAR16 *Name, - OUT SHELL_STATUS *ExitStatus + IN SHELL_FILE_HANDLE Handle, + IN CONST CHAR16 *Name ); /** @@ -341,20 +331,17 @@ RunScriptFileHandle ( @param[in] CmdLine the command line to run. @param[in] ParamProtocol the shell parameters protocol pointer - @param[out] ExitStatus The exit code of the script. Ignored if NULL. - Invalid when this function returns an error. - @retval EFI_SUCCESS the script completed sucessfully **/ EFI_STATUS EFIAPI RunScriptFile ( - IN CONST CHAR16 *ScriptPath, - IN SHELL_FILE_HANDLE Handle OPTIONAL, - IN CONST CHAR16 *CmdLine, - IN EFI_SHELL_PARAMETERS_PROTOCOL *ParamProtocol, - OUT SHELL_STATUS *ExitStatus + IN CONST CHAR16 *ScriptPath, + IN SHELL_FILE_HANDLE Handle OPTIONAL, + IN CONST CHAR16 *CmdLine, + IN EFI_SHELL_PARAMETERS_PROTOCOL *ParamProtocol ); + #endif //_SHELL_INTERNAL_HEADER_