From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web10.2514.1660110003334097495 for ; Tue, 09 Aug 2022 22:40:03 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=baJ1St49; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: gua.guo@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660110003; x=1691646003; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=JjkhaiFuwkz7UastjTYYQYKghOF+a5B1tLJZuJt8LF4=; b=baJ1St49x4zX+ZUflMhhaPFS5MYrnnI4qlS74RKbAS5LN5zUxKF2xNvz GvUowYhEiWZRhxN2RMddDQAMz6taynWomAbTQONalRjBOgxmKxa7k4JnU mjC3WQ5X88I+urZY/Lxxj4GuAbo+V5C/44anEplauHTMqy8j5P4ivvzww YyAx24+LmGVNmOM8IWlk8qPoLy8wKDWARZRjKaX3dtayTMKde/qziUXLv sc5bT/pPXvu0fYQ+gKbPH61ePgMW1+WJYbIVhzpEbGvZbs4xqJNzx0SN/ H0NDbmhIVBgnvhi1blEGeszo9nbgFAb9diSm0B9oMExQyG4fqxltH82jJ Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10434"; a="355002942" X-IronPort-AV: E=Sophos;i="5.93,226,1654585200"; d="scan'208";a="355002942" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2022 22:40:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,226,1654585200"; d="scan'208";a="637982852" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga001.jf.intel.com with ESMTP; 09 Aug 2022 22:40:02 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx602.amr.corp.intel.com (10.18.126.82) 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:40:01 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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:40:01 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.171) by edgegateway.intel.com (192.55.55.68) 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:40:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kzmleagyRYP9r3/tXErllXlfh0J1zAUHe6zWvZcG06F06XSLeoswrpRmOOVdxtTp/K+6Nybn16ZzjG/CzjRoUEEtqGSya9miZy3y114N2wmUI70W7vRPApBCqOe6r3kkY+hylAvK08cV/AfgNgkPRPHN9E3+Clcrln1glUAyRxk+FDhA40TIDq0Qf+IV99XKNuwUKPh1GRU+55nv00aOKYx8QV+frGqodsmAjUij6uxPZsHv++H1gJSkp5967kepKcMj4rYhXqWzh/cERO4Q6sNFF66WFV48B8REIshQiipDWdsSngTqsRn0YABxYqJdThehhllusX6+h60FJUVnCg== 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=fC4nw8MAI1niCBHcwoovZWAOfTYeA3mxm1x/3QbbQ1Q=; b=WIZjTicXxoytXh5GajzkpMHO6K+XUprFUiD9ST0o56cqD5Ttj+pf0F5LcfNFa6Lt5MpjzDBMLsNMfkhB6fcRYiZeL91F1l4cVOvz5slXdTTA2NrW6BCxX6rdg4kf2EPtugsm7kUitRyo69qqXy80kFxi+JytngNZ/LtaouoUgvZf0V+MbN9jR1djQwy+P8wmexWggiCyPGbiMc7QS4g8Xq4tUiBxFo4ndq9vcEug6YJczE2823d1A7tumbJts/AaTJh9A5Ho2n4HZinWzIq0WPYM9/0aOvahQoeEDJ/BUKgS9ahkaYzPzZ21Bm2MEnAokurHaB5wu2hCEJNYf4bFTw== 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 BL1PR11MB5478.namprd11.prod.outlook.com (2603:10b6:208:31d::12) by MN2PR11MB3567.namprd11.prod.outlook.com (2603:10b6:208:ed::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.17; Wed, 10 Aug 2022 05:39:55 +0000 Received: from BL1PR11MB5478.namprd11.prod.outlook.com ([fe80::47a:29ec:5955:96c0]) by BL1PR11MB5478.namprd11.prod.outlook.com ([fe80::47a:29ec:5955:96c0%7]) with mapi id 15.20.5525.010; Wed, 10 Aug 2022 05:39:54 +0000 From: "Guo, Gua" To: "Ni, Ray" , "Liu, KasimX" , "devel@edk2.groups.io" CC: "Dong, Guo" , "Lu, James" Subject: Re: [PATCH v2] MdeModulePkg: Update the SMBIOS version by UPL Thread-Topic: [PATCH v2] MdeModulePkg: Update the SMBIOS version by UPL Thread-Index: AQHYq7KGGmtYjh51Nk+ADD+hxcx4HK2nnSCAgAACntA= Date: Wed, 10 Aug 2022 05:39:54 +0000 Message-ID: References: <20220809054008.1437-1-kasimx.liu@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.500.17 dlp-reaction: no-action 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: 5afdaf7d-8fdd-4a5e-7c11-08da7a92c108 x-ms-traffictypediagnostic: MN2PR11MB3567:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fbpPVZm2Zs8/Ft1lR3hT7ZYe0D5/xY0a6j9pkPWsmJ0uo1rOHqNzdRtsaYFgoxHOX9TdBvRIPRiltmk6TQk2wsGfxSBk/Sl65Kri3cHs2E5SHQ1YtC5dhV9dwcQJDKGtPaZvES38vLrb3Etyc/MgzSjnrYCemFMjBeaPi4zIvkLbDS2m/0ndYUCse42KtdojpcHmQ71wYSM4LuEYEAq/br9KTY4CP+qCimQT9E+nlcTAyI9xww1duN6Ni/qgTvo28ZJndvjm9d8Sk/s23u+OjnwT+nxEGUyHppZCuNv2yMeK1fA7szfEhF3N1ElaiuY85G1hDbWfVCSBjknAM9YWUOPKsvaa561P9wUPUChtqsPF/RyM+2tzuR3E/kSf+/z5BLZCdsHpwM25QJ0vPKKJFp71Dhdkt4e6+6SaAVG3PtYBa9f2a0qvJZVoEsX/CreVg8a6uhpjrBOIzCOUrEcd8Rdd+NJaKzOPz7VlFKRZJqNTwa3o9wK1KvihAGNyk+/qZnLcKtnGYhI+2MMJyFxRfKrid92PbsSBbyXrWKEWJ9FW06oyyC8rXjqezbef/lCRfxblOpZD89VTfFZ/Yg0+r6U0/QMHwBN64/Z8S2+SQYS+DVnCfuYzSlfRhJBsOY5+I8MdjRB8UoPYJx9DSV46EFG4wRQ230uBLvb9hJBo/QUEaYNEgnIOO9Jrz+WlVf9oLXuZ/akEX6FnWEUl8dvy80a6v0LDHRhChdcvGR8762NCwjRf1h1OWacjzk6ji155pWX8I3DEGHl7fBXkkJtluto7qDcTZxKvUsW3y4M+RfwJWV5iky/Qez5bfnXuDeh7oLijkie1zx8PtX4OZj0o3A== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR11MB5478.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(136003)(396003)(376002)(39860400002)(346002)(366004)(316002)(66476007)(5660300002)(76116006)(64756008)(66446008)(66946007)(66556008)(4326008)(54906003)(110136005)(8676002)(55016003)(86362001)(38100700002)(478600001)(33656002)(15650500001)(8936002)(52536014)(2906002)(83380400001)(122000001)(38070700005)(107886003)(82960400001)(71200400001)(19627235002)(41300700001)(7696005)(9686003)(53546011)(6506007)(966005)(186003)(26005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?YtxMx00qephho9nz+yu+TFxe8dNNp8LP4dZR+klIjDEuGVNQdviWJUcE61TR?= =?us-ascii?Q?+aMEjZf2bE3LLlAHjP6lTttfByLPQYnfALSfc2fm46zDfb1q0F6WeTfpwDzl?= =?us-ascii?Q?ZAqwLwWjVZV4g+mlUCzsmY8O9LruNbB1V5xPBUNKjdTqBrNy5vWM47EK3tWu?= =?us-ascii?Q?4nqMcWoqFimyDBBnFLFi2tFvjXVGJwwUN+LlkWQYxGcrNbZaDTiPxkO5iMj1?= =?us-ascii?Q?Hee/uByBRmBEFHUWp+BBTDnSAMvdPCu+4LQomYx3AVJSECcxZ7Nclh2ITykM?= =?us-ascii?Q?/fMQD3UKILn+J5t7yfvjYu5SUeHQb8pr/JvspXZ2cTJIr1p9j7LtUKwSZLQV?= =?us-ascii?Q?dB4s2MnEdepFLjiyAZtTqLDReqpFZp6ay06vw0lEpQqkKtbgpaVV7zrrZL3f?= =?us-ascii?Q?lxJaLj7X/5rSgyR8Ixz4KYxRyzhFIgvkiXYXVFsJSZDkaRhSu6YitKecaFpJ?= =?us-ascii?Q?5/+BDlE7laeWBDrKaOerRQW3NCXr2IapbQ2o5CNCGAQGKNtYvMtGH49YRGCq?= =?us-ascii?Q?/hAzPdqW4jtUEfUhtriOusgCElMvKr+qjQ7hyi0PWo6zDv+ae9hcWzqYVp+K?= =?us-ascii?Q?DWHxIZIc9NTjJgtbL4dBN8SlVjyQi0opAgWJh3TJifvIWVUuiIb0e1QUFnOS?= =?us-ascii?Q?41vFUtb55aa5dt+tEonTSqFI/0M/6fm6Lw1hEDUC7HEfS79ASM42Fwjbz4ns?= =?us-ascii?Q?lMi6FjFBrv3tSPHIFGHgY8+oxL4F6SI/gmne02kU2EsusseLG6s+ZiNo6lCD?= =?us-ascii?Q?0TUG4gqTz3jyLat7upQCH+yCV7eStDENYYghsoOfEGDvZNtyzNEYa9uNrPZ4?= =?us-ascii?Q?4qcWClxar6nqUPAxtYWTpMHbizl+v1jTI+hL4pYPf6VLpemKesnB/TweBna/?= =?us-ascii?Q?xLz5UD6RsBrPhmLB5WmNxdZohfyqvs83dd2VhyJtYd6ICNuSt7G7ELaG+b6d?= =?us-ascii?Q?m+Gdvc1IZIwNe31u5vNFCYUzSo4pORE/aVhNANOAjc91p/s0owl9KiblOauC?= =?us-ascii?Q?9qQ9BPm/wS0Mvm8s2YV7RVCTSQt+lPZGdtDM8MtuKt9WiNIUnw57MDLPNQHS?= =?us-ascii?Q?iQyZx5rBZdPdMMewcHmXvooI7HAXeRb/qBwVzBvQGd49pOGJl0gZAAh6JwAq?= =?us-ascii?Q?Y6lBAgcRMfNE1YV++DwoBzKNlm5xr06b+Rb7KUmvgPBqNYoASKJpqEwEN+hF?= =?us-ascii?Q?VN/FIUFi510DnOPVCsD19QAhdkwFivEsvAuA9bySZ2/ktoIxgSRHsLgcip4n?= =?us-ascii?Q?PTCi+5bWUC5KTExhDhfhPgEbu/UF1yd0SGYNlMGPTl4Dc/G+4DYm4Y8mb+Yo?= =?us-ascii?Q?GM80j5zdOujVB9ngawsM35RmozYmr5b39PxWVYs0iQ1xDrDpUXwr6jONh9nu?= =?us-ascii?Q?0jHpQNf/38hoIERL5tOsOQfsINlR1SDnD5tsJQdj6fMk6Zl7Q8mguZdZRhd1?= =?us-ascii?Q?dK2KIuh42QMmYWJDFaf/DDBPVbi9VgTPrys0ScjqhxADGkn8WJuNd/aV9bmN?= =?us-ascii?Q?ewZiLue4VpVXSnx1rznIRCvschvAMxCc+pYshkFXxP3kJ+3P0nqeQELZ9yaU?= =?us-ascii?Q?9qoyvvQb6iDrWGO3rLc=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR11MB5478.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5afdaf7d-8fdd-4a5e-7c11-08da7a92c108 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Aug 2022 05:39:54.8404 (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: GiLE/lrATPIJQJj9O30F02ULuCXey4D6es6nRyHZ//QhGPTKjtoRsNE9DdH0C0H64Bi+kP7gRHmO19es4cyISw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3567 Return-Path: gua.guo@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Gua Guo -----Original Message----- From: Ni, Ray =20 Sent: Wednesday, August 10, 2022 1:30 PM To: Liu, KasimX ; devel@edk2.groups.io Cc: Dong, Guo ; Lu, James ; Guo, Gu= a Subject: RE: [PATCH v2] MdeModulePkg: Update the SMBIOS version by UPL 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=20 > ; Ni, Ray ; Lu, James=20 > ; 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=20 > gUniversalPayloadSmbios3TableGuid HOB to store the value then updated=20 > 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=20 > *)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=20 > parse 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