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:
jcarsey
2011-09-15 20:10:39 +00:00
parent a0248b0936
commit b6b22b132a
5 changed files with 49 additions and 9 deletions

View File

@ -84,7 +84,7 @@ ShellCommandRunPause (
}
if (EFI_ERROR(Status) || Resp == NULL || *Resp == ShellPromptResponseQuit) {
ShellCommandRegisterExit(TRUE);
ShellCommandRegisterExit(TRUE, 0);
ShellStatus = SHELL_ABORTED;
}