From nobody Mon May 13 03:45:00 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+66729+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+66729+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1603952039; cv=none; d=zohomail.com; s=zohoarc; b=fX+4R2jSh1IyeahWtGv8ugi8xJ4LKPJgziRNMwFTPpKmo6k1odQSznOJaoYtUU/oR4uva0wW00fJSaDdpOHYGPBGEY2Zl1dz74vkY4Yh488KPBUQt2VD1RvCKRqytDnpF648+sfEYi93tZpYDfFh7Nj8SY37MZLPhxjst1ItTXE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603952039; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=l2MmNLsf45XBaI8kLw+Rqj2cq5UCe6DJmr1yRj/guuk=; b=le23zfABm5VLNFszLio5pcxd78hh3NuECrRoc668aGFFBal1/TLczqtBjRZuUdbzF1il7GscSZAxI47zBYyIVwTpu6ySJQSXRMa34jbJOaC5G9Qj3v0PrnnVuFxQ+5yuBhwWskpI4LjHC+EqrmeQzfFLPwI3IDD/fulMuM5T0ts= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+66729+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1603952039012210.93995699110246; Wed, 28 Oct 2020 23:13:59 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id jlGDYY1788612x7s8DCuWONM; Wed, 28 Oct 2020 23:13:58 -0700 X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web09.4713.1603952037466294929 for ; Wed, 28 Oct 2020 23:13:58 -0700 X-Received: from localhost.localdomain ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Thu, 29 Oct 2020 14:13:46 +0800 X-WM-Sender: zhuenze@byosoft.com.cn From: "Enze Zhu" To: devel@edk2.groups.io Cc: Ray Ni , Zhichao Gao , Liming Gao Subject: [edk2-devel] [PATCH] ShellPkg/PrintInfo.c:Add two additional DWORD show for smbios 3.3.0 type17 Date: Thu, 29 Oct 2020 14:13:42 +0800 Message-Id: <602b3514eaae784b1983fb43f1b85217d8048745.1603951995.git.zhuenze@byosoft.com.cn> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,zhuenze@byosoft.com.cn X-Gm-Message-State: s7pbIIa1yj2ipfMOHOgiFM6Xx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1603952038; bh=C2FdqWEYzjt0Z2Lm6QezlPMd91rkQbLZ2+AH/fGpX80=; h=Cc:Date:From:Reply-To:Subject:To; b=LWKElT800KTqTtms2cpBNay+fBGdUN6+mZQv6OeKbsJxPqHFRzdnTBoI5pEvw77ZE4j ZJNVbBVh7faMpA69gaiXXdPDByTPhdCQq4xojU0fltMQ9hqIMgxP4m2xV3a3XNjYOmsuN 5OL8wUM/DPYjqvGcGEwyDGk6uCcq6xRyGdg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2952 In MdePkg/SmBios.h,there are two additional DWORD added for type 17,but these two DWORD do not show in SmbiosView, So add them. Cc: Ray Ni Cc: Zhichao Gao Signed-off-by: Enze Zhu Reviewed-by: Liming Gao Reviewed-by: Liming Gao --- .../UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintIn= fo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index 7517465ddd..4dd029d6b4 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -795,6 +795,13 @@ SmbiosPrintStructure ( PRINT_STRUCT_VALUE_LH (Struct, Type17, LogicalSize); } } + // + // Add for smbios 3.3.0 + // + 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; =20 // --=20 2.27.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#66729): https://edk2.groups.io/g/devel/message/66729 Mute This Topic: https://groups.io/mt/77881887/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-