ShellPkg: Eliminate loss of high bits in return value from exit command on 64 bit platform.
submitted-by: jcarsey reviewed-by: gookboy15a reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12356 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -340,11 +340,24 @@ ShellCommandSetEchoState (
|
||||
Indicate that the current shell or script should exit.
|
||||
|
||||
@param[in] ScriptOnly TRUE if exiting a script; FALSE otherwise.
|
||||
@param[in] ErrorCode The 64 bit error code to return.
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ShellCommandRegisterExit (
|
||||
IN BOOLEAN ScriptOnly
|
||||
IN BOOLEAN ScriptOnly,
|
||||
IN CONST UINT64 ErrorCode
|
||||
);
|
||||
|
||||
/**
|
||||
Retrieve the Exit code.
|
||||
|
||||
@return the value passed into RegisterExit.
|
||||
**/
|
||||
UINT64
|
||||
EFIAPI
|
||||
ShellCommandGetExitCode (
|
||||
VOID
|
||||
);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user