From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from walk.intel-email.com (walk.intel-email.com [101.227.64.242]) by mx.groups.io with SMTP id smtpd.web09.1125.1659751352477300030 for ; Fri, 05 Aug 2022 19:02:33 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@byosoft.com.cn header.s=cloud-union header.b=ChjhCJUp; spf=pass (domain: byosoft.com.cn, ip: 101.227.64.242, mailfrom: xueshengfeng@byosoft.com.cn) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id ABD68CD1F638 for ; Sat, 6 Aug 2022 10:02:28 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1659751348; bh=NRBfgmgz0nmo7nPFSVbCKBa9w4DOeQS1NJtaUc+BAWw=; h=From:To:Cc:Subject:Date; b=ChjhCJUpYTk9mbAepBP4bVaqE4Dr+dbuSn8u4JLoVxMtY2Fe5D5qivpMz7tIS4idT 5MyDlsk6koUhVPwyX5ZK2IvVofkdKg2wN5vMLM/R271dzUoshVcMKHwpZW1YljJGhx 6sZA+0Vu2yp4vUjyROxr5J7lP9a2Rx/UysByjhrk= Received: from localhost (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id A7B01CD1F637 for ; Sat, 6 Aug 2022 10:02:28 +0800 (CST) X-Virus-Scanned: by SpamTitan at intel-email.com Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 713D9CD1F66E for ; Sat, 6 Aug 2022 10:02:28 +0800 (CST) Authentication-Results: walk.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by walk.intel-email.com (Postfix) with SMTP id 5C41BCD1F655 for ; Sat, 6 Aug 2022 10:02:25 +0800 (CST) Received: from localhost.localdomain ([223.65.118.153]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Sat, 06 Aug 2022 10:02:25 +0800 X-WM-Sender: xueshengfeng@byosoft.com.cn X-Originating-IP: 223.65.118.153 X-WM-AuthFlag: YES X-WM-AuthUser: xueshengfeng@byosoft.com.cn From: xueshengfeng To: devel@edk2.groups.io, ray.ni@intel.com, zhichao.gao@intel.com Cc: gaoliming@byosoft.com.cn, Shengfengx Xue Subject: [PATCH] ShellPkg/SmbiosView: Smbiosview tool is not show Extended Speed and Extended Configured Memory Speed in type 17. Date: Sat, 6 Aug 2022 10:02:13 +0800 Message-Id: <2fcf297e06328cd25e92756b7fd13ed39cb9231b.1659749541.git.shengfengx.xue@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Sender: xueshengfeng Content-Transfer-Encoding: quoted-printable From: Shengfengx Xue REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D4014 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 --- .../UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/Print= Info.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 ( } } =20 + if (AE_SMBIOS_VERSION (0x3, 0x3) && (Struct->Hdr->Length > 0x54)) = { + PRINT_STRUCT_VALUE_H (Struct, Type17, ExtendedSpeed); + PRINT_STRUCT_VALUE_H (Struct, Type17, ExtendedConfiguredMemorySp= eed); + } + break; =20 // --=20 2.26.2.windows.1