From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.60]) by mx.groups.io with SMTP id smtpd.web12.549.1610744214041910512 for ; Fri, 15 Jan 2021 12:56:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=1eyC12Wx; spf=pass (domain: arm.com, ip: 40.107.21.60, mailfrom: samer.el-haj-mahmoud@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ugzdr6EjVJQekgMBbTraG/i4X8idYtDEzSAsFCMYkrE=; b=1eyC12Wxl+hnzeafKw1E/YazlGKeuemadW+9XlRiNBT46UGjicuYrzrfupQWHZNV1QT5BtA1Gkn9RGTaA5GzniUSOsKnrWMdn3dF/CY4CdgR0fRQoautz43MZ+ULbHzOAT+U5QFR7vK2RMiLzfyU2sDVnT7ySBl70UlRI5o6iBA= Received: from AM7PR04CA0009.eurprd04.prod.outlook.com (2603:10a6:20b:110::19) by PAXPR08MB6478.eurprd08.prod.outlook.com (2603:10a6:102:159::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.10; Fri, 15 Jan 2021 20:56:51 +0000 Received: from AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:110:cafe::d9) by AM7PR04CA0009.outlook.office365.com (2603:10a6:20b:110::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.10 via Frontend Transport; Fri, 15 Jan 2021 20:56:51 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT005.mail.protection.outlook.com (10.152.16.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.12 via Frontend Transport; Fri, 15 Jan 2021 20:56:50 +0000 Received: ("Tessian outbound f362b81824dc:v71"); Fri, 15 Jan 2021 20:56:49 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 3a3ca6b89b427e4f X-CR-MTA-TID: 64aa7808 Received: from 408b09d436d3.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3BECEBDB-0F8C-4796-B22F-27004D71270D.1; Fri, 15 Jan 2021 20:56:44 +0000 Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 408b09d436d3.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 15 Jan 2021 20:56:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JAD7NVy3L5maR8Mi1y8ZuygWl+SN8UswxEPmW2jBZlH9DJre6OvJqn+0GDOuyaZm/03AzwSHOPLfAR9HYFglrF8kMICIpCu6VQBK8k0DXDb1n1gzQ9PNB8f4k7i3ZROHN+WZsyVvAWiwg5jw+zr+3O3iLo/kE1fC1h63duDG1LlHWkcSW5YUBlIWOb0QSqlPIsyKVDX9waONUtzTlVhfiBIN+6lJlN0tx6duP1K1iwryuEjuhq0SQjzhpy7D0pSQvproJcz7G28s9C3cmFwGQB+LDB6tj/7zAKM97yH0u/Zp93tIAkKIwau907WEYtDwMywGFU5VVFZM0o/cbsC8GA== 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-SenderADCheck; bh=Ugzdr6EjVJQekgMBbTraG/i4X8idYtDEzSAsFCMYkrE=; b=GBcVbdVc0qxa5q5IeGECb6eizSP4FPqx4ytiddyKVvje3ucBrTd4Qr98XXqlGjzLkL5Ci6dAUs4x9KzSEwDAvj7kkyurC6jP5fSVBHq/zvr5Vu1x48JyWdpZnqZ47sV+4MSdY/WoXcVt8Vg+q0zPkcB1GBwrs5HKQ2s31W6dnDqQsnr3yCC4skGl8FC6dKOW4cC5j98U+751SfbMsKs0i6qJneSnltJ4h1hwrY1ggiZQlbGWHk3ToIabITrQa+hU+GeeKN6z3+fwWnuwT24ilc31xFOHx9uvOfAgyIZXIgiK9fUFtcBDeQzhBo3qUsIENlZWGkMZDgBn+H/35IN9Ng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ugzdr6EjVJQekgMBbTraG/i4X8idYtDEzSAsFCMYkrE=; b=1eyC12Wxl+hnzeafKw1E/YazlGKeuemadW+9XlRiNBT46UGjicuYrzrfupQWHZNV1QT5BtA1Gkn9RGTaA5GzniUSOsKnrWMdn3dF/CY4CdgR0fRQoautz43MZ+ULbHzOAT+U5QFR7vK2RMiLzfyU2sDVnT7ySBl70UlRI5o6iBA= Received: from DB7PR08MB3260.eurprd08.prod.outlook.com (2603:10a6:5:21::23) by DBBPR08MB6025.eurprd08.prod.outlook.com (2603:10a6:10:203::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.11; Fri, 15 Jan 2021 20:56:41 +0000 Received: from DB7PR08MB3260.eurprd08.prod.outlook.com ([fe80::a1f1:ccfd:b17f:a490]) by DB7PR08MB3260.eurprd08.prod.outlook.com ([fe80::a1f1:ccfd:b17f:a490%5]) with mapi id 15.20.3763.011; Fri, 15 Jan 2021 20:56:41 +0000 From: "Samer El-Haj-Mahmoud" To: "devel@edk2.groups.io" , "rebecca@nuviainc.com" CC: Leif Lindholm , Ard Biesheuvel , nd , Sami Mujawar , Liming Gao , Michael D Kinney , Zhiguang Liu Subject: Re: [edk2-devel] [PATCH v6 12/22] ArmPkg: Add Library/OemMiscLib.h Thread-Topic: [edk2-devel] [PATCH v6 12/22] ArmPkg: Add Library/OemMiscLib.h Thread-Index: AQHW6pRn0J4eOuyYlkqyLBtFPllKW6opLKtA Date: Fri, 15 Jan 2021 20:56:41 +0000 Message-ID: References: <20210114163628.31952-1-rebecca@nuviainc.com> <20210114163628.31952-13-rebecca@nuviainc.com> In-Reply-To: <20210114163628.31952-13-rebecca@nuviainc.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; x-originating-ip: [99.132.126.10] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 9d6a6d8e-b72b-4b2e-d8e0-08d8b998145d x-ms-traffictypediagnostic: DBBPR08MB6025:|PAXPR08MB6478: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:4502;OLM:4502; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 8TY3T3LdU4EgALzz3hkPksP23E9djju+pN12yd8n2GEL+V2BYKR0CveSMIqa20DBMtyOdA0vXItxe8fwhvlTLJDTnGYVqSlzmSCxcYOMLk7Ji4YKjmv2yJio6hzAaVlvWCO0Z+nGvhsM68XQu7ljmcKdLPA7S+uJUcaWbwUqC7NcPAnpWOEnv7oBPa1K0l5LgywjO1L0OrSnghIxA2cmIWVOGDJGN1dodtlw+IDm5n8rYX9ng5/nu9KG96+rmBmMOkU61JmEOBC8jZ3aEKvE2klIuaMnw4Zq3X1GquYc9LIE6p14+FI1i8GfOoQEIiYS9LlGK21VzveCXNbAQBPwK68KXwWvRVkStFv1HonGFpv+E7+jTvMstlx4e2kSPjRg9y2AkeObWeaWSRO7ScwsMim2qr0ijRTprhBEensFy0xYEYFnLw+yuJ0O87QBmBcS72gXE5ZPS8/XYtzM3Z2XvAqRlFCB1HorOxFLdyHIyWarfq2X/ueA42zQm0E2DohM76uOBksFmxWRZJeZ44TJCg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR08MB3260.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(39860400002)(396003)(346002)(366004)(376002)(4326008)(966005)(86362001)(52536014)(8936002)(8676002)(5660300002)(83380400001)(71200400001)(7696005)(478600001)(76116006)(33656002)(66556008)(110136005)(316002)(64756008)(186003)(26005)(53546011)(6506007)(66446008)(54906003)(9686003)(66476007)(2906002)(55016002)(66946007)(115813001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?n3E0Yy8AYdFHuyZnphkVSTy/WWXdJzKkKClZGHOC0PG/tu+eRMgh5SP5NZIz?= =?us-ascii?Q?xcjfhZopycbIopHeA6+UyiCc3qSmO3e6pb0n0JE/HLa0AYR3RMmiosXtOn3i?= =?us-ascii?Q?nAHzcd28s622FoD2o/3wVMvQsHRUqb4zjjS6Zqhxaoq6ZbLZNbjZRC+A+qRu?= =?us-ascii?Q?EdkzwJEEQyZzyD00Zqa4aTZQ0KQy6ReOzseyJbVhoUgIiOoqbenNRVm41je2?= =?us-ascii?Q?hItS35mIrRXloEUmIAgHxSSe5D55Z7OTXJbuqWkdiAgzj9uzl1EaLJ0Aienq?= =?us-ascii?Q?ZQHS8nBlTc3jhY08wvSi5KH7mJ3DXhoyXUx8hhqli5suTD/b101VfF+ByVZA?= =?us-ascii?Q?uPK/E3hyjmaNrdzpUcEF6jWAJwzL9aJ5P6LgAkBxGm1ae8OqtQOVbi0Fx05Z?= =?us-ascii?Q?8s2yEpM7YmCX+jImOzeAdwpy82pe/vSkS0wYmKyO0h5XVdhBtoXiL1N6QRIT?= =?us-ascii?Q?BRyn8C+cdkM99Ow2f+YuCJpVE5xgzvoUs6+jSa5WpM6Grfzf/bTMvY0JfGWt?= =?us-ascii?Q?SXOVeF4Mi+t03aIMOzEVjXopMPiwzCINMVweCQOl/S8DcWsnuQtKqL56ZNGN?= =?us-ascii?Q?mKgHSjrDxbRiPccYcreMC2ZFDbMa5KqZzgJGgpc8qPbMhMn2UiFYIbYJVQi5?= =?us-ascii?Q?RBp0eJe7yAjxfqnx26bxbEZw9EE7hu9HMFK5vc6EyfAzqmjcRxo9U0l9vaQR?= =?us-ascii?Q?QrP2IkSgWNDyoatPTK9C1v10lCZGZuQSKlWQaxjBLwmknlbLONPyTlw8M9gM?= =?us-ascii?Q?eectXUCk6bS7QWVCz2xbo+v0dzJ3J690MlI2K2TLnh+2ESQaCWYfr0xICEYJ?= =?us-ascii?Q?mAhJzpcPTPhwhSYOvAzuIABeIPwwtQ2LTr4+KsktffVe2dAtdLujCeWq1RTK?= =?us-ascii?Q?rBpe2D1JsMog9XiuflHvJ/X5i/fNyqoQuUuIcW3xEhMtkExr1+ua0bI3hlVJ?= =?us-ascii?Q?ZUc+VRgy1NPh32fr1+p/csQR2wvMy6FyrQ209csKZmo=3D?= MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6025 Original-Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; Return-Path: Samer.El-Haj-Mahmoud@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 45f4d4db-83e8-4691-affa-08d8b9980f83 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: K/+EMi/GrQLTCkysG0Rckbl0qiXPtFNrQ+oskwfxubIhfV4f6c0llE7DigQEVfyJ680B2ZALWZRDBXBKkfelyki+O5g1bH9wjg+aezQ/utp3ZqzGcY0MeOn+P9xZrOjT8bPAWgk6h0rOag379rVVIXGyrxosvzIMv9SONdq6YO9s1ZpKdB5keJZx/wpuF7GzFGZ71XX+xYky5bRv82F5a4eOasgmQY5jVfkMnniwuggLydWwmIkyoMSLPXpBbN//nBg2cLZYfBeHQ16FruwL0QGCwJC5NvjA6TqpozwilcgRT5G3+Dc284VW2GUShmurF0hB80zKARYJq/UUSqDQdK2dMj9V/+PcMQQLMdsfuafz3eZCy3y/r9SmcJPzoEq/AE9F/daVU78INZea9pXFlz3TUOR1VjFJ+/dK32Mrh0XQhfxP7zXIrnrvADQiIlfP3OHjqtYY0SPnLFFD7qwu+suG3WW+MXrLvkmwJ1KHgSz5Z5H4B0hWrLwqO8TzDCZPcvjnifu2ytJv4o6mesV83q1t/L3XLUPeeulCevmC34Q4DIp1rRawrJ+lXmI3/IAMyo1v5pq/Tw1MR+Avvd5/AwLgso1yIeWnbUCDXXELXE8= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(39860400002)(396003)(376002)(136003)(346002)(46966006)(8936002)(186003)(5660300002)(2906002)(966005)(82740400003)(47076005)(336012)(83380400001)(86362001)(26005)(70206006)(316002)(52536014)(478600001)(33656002)(55016002)(107886003)(53546011)(8676002)(110136005)(34020700004)(82310400003)(356005)(54906003)(4326008)(6506007)(70586007)(7696005)(9686003)(81166007)(115813001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jan 2021 20:56:50.0177 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9d6a6d8e-b72b-4b2e-d8e0-08d8b998145d X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6478 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Samer El-Haj-Mahmoud > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Rebecca > Cran via groups.io > Sent: Thursday, January 14, 2021 11:36 AM > To: devel@edk2.groups.io > Cc: Rebecca Cran ; Leif Lindholm > ; Ard Biesheuvel ; nd > ; Sami Mujawar ; Liming Gao > ; Michael D Kinney > ; Zhiguang Liu > Subject: [edk2-devel] [PATCH v6 12/22] ArmPkg: Add Library/OemMiscLib.h >=20 > OemMiscLib.h provides the interface which platforms should implement to > interact with the SmbiosMiscDxe and ProcessorSubClassDxe drivers to upda= te > SMBIOS tables. >=20 > Signed-off-by: Rebecca Cran > --- > ArmPkg/Include/Library/OemMiscLib.h | 166 ++++++++++++++++++++ > 1 file changed, 166 insertions(+) >=20 > diff --git a/ArmPkg/Include/Library/OemMiscLib.h > b/ArmPkg/Include/Library/OemMiscLib.h > new file mode 100644 > index 000000000000..a14eb36a60e3 > --- /dev/null > +++ b/ArmPkg/Include/Library/OemMiscLib.h > @@ -0,0 +1,166 @@ > +/** @file > +* > +* Copyright (c) 2021, NUVIA Inc. All rights reserved. > +* Copyright (c) 2015, Hisilicon Limited. All rights reserved. > +* Copyright (c) 2015, Linaro Limited. All rights reserved. > +* > +* SPDX-License-Identifier: BSD-2-Clause-Patent > +* > +**/ > + > + > +#ifndef OEM_MISC_LIB_H_ > +#define OEM_MISC_LIB_H_ > + > +#include > +#include > + > +typedef enum > +{ > + CpuCacheL1 =3D 0, > + CpuCacheL2, > + CpuCacheL3, > + CpuCacheL4, > + CpuCacheL5, > + CpuCacheL6, > + CpuCacheL7, > + CpuCacheLevelMax > +} OEM_MISC_CPU_CACHE_LEVEL; > + > +typedef struct > +{ > + UINT8 Voltage; ///< Processor voltage > + UINT16 CurrentSpeed; ///< Current clock speed in MHz > + UINT16 MaxSpeed; ///< Maximum clock speed in MHz > + UINT16 ExternalClock; ///< External clock speed in MHz > + UINT16 CoreCount; ///< Number of cores available > + UINT16 CoresEnabled; ///< Number of cores enabled > + UINT16 ThreadCount; ///< Number of threads per processor > +} OEM_MISC_PROCESSOR_DATA; > + > +typedef enum > +{ > + ProductNameType01, > + SerialNumType01, > + UuidType01, > + SystemManufacturerType01, > + SkuNumberType01, > + FamilyType01, > + AssertTagType02, > + SerialNumberType02, > + BoardManufacturerType02, > + SkuNumberType02, > + ChassisLocationType02, > + AssetTagType03, > + SerialNumberType03, > + VersionType03, > + ChassisTypeType03, > + ManufacturerType03, > + SkuNumberType03, > + SmbiosHiiStringFieldMax > +} OEM_MISC_SMBIOS_HII_STRING_FIELD; > + > +/* > + * The following are functions that the each platform needs to > + * implement in its OemMiscLib library. > + */ > + > +/** Gets the CPU frequency of the specified processor. > + > + @param ProcessorIndex Index of the processor to get the frequency for= . > + > + @return CPU frequency in Hz > +**/ > +EFIAPI > +UINTN > +OemGetCpuFreq ( > + IN UINT8 ProcessorIndex > + ); > + > +/** Gets information about the specified processor and stores it in > + the structures provided. > + > + @param ProcessorIndex Index of the processor to get the information = for. > + @param ProcessorStatus Processor status. > + @param ProcessorCharacteristics Processor characteritics. > + @param MiscProcessorData Miscellaneous processor information. > + > + @return TRUE on success, FALSE on failure. > +**/ > +EFIAPI > +BOOLEAN > +OemGetProcessorInformation ( > + IN UINTN ProcessorIndex, > + IN OUT PROCESSOR_STATUS_DATA *ProcessorStatus, > + IN OUT PROCESSOR_CHARACTERISTIC_FLAGS *ProcessorCharacteristics, > + IN OUT OEM_MISC_PROCESSOR_DATA *MiscProcessorData > + ); > + > +/** Gets information about the cache at the specified cache level. > + > + @param ProcessorIndex The processor to get information for. > + @param CacheLevel The cache level to get information for. > + @param InstructionOrUnifiedCache Whether the cache is instruction or > + unified, not data. > + @param SmbiosCacheTable The SMBIOS Type7 cache information structure. > + > + @return TRUE on success, FALSE on failure. > +**/ > +EFIAPI > +BOOLEAN > +OemGetCacheInformation ( > + IN UINT8 ProcessorIndex, > + IN UINT8 CacheLevel, > + IN BOOLEAN InstructionOrUnifiedCache, > + IN OUT SMBIOS_TABLE_TYPE7 *SmbiosCacheTable > + ); > + > +/** Gets the maximum number of sockets supported by the platform. > + > + @return The maximum number of sockets. > +**/ > +EFIAPI > +UINT8 > +OemGetProcessorMaxSockets ( > + VOID > + ); > + > +/** Gets the type of chassis for the system. > + > + @param ChassisType The type of the chassis. > + > + @retval EFI_SUCCESS The chassis type was fetched successfully. > +**/ > +EFIAPI > +EFI_STATUS > +OemGetChassisType ( > + OUT UINT8 *ChassisType > + ); > + > +/** Returns whether the specified processor is present or not. > + > + @param ProcessIndex The processor index to check. > + > + @return TRUE is the processor is present, FALSE otherwise. > +**/ > +EFIAPI > +BOOLEAN > +OemIsSocketPresent ( > + IN UINTN ProcessorIndex > + ); > + > +/** Updates the HII string for the specified field. > + > + @param mHiiHandle The HII handle. > + @param TokenToUpdate The string to update. > + @param Offset The field to get information about. > +**/ > +EFIAPI > +VOID > +OemUpdateSmbiosInfo ( > + IN EFI_HII_HANDLE HiiHandle, > + IN EFI_STRING_ID TokenToUpdate, > + IN OEM_MISC_SMBIOS_HII_STRING_FIELD Offset > + ); > + > +#endif // OEM_MISC_LIB_H_ > -- > 2.26.2 >=20 >=20 >=20 >=20 >=20