From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web12.2517.1660109415100666139 for ; Tue, 09 Aug 2022 22:30:15 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=WWY4Syrr; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660109415; x=1691645415; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=030bwe7/1gwBUprsTTowWgxqAHhOI5FqdI5f5Fd89l0=; b=WWY4SyrrxoZUnQ0lbCn4WDs6MXqckXck5tMz0xXNr1Di+eCoNLmf9PSf pgNenZ+l4sIV1hTjBCXJF4F4O8TJYKAWRV6oxAoNc+flXhYv2wBS1mTC6 vyhwkl+pjAvsrCodDi7KRbaxU0cMz7AG0PesyTK6h9+vvKdxhvn28C8wA YWVavq7oUdIdcrVWWQKuVPbicCQdsxCRtKpx8XQzooJtQqV5DwHfTLeyu vZxtnLiXBZfz1qq7xcrlCH4JYqGEe+0XM/K9vGZ2AuZNafhGo8h13katK WmwJhfCsLLEz6GSeU0fRmQlEAH/TMOvT31R/8BOe0XOdY8BrYeqAUUK5k Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10434"; a="270775427" X-IronPort-AV: E=Sophos;i="5.93,226,1654585200"; d="scan'208";a="270775427" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2022 22:30:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,226,1654585200"; d="scan'208";a="555607516" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga003.jf.intel.com with ESMTP; 09 Aug 2022 22:30:14 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Tue, 9 Aug 2022 22:30:14 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Tue, 9 Aug 2022 22:30:13 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Tue, 9 Aug 2022 22:30:13 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.104) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Tue, 9 Aug 2022 22:30:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CpvuGryWeqbTQ0nIkVz1atZ7/dyssR1qCLAFinqyEbZfXm3JK1CFcs+9bq7xVdpBiJvuJiIKawke3b1fkbLFSk/YXa3EKM/DQn7dD8Tcv7AjYhZZTyeWqB+u78Ypx/xxMUtCI5BGY2aX6/ROFDg1LQq+EMPYIc0biWqrtE1pWOq96/0+n3HLFCv5obwyMrmzDSDYJace6TlTSSDDACxTaGmUlbbsl190e1JfaLvEPvEaKvkkkQfAxStF0nRTS1HohszgfNW1j0TRsG3TGKdrPEnpI7WLle3PjjPV2VG4FD0Nwb6YEX3k0bqFp+w414mIBU7lahSJzq5g1FJfkaArQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=huqYQpEQ1m5XLfyd52LeQ3n0cF0GGG/TyO1sq+SWtDs=; b=G5yZvBjYBaOyuzB+05tx9OMZ0oCm5/vNQ6cLkTgXHV898LnfatWKllqbLzbY8vG8rNEgXqyTfn/pe/ninAOKy4vFCNEaSFZxHP5YnC+49ZWybANA28s9U8XzL9nVzmLH1ygEZFcA7OJt1T5PuawZGRQAN3X7vV1D/d0nz9jBLNY4q1JVNv9/miknmwN8D7MXxkzTOwH0t6oT1Ez+bbCB4GIo1Fjo2hdQEOltz0YLZa6+lWnrETFQEK6gToFe9YPB8goMHg7eyobGHoUkEzWusBqF4O5liJSrl8w5h7F7vV00eb2fOy/Dcew4kWvywFrf+ZNGKtFcRZ2SgQeYyIVdrg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MWHPR11MB1631.namprd11.prod.outlook.com (2603:10b6:301:10::10) by MWHPR11MB1837.namprd11.prod.outlook.com (2603:10b6:300:10f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.14; Wed, 10 Aug 2022 05:30:11 +0000 Received: from MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::991b:97a0:7836:5174]) by MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::991b:97a0:7836:5174%10]) with mapi id 15.20.5504.020; Wed, 10 Aug 2022 05:30:11 +0000 From: "Ni, Ray" To: "Liu, KasimX" , "devel@edk2.groups.io" CC: "Dong, Guo" , "Lu, James" , "Guo, Gua" Subject: Re: [PATCH v2] MdeModulePkg: Update the SMBIOS version by UPL Thread-Topic: [PATCH v2] MdeModulePkg: Update the SMBIOS version by UPL Thread-Index: AQHYq7KGJoI4jGmGe0ipzQNlySxd962nmzlw Date: Wed, 10 Aug 2022 05:30:11 +0000 Message-ID: References: <20220809054008.1437-1-kasimx.liu@intel.com> In-Reply-To: <20220809054008.1437-1-kasimx.liu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: eb7e1e0d-b23e-42a6-3229-08da7a91652e x-ms-traffictypediagnostic: MWHPR11MB1837:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mpmeKcrl8Jo2C/oia6VWDmJiTa1sqmdzaYQai62LpcQnfNAomL6Mle2BiGLk5w3/38S557tszn4K2Jk70r64Vgz9rvGtpa/UdZj5fi3yUm8Woq2SBNFNr7oZTlL5c1w3/TerQAPwvOdgmd8URQu3XY3lAeJqFWGXoLDfcus/h9L7kbjVdp0dxDtzXjPSAf9PYWz9v8eVAZWjWXGThGBBaZK6xbn0Gv6JBBR1MD1HXHTQC9EOd0XUhYLPECOq9r7axarzlJDEwQ7wM6B0dTx3LGMVqfx460IAvdxM7biEQYGAVvZG32cnr1Q2zIaUP/lz0z2Zbbaq6lYa+dX816FOe3mYPd6C3LHCOQAOH8987TLyQk7reEXuttyycO2zlRRe8WPjfOADHCxPowP07YhcSriUq9mKo53g1d07YrgmWsibOpTgHYIRvXTMv43evNN8ry7V/IR6FIMpF1wS1thjYSXtG/Z2z+BZITPB/+Kd7CyX9g5Tert0JL6TBiaG9fZQmJ3zj1ci1u00GP4xrPxiDzDkupKm6VLQ8FfPUVNu3y6rKX7oDPngzwd+V9H3f73NchDXe0COeEjUQ+laTC+rKz5dsCwy31fiDuBe5n71vFXah6NhIiKKqlP1/zwVo1aWGU6dQ4Xh8uM7MNZvMlynf3saDXSqk8Duba10tP/Erlwy7Y3mGuYdPZGBOp1kRiFHrYAhFt1rcHvvzLDqDvDtVP2kRpi3xSpnGT6XIh6yEuH55eVDn/QAKUTwCxrH3d5PvEL4yx6GGkSiBMGukksAFdHTRfncBXjv+YTvRz9P4GtmEppYFidtjSI6Nzi/sk9mLLOZlxKLcar1eDOyg5YR5w== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1631.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(376002)(366004)(346002)(396003)(136003)(39860400002)(9686003)(53546011)(38070700005)(478600001)(26005)(33656002)(15650500001)(82960400001)(6506007)(38100700002)(2906002)(5660300002)(7696005)(41300700001)(8936002)(122000001)(4326008)(66476007)(66556008)(76116006)(64756008)(66946007)(66446008)(52536014)(71200400001)(966005)(83380400001)(8676002)(110136005)(86362001)(54906003)(107886003)(55016003)(316002)(19627235002)(186003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?HaVeEBUaerBIerunnH1+qoCGZcP+105uBD58fOIrGEBjEGdDZXVU93kh7xTj?= =?us-ascii?Q?Jy04T13NAD646FqFaJxCvsYw9DuJoGshbv9BlkKzaqDqCj5t3mBptpMaCVQf?= =?us-ascii?Q?38A68i+53NOEDBJ1TYCIbQWcT+LP9rneHFE8XU0cJDh4LJMTYmYEHI/Ba4ez?= =?us-ascii?Q?cVBglyN8CWFXSkdV2E3QAz/FZt7SiRvqcEBQiaXparJ15owo+jJUK9oJKmMh?= =?us-ascii?Q?YWJxB0UEKt9uKkfHdZWEhaKgfg/KxxPOjly/407DQvd1zLcZH8e/czpbzHbD?= =?us-ascii?Q?kXsAJfKmHNf1nKiOjuNAkSxVKSelq8NZauch0RfFLBMkNd7cob6FpMaur3Wa?= =?us-ascii?Q?SgM47qqDn0gkddDgm8HXQlmsWQVJb7wHdjbP09GUMv9Cm9OMWyURyXlw36IE?= =?us-ascii?Q?RaHBUJN00F3WphrLEwDVGgwJynzeVURxLrtat40CUZiZbFKMsjJnpChs9ebS?= =?us-ascii?Q?Qs/57N0bM5UfIOQH9euWg/I73vPWafXAe3PTYJg++ey9fJwM0OPs5+jb2tpz?= =?us-ascii?Q?l458sqKmM3U928WeRJXY3/zoe8sHwewZmSxwIVWscVI4K+D0VTFmQuCN4Q5B?= =?us-ascii?Q?bq7ONgDBQ2BBzrkeH/QcWzQYR9DPHkUZRHwRYEdMfVv1Riyc09aPOizH8B6l?= =?us-ascii?Q?fR/5BNBnd0qHe1tGeVRNsNZvBSytt4ZD7Yl/QtfHjTSZ1q6TXhaqJEbxv48T?= =?us-ascii?Q?KhAmYytKUQj9IHIcauE4N7LrRvPtyj/C8MJKx+ZLXCkXIknnsGw5tFOnJzxk?= =?us-ascii?Q?sUvkETCQwJhzA6GcNyNOqhnIY9WdZqIBFIkrW4BVPDhV8O3MCtbEp9rdK6z2?= =?us-ascii?Q?ecUVOThohrbVt1Qy2UAYFzkAtvj55KaspyRsA5Q5enGYVWWF3HABwYpFg8qs?= =?us-ascii?Q?iOcMmvmexQL/spZzcMN0LG1CAO99xJ81bPmVm0vXyY7mFhR3U0GmWtHgqsJc?= =?us-ascii?Q?7j2KSduV1bgQ4yV9Whtj58zF6tfqrmMl47inkXtwi9H8uBmn7rP68xl6GrXl?= =?us-ascii?Q?Zb4t5tMgwbOYHB8x0e5KSHLPJPXtrVJK69MZo8zwwiVDE4as3fa8/29ff2Ph?= =?us-ascii?Q?ZmUSRwI2z6xsD4R0imqTZjtPPH7gLiFKNy2LYvATK/lr1ZGjfJD72Z55SNjK?= =?us-ascii?Q?obZ1jlSUQmFjRIDoYLKMJ+SkQbAjRIft5IV8lvrg2XRqYRlbGoNwSn55NnEH?= =?us-ascii?Q?Tc4Mi4HdpX7GC0H1nmgK2TEpCUO6pjP+PrgRS/FUcJIqy6TZdt3BMhIoEP9c?= =?us-ascii?Q?bmVyMasnBwkRpGIjSE7dYePd5I24AHc/iCdisAB8hskSqgtgIPzRxWHH6/qI?= =?us-ascii?Q?f9bOe7GPWi1hWRbCpkRo9BGEm5fuHiEwwNogzOcwgNL7Ma92E1i021pcf6ml?= =?us-ascii?Q?7EMbATKNJxpIsW93AZXhmTgpbECYtecQe/roOtys99oJcpmYBTO3SGBTmsxl?= =?us-ascii?Q?+/BFghtwTAXhoVAS4+4MsPyYZmYBHkKSrjRBJ5eI1nZLtdgJIDKTsM1ogRsO?= =?us-ascii?Q?BABsoMoiXj1qnZyPeTFXovKeVHa30YRpTMQvMX+6DpHtJbK0qDJ+LqWqhXo0?= =?us-ascii?Q?7t/QEKJl8A060DxPAMY=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1631.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: eb7e1e0d-b23e-42a6-3229-08da7a91652e X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Aug 2022 05:30:11.2094 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4Z7ei3bGb6yFBwIHPRL5WFEuLWc1wGlYXDY+R/Eea5SLKI/gWdrLsQS9Mp1uN5uMkAxjtmIs2IH2+G2NGDzcSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1837 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: Liu, KasimX > Sent: Tuesday, August 9, 2022 1:40 PM > To: devel@edk2.groups.io > Cc: Liu, KasimX ; Dong, Guo ; > Ni, Ray ; Lu, James ; Guo, Gua > > Subject: [PATCH v2] MdeModulePkg: Update the SMBIOS version by UPL >=20 > From: KasimX Liu >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4013 >=20 > For the SMBIOS version can be update by UPL,we create > the gUniversalPayloadSmbios3TableGuid HOB to store > the value then updated version. >=20 > Cc: Guo Dong > Cc: Ray Ni > Cc: James Lu > Cc: Gua Guo > Signed-off-by: KasimX Liu > --- > MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c | 25 > ++++++++++++++++---- > MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h | 12 +++++++--- > 2 files changed, 29 insertions(+), 8 deletions(-) >=20 > diff --git a/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c > b/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c > index 81df59cd0f..7c1e2adc02 100644 > --- a/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c > +++ b/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c > @@ -1447,7 +1447,9 @@ BOOLEAN > IsValidSmbios20Table ( >=20 > IN VOID *TableEntry, >=20 > OUT VOID **TableAddress, >=20 > - OUT UINTN *TableMaximumSize >=20 > + OUT UINTN *TableMaximumSize, >=20 > + OUT UINT8 *MajorVersion, >=20 > + OUT UINT8 *MinorVersion >=20 > ) >=20 > { >=20 > UINT8 Checksum; >=20 > @@ -1478,6 +1480,8 @@ IsValidSmbios20Table ( > if (SmbiosTable->MajorVersion < 2) { >=20 > return FALSE; >=20 > } >=20 > + *MajorVersion =3D SmbiosTable->MajorVersion; >=20 > + *MinorVersion =3D SmbiosTable->MinorVersion; >=20 >=20 >=20 > // >=20 > // The whole struct check sum should be zero >=20 > @@ -1522,7 +1526,9 @@ BOOLEAN > IsValidSmbios30Table ( >=20 > IN VOID *TableEntry, >=20 > OUT VOID **TableAddress, >=20 > - OUT UINTN *TableMaximumSize >=20 > + OUT UINTN *TableMaximumSize, >=20 > + OUT UINT8 *MajorVersion, >=20 > + OUT UINT8 *MinorVersion >=20 > ) >=20 > { >=20 > UINT8 Checksum; >=20 > @@ -1541,6 +1547,8 @@ IsValidSmbios30Table ( > if (SmbiosTable->MajorVersion < 3) { >=20 > return FALSE; >=20 > } >=20 > + *MajorVersion =3D SmbiosTable->MajorVersion; >=20 > + *MinorVersion =3D SmbiosTable->MinorVersion; >=20 >=20 >=20 > // >=20 > // The whole struct check sum should be zero >=20 > @@ -1575,7 +1583,9 @@ EFI_STATUS > ParseAndAddExistingSmbiosTable ( >=20 > IN EFI_HANDLE ImageHandle, >=20 > IN SMBIOS_STRUCTURE_POINTER Smbios, >=20 > - IN UINTN Length >=20 > + IN UINTN Length, >=20 > + IN UINT8 MajorVersion, >=20 > + IN UINT8 MinorVersion >=20 > ) >=20 > { >=20 > EFI_STATUS Status; >=20 > @@ -1583,6 +1593,9 @@ ParseAndAddExistingSmbiosTable ( > EFI_SMBIOS_HANDLE SmbiosHandle; >=20 > SMBIOS_STRUCTURE_POINTER SmbiosEnd; >=20 >=20 >=20 > + mPrivateData.Smbios.MajorVersion =3D MajorVersion; >=20 > + mPrivateData.Smbios.MinorVersion =3D MinorVersion; >=20 > + >=20 > SmbiosEnd.Raw =3D Smbios.Raw + Length; >=20 >=20 >=20 > if ((Smbios.Raw >=3D SmbiosEnd.Raw) || (Smbios.Raw =3D=3D NULL)) { >=20 > @@ -1692,6 +1705,8 @@ RetrieveSmbiosFromHob ( > UNIVERSAL_PAYLOAD_GENERIC_HEADER *GenericHeader; >=20 > VOID *TableAddress; >=20 > UINTN TableMaximumSize; >=20 > + UINT8 MajorVersion; >=20 > + UINT8 MinorVersion; >=20 >=20 >=20 > Status =3D EFI_NOT_FOUND; >=20 >=20 >=20 > @@ -1709,9 +1724,9 @@ RetrieveSmbiosFromHob ( > // >=20 > SmBiosTableAdress =3D (UNIVERSAL_PAYLOAD_SMBIOS_TABLE > *)GET_GUID_HOB_DATA (GuidHob); >=20 > if (GenericHeader->Length >=3D > UNIVERSAL_PAYLOAD_SIZEOF_THROUGH_FIELD > (UNIVERSAL_PAYLOAD_SMBIOS_TABLE, SmBiosEntryPoint)) { >=20 > - if (mIsSmbiosTableValid[Index].IsValid ((VOID > *)(UINTN)SmBiosTableAdress->SmBiosEntryPoint, &TableAddress, > &TableMaximumSize)) { >=20 > + if (mIsSmbiosTableValid[Index].IsValid ((VOID > *)(UINTN)SmBiosTableAdress->SmBiosEntryPoint, &TableAddress, > &TableMaximumSize,&MajorVersion,&MinorVersion)) { >=20 > Smbios.Raw =3D TableAddress; >=20 > - Status =3D ParseAndAddExistingSmbiosTable (ImageHandle, = Smbios, > TableMaximumSize); >=20 > + Status =3D ParseAndAddExistingSmbiosTable (ImageHandle, = Smbios, > TableMaximumSize,MajorVersion,MinorVersion); >=20 > if (EFI_ERROR (Status)) { >=20 > DEBUG ((DEBUG_ERROR, "RetrieveSmbiosFromHob: Failed to par= se > preinstalled tables from Guid Hob\n")); >=20 > Status =3D EFI_UNSUPPORTED; >=20 > diff --git a/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h > b/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h > index 019798ea77..f1500beabd 100644 > --- a/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h > +++ b/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h > @@ -136,7 +136,9 @@ BOOLEAN > IsValidSmbios30Table ( >=20 > IN VOID *TableEntry, >=20 > OUT VOID **TableAddress, >=20 > - OUT UINTN *TableMaximumSize >=20 > + OUT UINTN *TableMaximumSize, >=20 > + OUT UINT8 *MajorVersion, >=20 > + OUT UINT8 *MinorVersion >=20 > ); >=20 >=20 >=20 > /** >=20 > @@ -155,7 +157,9 @@ BOOLEAN > IsValidSmbios20Table ( >=20 > IN VOID *TableEntry, >=20 > OUT VOID **TableAddress, >=20 > - OUT UINTN *TableMaximumSize >=20 > + OUT UINTN *TableMaximumSize, >=20 > + OUT UINT8 *MajorVersion, >=20 > + OUT UINT8 *MinorVersion >=20 > ); >=20 >=20 >=20 > /** >=20 > @@ -174,7 +178,9 @@ BOOLEAN > (*IS_SMBIOS_TABLE_VALID) ( >=20 > IN VOID *TableEntry, >=20 > OUT VOID **TableAddress, >=20 > - OUT UINTN *TableMaximumSize >=20 > + OUT UINTN *TableMaximumSize, >=20 > + OUT UINT8 *MajorVersion, >=20 > + OUT UINT8 *MinorVersion >=20 > ); >=20 > typedef struct { >=20 > EFI_GUID *Guid; >=20 > -- > 2.32.0.windows.2