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 3C3AF74003C for ; Fri, 23 Feb 2024 16:11:15 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=X5cmL0Bt+jedVwwTkZ9o4/3w76sJo9zWV3RCDw/xtcM=; 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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1708704674; v=1; b=Ww+uwV4YCkmX28lU/5VfQrzRmAvYA04ai2DgN+RUoZwEFAqdW52e4Y0TOEQ1b7LfJlHAJHPD Wy/31L6s1ogFFs9FlXpnLVdtO6DgOutEhaMYXuRjG7D0j5hvOwYt5rQnfz8dZaEbN4d3Cg6Ytwl jNYlAxxb/Sb955prnIbaI3zw= X-Received: by 127.0.0.2 with SMTP id w7ksYY7687511xrO0WGwEzhm; Fri, 23 Feb 2024 08:11:14 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by mx.groups.io with SMTP id smtpd.web11.16382.1708704674044863674 for ; Fri, 23 Feb 2024 08:11:14 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10993"; a="14437513" X-IronPort-AV: E=Sophos;i="6.06,180,1705392000"; d="scan'208";a="14437513" X-Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2024 08:11:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,180,1705392000"; d="scan'208";a="43395018" X-Received: from shwdeopenlab102.ccr.corp.intel.com ([10.239.55.177]) by orviesa001.jf.intel.com with ESMTP; 23 Feb 2024 08:11:09 -0800 From: "Jason Lou" To: devel@edk2.groups.io Cc: Jason Lou , Zhiguang Liu , Dandan Bi , Star Zeng , Zhichao Gao , Benny Lin , Gua Guo , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH v3] MdePkg/SmBios.h: Add New ProcessorFamily definitions for SMBIOS Type4 Date: Sat, 24 Feb 2024 00:11:04 +0800 Message-Id: <20240223161105.2685-1-yun.lou@intel.com> 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,yun.lou@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: jvIB2zMuXtsCSaUdnqkYktXxx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=Ww+uwV4Y; 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: Jason Lou The patch adds new ProcessorFamily definitions for SMBIOS Type4 based on SMBIOS 3.8.0. Signed-off-by: Jason Lou Cc: Zhiguang Liu Cc: Dandan Bi Cc: Star Zeng Cc: Zhichao Gao Cc: Benny Lin Cc: Gua Guo Cc: Michael D Kinney Cc: Liming Gao --- ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 34 ++= +++++++++++++++++- MdePkg/Include/IndustryStandard/SmBios.h | 14 ++= ++++-- 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintIn= fo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index 4f29eedc58..f96317b314 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -1,7 +1,7 @@ /** @file=0D Module for clarifying the content of the smbios structure element inform= ation.=0D =0D - Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
=0D + Copyright (c) 2005 - 2024, Intel Corporation. All rights reserved.
=0D Copyright (c) 1985 - 2022, American Megatrends International LLC.
=0D (C) Copyright 2014 Hewlett-Packard Development Company, L.P.
=0D (C) Copyright 2015-2019 Hewlett Packard Enterprise Development LP
=0D @@ -2678,6 +2678,38 @@ DisplayProcessorFamily2 ( Print (L"MultiCoreLoongson3D\n");=0D break;=0D =0D + case 0x300:=0D + Print (L"IntelCore3\n");=0D + break;=0D +=0D + case 0x301:=0D + Print (L"IntelCore5\n");=0D + break;=0D +=0D + case 0x302:=0D + Print (L"IntelCore7\n");=0D + break;=0D +=0D + case 0x303:=0D + Print (L"IntelCore9\n");=0D + break;=0D +=0D + case 0x304:=0D + Print (L"IntelCoreUltra3\n");=0D + break;=0D +=0D + case 0x305:=0D + Print (L"IntelCoreUltra5\n");=0D + break;=0D +=0D + case 0x306:=0D + Print (L"IntelCoreUltra7\n");=0D + break;=0D +=0D + case 0x307:=0D + Print (L"IntelCoreUltra9\n");=0D + break;=0D +=0D default:=0D ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_PRINTINF= O_UNDEFINED_PROC_FAMILY), gShellDebug1HiiHandle);=0D }=0D diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/Indu= stryStandard/SmBios.h index 56cec615a0..bdb28fc3a3 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -1,7 +1,7 @@ /** @file=0D - Industry Standard Definitions of SMBIOS Table Specification v3.7.0.=0D + Industry Standard Definitions of SMBIOS Table Specification v3.8.0.=0D =0D -Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.
=0D +Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.
=0D (C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
=0D (C) Copyright 2015 - 2019 Hewlett Packard Enterprise Development LP
=0D Copyright (c) 2022, AMD Incorporated. All rights reserved.
=0D @@ -774,7 +774,15 @@ typedef enum { ProcessorFamilyQuadCoreLoongson3B =3D 0x026E,=0D ProcessorFamilyMultiCoreLoongson3B =3D 0x026F,=0D ProcessorFamilyMultiCoreLoongson3C =3D 0x0270,=0D - ProcessorFamilyMultiCoreLoongson3D =3D 0x0271=0D + ProcessorFamilyMultiCoreLoongson3D =3D 0x0271,=0D + ProcessorFamilyIntelCore3 =3D 0x0300,=0D + ProcessorFamilyIntelCore5 =3D 0x0301,=0D + ProcessorFamilyIntelCore7 =3D 0x0302,=0D + ProcessorFamilyIntelCore9 =3D 0x0303,=0D + ProcessorFamilyIntelCoreUltra3 =3D 0x0304,=0D + ProcessorFamilyIntelCoreUltra5 =3D 0x0305,=0D + ProcessorFamilyIntelCoreUltra7 =3D 0x0306,=0D + ProcessorFamilyIntelCoreUltra9 =3D 0x0307=0D } PROCESSOR_FAMILY2_DATA;=0D =0D ///=0D --=20 2.39.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115890): https://edk2.groups.io/g/devel/message/115890 Mute This Topic: https://groups.io/mt/104530890/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-