summaryrefslogtreecommitdiff
path: root/Core/ShellPkg/Library
diff options
context:
space:
mode:
authorJeff Westfahl <jeff.westfahl@ni.com>2017-04-22 05:25:07 +0800
committerGuo Mang <mang.guo@intel.com>2017-07-12 11:24:33 +0800
commite9324f7d0e52e77da2438245dba70c7ae3ed5a80 (patch)
tree4d0455e941f4f91bbf91e830628a9daf220af36d /Core/ShellPkg/Library
parent799416da10cde7316b560925cbad23125e5abb4f (diff)
downloadedk2-platforms-e9324f7d0e52e77da2438245dba70c7ae3ed5a80.tar.xz
ShellPkg SmbiosView: Display Type 0 BIOS segment in hexadecimal
The SMBIOS Type 0 BIOS segment field is currently displayed in decimal. Since this field is likely to have a value like 0xE800 or 0xF000, using hexadecimal seems like a better choice. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Jaben Carsey <jaben.carsey@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Westfahl <jeff.westfahl@ni.com> Reviewed-by: Star Zeng <star.zeng@intel.com> (cherry picked from commit fed709deb444084594c2e11a1886819fa54afc00)
Diffstat (limited to 'Core/ShellPkg/Library')
-rw-r--r--Core/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/Core/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
index 50d15ef175..038f111ec3 100644
--- a/Core/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
+++ b/Core/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
@@ -316,7 +316,7 @@ SmbiosPrintStructure (
case 0:
PRINT_PENDING_STRING (Struct, Type0, Vendor);
PRINT_PENDING_STRING (Struct, Type0, BiosVersion);
- PRINT_STRUCT_VALUE (Struct, Type0, BiosSegment);
+ PRINT_STRUCT_VALUE_H (Struct, Type0, BiosSegment);
PRINT_PENDING_STRING (Struct, Type0, BiosReleaseDate);
ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_BIOS_SIZE), gShellDebug1HiiHandle, 64 * (Struct->Type0->BiosSize + 1));