ShellPkg: Updates to 'smbiosview' command

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13996 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jcarsey 2012-12-13 21:11:21 +00:00
parent 216f79703b
commit 7ac133d002
3 changed files with 7 additions and 1 deletions

View File

@ -3953,7 +3953,7 @@ DisplayPMAUse (
IN UINT8 Option
)
{
ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_PHYS_MEM_ARRAY_LOCATION), gShellDebug1HiiHandle);
ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_PHYS_MEM_ARRAY_USE), gShellDebug1HiiHandle);
PRINT_INFO_OPTION (Use, Option);
PRINT_TABLE_ITEM (PMAUseTable, Use);
}

View File

@ -325,6 +325,12 @@ SMBiosView (
if (!RandomView) {
break;
}
//
// Support Execution Interrupt.
//
if (ShellGetExecutionBreakFlag ()) {
return EFI_ABORTED;
}
}
ShellPrintEx(-1,-1,L"\n=========================================================\n");