From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id E7216AC0FDA for ; Wed, 27 Mar 2024 08:38:06 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=VJlwagfFiJiYmG+htPUrlmIys8Q+rdDK/GigTpvm3f0=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1711528685; v=1; b=Vv3PVqMUTtKEfJsgqfNQEEmXZ9ye/FTGx/lXaT6sq585Gsckm7NiYG3QowoSLWIW12q7/NJ8 FYrnVatvKWAsTnWvFO2PpYuzqoJyQruEArE1LmBBhzhaYvH5t9zT9dTq981vjlbxtCZG6u/knVy BArDRpEB+TtV6mV82RQChr5bS8Nl01q3ym/OWjlBm6GPqoqnWInoaWyvJmXlV+FsuirXbcUWEXu uPA/uzhgz1LNVRJleBqP4mIHFZLoYpvmoeghB7IWsnluqf3bMNAoUfGnrZFfRrEl333Eg2vVE3E vFfKLsRAj7KdcX+C7dWXcOHz45/eHMvEgr04R32s1x5xw== X-Received: by 127.0.0.2 with SMTP id xw2nYY7687511xTmaUUIvX6U; Wed, 27 Mar 2024 01:38:05 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) by mx.groups.io with SMTP id smtpd.web10.32686.1711528684724336138 for ; Wed, 27 Mar 2024 01:38:04 -0700 X-CSE-ConnectionGUID: jvin5AgMRh+nV8TwV8HHYQ== X-CSE-MsgGUID: YPZuD8TYQpKmLhzhpdwBLg== X-IronPort-AV: E=McAfee;i="6600,9927,11025"; a="6801760" X-IronPort-AV: E=Sophos;i="6.07,158,1708416000"; d="scan'208";a="6801760" X-Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2024 01:38:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,158,1708416000"; d="scan'208";a="20697258" X-Received: from liencx-desk.gar.corp.intel.com ([10.225.34.86]) by fmviesa005.fm.intel.com with ESMTP; 27 Mar 2024 01:38:02 -0700 From: "Lien, HoraceX" To: devel@edk2.groups.io Cc: HoraceX Lien , Zhichao Gao Subject: [edk2-devel] [PATCH v2] ShellPkg: Update smbiosview type 4 with SMBIOS 3.6 fields Date: Wed, 27 Mar 2024 16:37:39 +0800 Message-ID: MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 27 Mar 2024 01:38:04 -0700 Reply-To: devel@edk2.groups.io,horacex.lien@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 0Bt3fWmnKsKU5HEB3h4eu3QXx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=Vv3PVqMU; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io From: HoraceX Lien REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4737 update smbiosview type 4 related fileds. Signed-off-by: HoraceX Lien Cc: Zhichao Gao Reviewed-by: Zhichao Gao --- .../Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintIn= fo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index f96317b314..35369f0183 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -520,6 +520,10 @@ SmbiosPrintStructure ( ShellPrintEx (-1, -1, L"Thread Count 2: %u\n", Struct->Type4->Thre= adCount2);=0D }=0D =0D + if (AE_SMBIOS_VERSION (0x3, 0x6) && (Struct->Hdr->Length > 0x2E)) {= =0D + ShellPrintEx (-1, -1, L"Thread Enabled: %u\n", Struct->Type4->Thre= adEnabled);=0D + }=0D +=0D break;=0D =0D //=0D --=20 2.43.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117161): https://edk2.groups.io/g/devel/message/117161 Mute This Topic: https://groups.io/mt/105173642/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-