diff options
author | Shengfengx Xue <shengfengx.xue@intel.com> | 2022-08-06 10:02:13 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-08-15 03:44:57 +0000 |
commit | 74f44d920a287beef6e5949494dd24d1e2f23145 (patch) | |
tree | b8b56fbdb99b2f8f022fd28ee32e9b35a522e81c /ShellPkg | |
parent | bd06717863ed6cba979fe5300433619aba340403 (diff) | |
download | edk2-74f44d920a287beef6e5949494dd24d1e2f23145.tar.gz edk2-74f44d920a287beef6e5949494dd24d1e2f23145.tar.bz2 edk2-74f44d920a287beef6e5949494dd24d1e2f23145.zip |
ShellPkg/SmbiosView: Display extended memory info in smbiosview -t 17
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4014
If Configured Memory Speed is 65,535 MT/s or greater,
and the actual speed is stored in the Extended Configured Memory Speed
field. but current Smbiosview have no this logic.
Signed-off-by: Shengfengx Xue <shengfengx.xue@intel.com>
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index a0ee286c9a..0ab9f5063a 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -878,6 +878,11 @@ SmbiosPrintStructure ( }
}
+ if (AE_SMBIOS_VERSION (0x3, 0x3) && (Struct->Hdr->Length > 0x54)) {
+ PRINT_STRUCT_VALUE_H (Struct, Type17, ExtendedSpeed);
+ PRINT_STRUCT_VALUE_H (Struct, Type17, ExtendedConfiguredMemorySpeed);
+ }
+
break;
//
|