diff options
author | Bo Chang Ke <bo-changx.ke@intel.com> | 2022-04-21 18:54:46 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-04-22 01:48:09 +0000 |
commit | a85ae8d964c24d7078517e250b2b17a537cef89a (patch) | |
tree | 5a465563dc620ddc37c0cdd64a9e9df83f855720 /ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | |
parent | fdfbf1fdabed05bbb310835d14a169cb3e86c809 (diff) | |
download | edk2-a85ae8d964c24d7078517e250b2b17a537cef89a.tar.gz edk2-a85ae8d964c24d7078517e250b2b17a537cef89a.tar.bz2 edk2-a85ae8d964c24d7078517e250b2b17a537cef89a.zip |
ShellPkg: Update smbiosview type 9 with SMBIOS 3.5 fields
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3896
update smbiosview type 9 related fileds.
Signed-off-by: Bo Chang Ke <bo-changx.ke@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index b144600a25..5dbd39ca3b 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -635,6 +635,10 @@ SmbiosPrintStructure ( ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_DEV_FUNC_NUM), gShellDebug1HiiHandle, PeerGroupPtr[Index].DevFuncNum);
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_DATA_BUS_WIDTH), gShellDebug1HiiHandle, PeerGroupPtr[Index].DataBusWidth);
}
+
+ DisplaySystemSlotHeight (Struct->Type9->SlotHeight, Option);
+ DisplaySystemSlotPhysicalWidth (Struct->Type9->SlotPhysicalWidth, Option);
+ DisplaySystemSlotInformation (Struct->Type9->SlotInformation, Option);
}
}
@@ -2898,11 +2902,6 @@ DisplaySystemSlotId ( IN UINT8 Option
)
{
- //
- // Display slot type first
- //
- DisplaySystemSlotType (SlotType, Option);
-
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_SLOT_ID), gShellDebug1HiiHandle);
//
// print option
|