From nobody Tue Feb 10 22:17:28 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+50424+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50424+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1573530549; cv=none; d=zoho.com; s=zohoarc; b=fU6YK927w+iv3ZkfOBzKG32teTE7ugPHfPqNk05pQeP15mRz7xX6SURjtdmK+WPhD9htpSDvJ4H5624ZjD9rSimxnuRrkBgS3hTUx1ZGTjFo/IJDRvwFcTAtvtI1Yj4cweKUgbpYdcWZFaPGJKgDorymuHFWGf9hqaO73izAhY8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1573530549; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=KPzEfJxFF+LGAETi7qhcKCUfljhfah6lugQoMn7p4Sk=; b=jv5rj8sjavf8Qsr6t9ZZ+JawQR/bm6V0LObJ+zztp6/Z6IW6hmrNzPgh6DRyi6Np1x3Lqyc6qICU6JD5NfRoLgfyKdyOuIi3lyeiOOxttwJuVm6g3N8f0JyO9UXh/jDCQdQ+YY5fAY9pphj1i0rmmi91spyEMzJio67Bd3usakg= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50424+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1573530549329300.96849158195266; Mon, 11 Nov 2019 19:49:09 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id EzitYY1788612xJE187gEmIK; Mon, 11 Nov 2019 19:49:08 -0800 X-Received: from mga09.intel.com (mga09.intel.com []) by mx.groups.io with SMTP id smtpd.web11.6677.1573530544591776714 for ; Mon, 11 Nov 2019 19:49:08 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Nov 2019 19:49:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,294,1569308400"; d="scan'208";a="234699862" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by fmsmga002.fm.intel.com with ESMTP; 11 Nov 2019 19:49:07 -0800 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Ray Ni , Sai Chaganty Subject: [edk2-devel] [PATCH V4 5/8] ShellPkg/SmbiosView: SMBIOS 3.3.0 add PCI gen4 values for type 9 Date: Tue, 12 Nov 2019 11:48:57 +0800 Message-Id: <20191112034900.11912-6-zhichao.gao@intel.com> In-Reply-To: <20191112034900.11912-1-zhichao.gao@intel.com> References: <20191112034900.11912-1-zhichao.gao@intel.com> 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,zhichao.gao@intel.com X-Gm-Message-State: 1wb4rPWrVMCwWYFoEDZrZr3ux1787277AA= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1573530548; bh=hTrLubnGl02o6JZy2/7GK0DhDS0SLMPk2k7nX+hCUz4=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=O/FoCc5w5ibdHLoit6afIC7o7vnbUQwfUk8wqMOUkmr92ENBF0GgzcmU8M1Np4I+IIU 1UnpCCvFZ9yAk4p7aztMstKXZQ5/NeK6j3LdwOdbUWV0tcMQnUGnzKzCmUuLD89cz70UK wkKchuN5aCoidS6iIvnbcpB+xomTx3Stfl0= X-ZohoMail-DKIM: pass (identity @groups.io) REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2305 System Slots (Type 9): =E2=80=93 SMBIOSCR00184: add PCI Express Gen 4 values Add the Smbios.h to use the MARCOs or enums. Cc: Ray Ni Cc: Sai Chaganty Signed-off-by: Zhichao Gao Reviewed-by: Ray Ni --- .../SmbiosView/QueryTable.c | 26 ++++++++++++++++++= +++- .../SmbiosView/QueryTable.h | 4 +++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTa= ble.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c index fdb7a47d33..94d995bda1 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c @@ -2,7 +2,7 @@ Build a table, each item is (Key, Info) pair. And give a interface of query a string out of a table. =20 - Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2005 - 2019, Intel Corporation. All rights reserved.
(C) Copyright 2016-2019 Hewlett Packard Enterprise Development LP
SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -1523,6 +1523,30 @@ TABLE_ITEM SystemSlotTypeTable[] =3D { { 0xB6, L"PCI Express Gen 3 X16" + }, + { + SlotTypePciExpressGen4, + L"PCI Express Gen 4" + }, + { + SlotTypePciExpressGen4X1, + L"PCI Express Gen 4 X1" + }, + { + SlotTypePciExpressGen4X2, + L"PCI Express Gen 4 X2" + }, + { + SlotTypePciExpressGen4X4, + L"PCI Express Gen 4 X4" + }, + { + SlotTypePciExpressGen4X8, + L"PCI Express Gen 4 X8" + }, + { + SlotTypePciExpressGen4X16, + L"PCI Express Gen 4 X16" } }; =20 diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTa= ble.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h index 60fb42c59c..589c9178ec 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.h @@ -2,7 +2,7 @@ Build a table, each item is (key, info) pair. and give a interface of query a string out of a table. =20 - Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2005 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -10,6 +10,8 @@ #ifndef _SMBIOS_QUERY_TABLE_H_ #define _SMBIOS_QUERY_TABLE_H_ =20 +#include + #define QUERY_TABLE_UNFOUND 0xFF =20 typedef struct TABLE_ITEM { --=20 2.16.2.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 (#50424): https://edk2.groups.io/g/devel/message/50424 Mute This Topic: https://groups.io/mt/53817086/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-