From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.51]) by mx.groups.io with SMTP id smtpd.web08.572.1610744250412913494 for ; Fri, 15 Jan 2021 12:57:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=AP98v1ne; spf=pass (domain: arm.com, ip: 40.107.6.51, 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=bGay1ZeS12utqqcSthMWQ470E+HuVrKk9QK3+Ljf2w4=; b=AP98v1neC3UE3yJWa4DMaFA9y2OibofYs/mAljia/Zy+LegYjliaVvuEycWXRi2WeRQ32Y8d55DtIn+EnSzm1/bB1V/Bq3FNF/vKCUScfk2/F8mEQTHPDNqQcARQFo2WMgQBKwRiM/vS9TndNFyVt5PkNc2T8GQ3uRfvFHRXY9k= Received: from AM0PR02CA0088.eurprd02.prod.outlook.com (2603:10a6:208:154::29) by DBBPR08MB4249.eurprd08.prod.outlook.com (2603:10a6:10:c6::23) 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:57:27 +0000 Received: from AM5EUR03FT044.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:154:cafe::c9) by AM0PR02CA0088.outlook.office365.com (2603:10a6:208:154::29) 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:57:27 +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 AM5EUR03FT044.mail.protection.outlook.com (10.152.17.56) 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:57:26 +0000 Received: ("Tessian outbound e989e14f9207:v71"); Fri, 15 Jan 2021 20:57:25 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d6a1b07d14d2fd72 X-CR-MTA-TID: 64aa7808 Received: from d1326e94ccef.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A493FE0F-9558-40FC-A824-5562C1C809C0.1; Fri, 15 Jan 2021 20:57:20 +0000 Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d1326e94ccef.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 15 Jan 2021 20:57:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oBa3sRF7gcz5wXcBY6YaAelLDn44AWMeuzBSalJJ8i0CC6DF6AiIvxNhy+A7ocdkmcC4GC6xsAgoH372G5h+y83JORcLQ3t9UqEQ2+6qt6cTMRx1U2IaFYTXXEHvZUZgsuAFQu781QJYv7UE+RXRYXC/moVl+qBvlUHw2YcYSn70dZPN+qd97eSex8PqJwkgpgPQTo3CULqeXCz97B37OPpcHHmaB1GvkG6cDizbnTYjZhuMrcCh20LaaBWn6JmXaEJaKaMOgHNV/xzqtdpmTlY/qZynM1dfS88mKXVrkUzGfwBMC6FIfahoINCnwFsvEhDWXEgFXwN3TDNnN8k9qQ== 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=bGay1ZeS12utqqcSthMWQ470E+HuVrKk9QK3+Ljf2w4=; b=TtbzAH8NssYHTXH+IEeHIC8m2BelRmiZJxM/NhTGG0wbS49g/IOdjasqpt9a5dhkn+bv3ZNFX8MTVyEK7FVmkVpZJFpUR5dgCO9wJM788GIBGhv22A+kCZIUqVSMiQK5krVAakordbIvAD2PMJ/w3rC1ODM9QJapQK1aiPl6oS9jPVhKQqTEDvV4zkkIoTXwgcjwRJjgiAoSZnCX1kLLBBy2308L5xqOwmxtEmFjKl1jXBL+pPEB6xJfNMnmx3X++AVxa6ae7Bl0Dx1PxFtmHwV2E/4L4yIBwvnUaz4Y3N9ySQ6sMsFn63gwXpiZufZ2k1ZpErhDn0D2z29mDzSC9A== 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=bGay1ZeS12utqqcSthMWQ470E+HuVrKk9QK3+Ljf2w4=; b=AP98v1neC3UE3yJWa4DMaFA9y2OibofYs/mAljia/Zy+LegYjliaVvuEycWXRi2WeRQ32Y8d55DtIn+EnSzm1/bB1V/Bq3FNF/vKCUScfk2/F8mEQTHPDNqQcARQFo2WMgQBKwRiM/vS9TndNFyVt5PkNc2T8GQ3uRfvFHRXY9k= 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:57:18 +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:57:18 +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 13/22] ArmPkg: Add Universal/Smbios/OemMiscLibNull Thread-Topic: [edk2-devel] [PATCH v6 13/22] ArmPkg: Add Universal/Smbios/OemMiscLibNull Thread-Index: AQHW6pSihy8HQWb5tkWlc1jNtPtWi6opLNig Date: Fri, 15 Jan 2021 20:57:18 +0000 Message-ID: References: <20210114163628.31952-1-rebecca@nuviainc.com> <20210114163628.31952-14-rebecca@nuviainc.com> In-Reply-To: <20210114163628.31952-14-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: f5fac25d-fec1-4253-e748-08d8b9982a22 x-ms-traffictypediagnostic: DBBPR08MB6025:|DBBPR08MB4249: 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: E3ZGietySHr0lLsWOCYtezG+Wax2LeyX38uHhaPGLmQDWQfrHI5zxNyyCKM9W4ZiMcNQBarQTI4i0A4h08DYcIf8cLJqg7Wwbm4En2PJZ5r+1xZ7he/QkKJUg+NcXkRtCnEg9SkwkPSSG0Hwmhrb/cu9wcy8JiYqe8d9K0BDSfpe6T+ucYuNoFYokeBaNLRR7FzeYpL3y68uYlnMp2WbLCUZpMTQRGPp7Q/rF0KjizI0UwphNgYmk1emnP+dYSuEm0hYa6qzSvDlArNax1DmC7lKZb4qx7znkNE2KcuIsv0YJc8gOUXS4vEpDPPJJID8u5Xc08D282FR/rZQVOVn1MgGIQEgLoOt+s3nH61EiWAXMD2hGWnFySVsNOx09kAd/SVGUoHR0mCQCSGzMxSp/FwNzY8f0XP+sL+dc9FTUzSYmjrZIkfLmJH7lWyBssSJBzaRqREsl+QgOT1E0p9Sgg== 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);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?Vb8ueBjAt20biCfkSzKHyE8oPmmuKhxZD3s83tzx7PtiIPRl6bX/QiRDFH4n?= =?us-ascii?Q?izUpvej2fIlOLVAX0oYBi0gJK4Lc/lMhmgMTsIrNQxb6mRVCwXEsNo80Q7Wg?= =?us-ascii?Q?Fp2GfEKxPuDx6DBJhSZVuO/9svR3rDByYXcaFFQ7SLzm1p/pno2Nc3TqauTG?= =?us-ascii?Q?jz8sRA+NTu3+AXtZbOAH8tLurGLrfU3tfFDd2pCd2yBNrUdA3rmYU70raF9L?= =?us-ascii?Q?gmZ2jfZB2868cd9bwzq9HoISRaUgS32C+mbDC1z9i2OChiXT3P9Dr1PKLq3s?= =?us-ascii?Q?nf9C6nu679zlb2T1yLCy8E8Br6Yll+csR0CqGIWqW+g/vNoY+vjx/+iTTpXz?= =?us-ascii?Q?AZtWcT4GB81uGZaq6dOt/0iffzAB6dDMdUCj1Ny3xcQ9cgXHgNXGWrhuEUJm?= =?us-ascii?Q?fZ5QnOjnNoolAgRGg2PoFg6ddIagZ0Ie8ZMfMmwLqBzQzApRcdcBP6KfHUT0?= =?us-ascii?Q?GB+mducOymNLdOkpTwb6VD1fjo18VIReXcEVOuDR5L0KxG8KY2CXWM93cdp2?= =?us-ascii?Q?WTa1KF4Vw0tHX0HC9nq5cQQHIxxvwQQtIgFCuT9d5fKDHtkRx/uyjEYA1HUU?= =?us-ascii?Q?wLmqS/uPe5bUl/nGF+EGak/XV/6CcSRWh4prztlaAJvrSn0h8rfSvtF5+ysf?= =?us-ascii?Q?aoLw9N7RUYXRjM18SoEDG6fWKu8VFxNYZaf0+SM1DTQiXM2WP7zHQPdTN8S1?= =?us-ascii?Q?RLEj7oZ2k68x9jJG95Q9jxmU3Jzx+7NUVY08TJTPnQc/C66Nk5W1HDFgJ/hz?= =?us-ascii?Q?kHm8h5TqOJkf1sap5SOUMKT9f+/ymRfZj9Io0R2Qc9nYwOZZFA9zYgcL7rtq?= =?us-ascii?Q?x6GzNGNEoIe0lA4cctVSPj3w2j/f94LYuWXxj83kQYO3Fy9iK3LP0+VxJvnA?= =?us-ascii?Q?ryFjdwpWOHIza8ZSGTzsDEFYldIZM0XAS2npRRg3hQNWAzGSb2+XTn2Ftdz6?= =?us-ascii?Q?N6z1OXBoDy8v9ESa475dkSCbZxlBrl6V/cvYiIZSvoo=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: AM5EUR03FT044.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: f51d4f37-c46e-4200-03bf-08d8b9982564 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uQ/KPsqiL6W4ZCL1PXBX2LXAeHk80omUJGrLbXqGrUO4FkWmluw9UBIBY1I9EzUUYWmAtYpXBptiJby0zLzkKy1UCIOdkgJiZnEhdCc986dOdGz1Z/Pv1cygzs9JqYt3wDBENc6znI3DnB59AL2zZpSHnU1GBgXw37p1m9t5JglENgxNYvqG8nsHdxvSTeLkX8qP+r9DKsU3gwAwuUANGKQDv4NDs0qRgrpqtcOaouJLmC70K4zKhQdhxmz/KpoDUVWl3vMHbd8gpOrU+at1tjXCP7w74gjiBPi0/E2KJG42VCYKreaoaKrF3zthhPTNKf6z4fxTzmdiNNCnVCgtB17sMdZHaqte6EwB98eQ8ki6hqgpzFaJE/GRFsQJphuZUwYTuA368Buy/lpFqf0Ta8vtgKM2RoLMPuoG6Ht98ujeJ3cLJEoIrr7Xh4TUK0MSbOoGcFslzkG/2zbybg3i9SGMZWqFcqtOpX3DwuvwUwnLEV1075x4fKy922JYeSyNZRrkwYGcGF5VVt3ZF6HmGeDTkfPD5otWs6aRGHTZvw+xfPaSzHZAx03FRMJIoniS 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)(346002)(376002)(136003)(46966006)(52536014)(47076005)(83380400001)(70206006)(966005)(53546011)(7696005)(8936002)(6506007)(70586007)(107886003)(33656002)(54906003)(81166007)(8676002)(356005)(336012)(5660300002)(26005)(55016002)(478600001)(82740400003)(316002)(82310400003)(186003)(86362001)(4326008)(34020700004)(2906002)(9686003)(110136005);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jan 2021 20:57:26.5249 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f5fac25d-fec1-4253-e748-08d8b9982a22 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: AM5EUR03FT044.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4249 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 13/22] ArmPkg: Add > Universal/Smbios/OemMiscLibNull >=20 > Add a Null implementation of OemMiscLib. >=20 > OemMiscLib provides functions that platforms implement to fill in SMBIOS > information for the SmbiosMiscDxe and ProcessSubClassDxe drivers. >=20 > Signed-off-by: Rebecca Cran > --- > ArmPkg/ArmPkg.dsc | 2 + > ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf | 31 +++++ > ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c | 143 > ++++++++++++++++++++ > 3 files changed, 176 insertions(+) >=20 > diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc index > 48059cf38ed3..0f77a6da4483 100644 > --- a/ArmPkg/ArmPkg.dsc > +++ b/ArmPkg/ArmPkg.dsc > @@ -84,6 +84,8 @@ [LibraryClasses.common] >=20 > ArmMtlLib|ArmPkg/Library/ArmMtlNullLib/ArmMtlNullLib.inf >=20 > + OemMiscLib|ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf > + > [LibraryClasses.common.PEIM] > HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf > PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf > diff --git a/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf > b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf > new file mode 100644 > index 000000000000..b21eeade64b5 > --- /dev/null > +++ b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf > @@ -0,0 +1,31 @@ > +#/** @file > +# OemMiscLib.inf > +# > +# Copyright (c) 2021, NUVIA Inc. All rights reserved. > +# Copyright (c) 2018, Hisilicon Limited. All rights reserved. > +# Copyright (c) 2018, Linaro Limited. All rights reserved. > +# > +# SPDX-License-Identifier: BSD-2-Clause-Patent > +# > +#**/ > + > +[Defines] > + INF_VERSION =3D 1.29 > + BASE_NAME =3D OemMiscLibNull > + FILE_GUID =3D e80b8e6b-fffb-4c39-b433-41de67c9d7= b8 > + MODULE_TYPE =3D BASE > + VERSION_STRING =3D 1.0 > + LIBRARY_CLASS =3D OemMiscLib > + > +[Sources.common] > + OemMiscLib.c > + > +[Packages] > + ArmPkg/ArmPkg.dec > + EmbeddedPkg/EmbeddedPkg.dec > + MdeModulePkg/MdeModulePkg.dec > + MdePkg/MdePkg.dec > + > +[LibraryClasses] > + BaseMemoryLib > + > diff --git a/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c > b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c > new file mode 100644 > index 000000000000..8233904647e5 > --- /dev/null > +++ b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c > @@ -0,0 +1,143 @@ > +/** @file > +* OemMiscLib.c > +* > +* Copyright (c) 2021, NUVIA Inc. All rights reserved. > +* Copyright (c) 2018, Hisilicon Limited. All rights reserved. > +* Copyright (c) 2018, Linaro Limited. All rights reserved. > +* > +* SPDX-License-Identifier: BSD-2-Clause-Patent > +* > +**/ > + > +#include > +#include > +#include > + > +#include > + > + > +/** 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 > + ) > +{ > + ASSERT (FALSE); > + return 0; > +} > + > +/** 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 > + ) > +{ > + ASSERT (FALSE); > + return TRUE; > +} > + > +/** 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 > + ) > +{ > + ASSERT (FALSE); > + return TRUE; > +} > + > +/** Gets the maximum number of sockets supported by the platform. > + > + @return The maximum number of sockets. > +**/ > +EFIAPI > +UINT8 > +OemGetProcessorMaxSockets ( > + VOID > + ) > +{ > + ASSERT (FALSE); > + return 1; > +} > + > +/** Gets the type of chassis for the system. > + > + @param ChassisType The type of the chassis. > + > + @retval EFI_SUCCESS The chassis type was fetched successfully. > +**/ > +EFI_STATUS > +EFIAPI > +OemGetChassisType ( > + UINT8 *ChassisType > + ) > +{ > + ASSERT (FALSE); > + *ChassisType =3D MiscChassisTypeUnknown; > + return EFI_SUCCESS; > +} > + > +/** 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 > + ) > +{ > + ASSERT (FALSE); > + return FALSE; > +} > + > +/** 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 mHiiHandle, > + IN EFI_STRING_ID TokenToUpdate, > + IN OEM_MISC_SMBIOS_HII_STRING_FIELD Offset > + ) > +{ > + ASSERT (FALSE); > +} > -- > 2.26.2 >=20 >=20 >=20 >=20 >=20