From 7ac133d002349e5dce851850c56e72ace51e0452 Mon Sep 17 00:00:00 2001 From: jcarsey Date: Thu, 13 Dec 2012 21:11:21 +0000 Subject: [PATCH] ShellPkg: Updates to 'smbiosview' command Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chris Phillips reviewed-by: Jaben Carsey git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13996 6f19259b-4bc3-4df7-8a09-765794883524 --- .../SmbiosView/QueryTable.c | 2 +- .../SmbiosView/SmbiosView.c | 6 ++++++ .../SmbiosView/SmbiosViewStrings.uni | Bin 96884 -> 97104 bytes 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c index b6f3847992..be8b7c6c53 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c @@ -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); } diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.c index 95627a545c..1f0d0be710 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.c @@ -325,6 +325,12 @@ SMBiosView ( if (!RandomView) { break; } + // + // Support Execution Interrupt. + // + if (ShellGetExecutionBreakFlag ()) { + return EFI_ABORTED; + } } ShellPrintEx(-1,-1,L"\n=========================================================\n"); diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosViewStrings.uni b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosViewStrings.uni index e50995c58f820015ad8f50a10c8d033be551f749..ea5df85c058497b401ff0f78ee676bde3e970a53 100644 GIT binary patch delta 46 zcmV+}0MY;S^aarN1%R{xnnVRv08;=(li`Oum&`-~ECW>lbC