From nobody Sat May 18 14:25:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+109293+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+109293+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1696348424; cv=none; d=zohomail.com; s=zohoarc; b=cfrfrhuY235rUkVrX4UX2Py4BBWBu5nHLhqDVjWszWhXleaAn1Hq4094abgQZlL0RBw8qrYgdc8XDjk9PtogUtG5gTPNpMoKZ5o1O00W0cr36gMMDoPV7ixWcPLv7YqXnR7boWj9YzFHUpHs+wPiMNzWcL0eLJXthfbWAisqcoc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1696348424; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=JgvRGi8gC8EyEdgNhqJk/vqtYmEXhpU4kPkw/XnelYI=; b=LS9dKBj8xFyc6g/jlERHHc0af4/BNonovIF0P0ztWEG3i1poTdoKEqJRrufihYfo8l0agg9PnQjJYR98Gj4Y9bsfHZ1YmCwMHmAiloq3TkM0BlpjMO0VQFsyA9NvtP0+cW62z7Ydob2r4lBeSVfpCK6JipI746XG1oJ7wmVfLFk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+109293+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1696348424137528.9400131290201; Tue, 3 Oct 2023 08:53:44 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=TdD2ATfsFaWROhdXEk8Tj9JAOF8x+uhGK0TTogA/XGc=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1696348423; v=1; b=pbUjFVnx9lu88aOnmaSH8Pr0zn/VXexjP/Gy+X17PcVo5mRXRBKGJ1W2iOXUXSl/ZENEv30U envQFWTDFk+/9q8VQHYbo5LyJKGWyfgS7wXoDoPHHeWIz8iKzOTgs7F/1D9tv/KkqkKNdMddx9f 7P3S7JoASYcV3ZVhn8RZEJDU= X-Received: by 127.0.0.2 with SMTP id Bm9JYY1788612xVRsjB1dAS9; Tue, 03 Oct 2023 08:53:43 -0700 X-Received: from cam-smtp0.cambridge.arm.com (cam-smtp0.cambridge.arm.com [217.140.106.50]) by mx.groups.io with SMTP id smtpd.web10.107245.1696336790263959900 for ; Tue, 03 Oct 2023 05:39:50 -0700 X-Received: from e112078.cambridge.arm.com (e112078.arm.com [10.1.199.35]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id 393Cdi0N023762; Tue, 3 Oct 2023 13:39:48 +0100 From: "Werner Lewis" To: devel@edk2.groups.io Cc: Zhichao Gao , Werner Lewis Subject: [edk2-devel] [PATCH 1/1] ShellPkg/SmbiosView: Add Type45 entry to query table Date: Tue, 3 Oct 2023 13:39:42 +0100 Message-Id: <6ec0e9e39898fa0752dc7b7302cd52664fb1b96b.1696332698.git.werner.lewis@arm.com> In-Reply-To: References: 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 Reply-To: devel@edk2.groups.io,werner.lewis@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: dBRicMxtYjqWKp0OvzESoaRxx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1696348425030100026 Content-Type: text/plain; charset="utf-8" The type field for Smbios tables in smbiosview is set from values in this query table. An entry is added to correctly display the Type 45 table name rather than "Undefined Value" in smbiosview output. Signed-off-by: Werner Lewis Reviewed-by: Thomas Abraham --- .../UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTa= ble.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c index 82bb7a41f0e6..e9bc92314a46 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c @@ -5,6 +5,7 @@ Copyright (c) 2005 - 2023, Intel Corporation. All rights reserved.
(C) Copyright 2016-2019 Hewlett Packard Enterprise Development LP
Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + Copyright (c) 2023, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -3882,6 +3883,10 @@ TABLE_ITEM StructureTypeInfoTable[] =3D { 44, L" Processor Additional Information" }, + { + 45, + L" Firmware Inventory Information" + }, { 0x7E, L" Inactive" --=20 2.25.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 (#109293): https://edk2.groups.io/g/devel/message/109293 Mute This Topic: https://groups.io/mt/101736631/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-