From nobody Sun May 5 19:48:59 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+76681+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+76681+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1623951634; cv=none; d=zohomail.com; s=zohoarc; b=H7rZhXZaJynDXzloZJw41nwZRG++vGmeZuNXDGoycQUgVFbJAIYdPdUoURMOVqOL9/Ux/LhzpBY6pMSdxOA/fL0OG4+iCgg6CEzGLOibYxBa5GZrY5rhVMCFfyTNDoQzF6vS4Zqv+HLbsmn9SrUDGZpZzvNC1L9Ff13MFUVKTcA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1623951634; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=VlIG5hGf4cOFSstlevVUYsgYxGaQdidfaDeePaiy4RE=; b=ByGLahbr3sQGsjDCZEvUFvJEcH86A+EG/HfDO7godSQnd712+cT+AJGgsBYtHUij4GB9Aoa5qhZTqFkIxs9p3gWuEQvptVOSu9DWXg58S3QBmtos+AQR51YlJCzosrS0uLCEFnUXlu3vQ+jGgNXVl7uOhxD63okX70xoOtsC77E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+76681+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1623951634525492.4466976215763; Thu, 17 Jun 2021 10:40:34 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id k0HjYY1788612xJcdGTe8Ksa; Thu, 17 Jun 2021 10:40:34 -0700 X-Received: from atlmailgw2.ami.com (atlmailgw2.ami.com [63.147.10.42]) by mx.groups.io with SMTP id smtpd.web08.3139.1623951632771034903 for ; Thu, 17 Jun 2021 10:40:33 -0700 X-AuditID: ac10606f-8edff70000006d35-04-60cb890e5f6f X-Received: from atlms1.us.megatrends.com (atlms1.us.megatrends.com [172.16.96.144]) (using TLS with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by atlmailgw2.ami.com (Symantec Messaging Gateway) with SMTP id 0A.89.27957.E098BC06; Thu, 17 Jun 2021 13:40:30 -0400 (EDT) X-Received: from MANIC-WIN10.us.megatrends.com (172.16.98.169) by atlms1.us.megatrends.com (172.16.96.144) with Microsoft SMTP Server id 14.3.498.0; Thu, 17 Jun 2021 13:40:29 -0400 From: "manickavasakam karpagavinayagam" To: CC: , , , , , , , Subject: [edk2-devel] [edk2] [PATCH V2] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors Date: Thu, 17 Jun 2021 13:40:29 -0400 Message-ID: <20210617174029.11301-1-manickavasakamk@ami.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBIsWRmVeSWpSXmKPExsWyRiBhgi5f5+kEg3PtRhbtE2azWSy6OZnJ on/FMVaL478+MDuweMz8H+2x/fsFRo/Fe14yBTBHNTDaJObl5ZcklqQqpKQWJ9sqBRRlliUm VyopZKbYKhkqKRTkJCan5qbmldgqJRYUpOalKNlxKWAAG6CyzDyF1Lzk/JTMvHRbJc9gf10L C1NLXUMlu5CMVIXMvLT8otzEksz8PIXk/LwSoOrUFKCoQkI3Z0bP2fssBbPFKm48vsvSwLhc uIuRk0NCwETi/+Y9zF2MXBxCAruYJPp65zCBJIQEtjFKLFpXBGKzCdhLbJ86mx3EFhGQkphy YCYTSAOzwClGiRc9W9hAEsICyRK3NrezgNgsAqoSNxf0gsV5BWwk3nWuZIbYpilxdeY1qLig xMmZT8DqmQW0JZYtfM0MYUtIHHzxAsjmADpCReLJMYcJjHyzkHTMQtIxC0nHAkbmVYxCiSU5 uYmZOenlRnqJuZl6yfm5mxgh0Za/g/HjR/NDjEwcjIcYJTiYlUR4dYtPJAjxpiRWVqUW5ccX leakFh9idAK6fyKzFDcoAIExEm9sYCAlCuMYmpiZmBuZG1qamBsbK4nzrnI/Gi8kkA6M2ezU 1ILUIpghTBycUg2MuWKvX3P8XBBUu3l5tfGfGUuPHPnjqX2ZxYrr8L5InT8S0vkfblT8a5ZK lngbO23fn+lKic/lqz77b7L/Gix+2VCrWPT6f2ffg3McHz69dF9h8bTrcafyYmNMX537tVGx l5P94+k79t3XRfkUOv5x/O3QKtipqnSrI1w37dZbE5HZIpHhqlqTlViKMxINtZiLihMBcsJr LssCAAA= Precedence: Bulk List-Unsubscribe: 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,manickavasakamk@ami.com X-Gm-Message-State: 3Jjgb6GYkHx2QppGl1XqnoDtx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1623951634; bh=5NnQk8eYYn543c7GIFkFFHduCha3FO4fYBccwW97oCE=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=LUWKICNOgjHRMsXk+BYa+MbOuVU+dQYAVH1SgDIG9ELMgoZUXzmUp7D6gG0oSDBe7p7 12FSsxPecP3R82wor89zC0n6O0nv7QfggAs1zSsI2aD6KEFgxZ137I7byVECH7i9bnVku W9r43r9p+ii9edk+LJ9WngjKujPE3M8Rgdk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors Build error reported for missing structures IPMI_SET_BOOT_OPTIONS_RESPONSE,= EFI_IPMI_MSG_GET_BMC_EXEC_RSP and macros EFI_FIRMWARE_GET_BMC_EXECUTION_CONTEXT EFI_FIRMWARE_BMC_IN_FULL_RUNT= IME/EFI_FIRMWARE_BMC_IN_FORCED_UPDATE_MODE when using edk2-platforms\Features\Intel\OutOfBandManagement\IpmiFeaturePkg MdePkg : Rename IPMI Macro and Structure Defintions Rename the EFI_IPMI_MSG_GET_BMC_EXEC_RSPB, EFI_FIRMWARE_GET_BMC_EXECUTION_CONTEXT EFI_FIRMWARE_BMC_IN_FORCED_UPDATE_MODE to IPMI_MSG_GET_BMC_EXEC_RSPB,IPMI_GET_BMC_EXECUTION_CONTEXT IPMI_BMC_IN_FORCED_UPDATE_MODE Notes: V1 : Rename the EFI_IPMI_MSG_GET_BMC_EXEC_RSPB, EFI_FIRMWARE_GET_BMC_EXECUTION_CONTEXT EFI_FIRMWARE_BMC_IN_FORCED_UPDATE_MODE to IPMI_MSG_GET_BMC_EXEC_RSPB,IPMI_GET_BMC_EXECUTION_CONTEXT IPMI_BMC_IN_FORCED_UPDATE_MODE V2: Remove 0001-MdePkg-Add-IPMI-Macro-and-Structure-Defintions-to-re.patch --- .../IndustryStandard/IpmiNetFnChassis.h | 4 ++++ .../IndustryStandard/IpmiNetFnFirmware.h | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h b/MdePkg/In= clude/IndustryStandard/IpmiNetFnChassis.h index 79db55523d..d7cdd3a865 100644 --- a/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h +++ b/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h @@ -186,6 +186,10 @@ typedef struct { UINT8 ParameterData[0]; } IPMI_SET_BOOT_OPTIONS_REQUEST; =20 +typedef struct { + UINT8 CompletionCode:8; +} IPMI_SET_BOOT_OPTIONS_RESPONSE; + // // Definitions for Get System Boot options command // diff --git a/MdePkg/Include/IndustryStandard/IpmiNetFnFirmware.h b/MdePkg/I= nclude/IndustryStandard/IpmiNetFnFirmware.h index 2d892dbd5a..c4cbe2349b 100644 --- a/MdePkg/Include/IndustryStandard/IpmiNetFnFirmware.h +++ b/MdePkg/Include/IndustryStandard/IpmiNetFnFirmware.h @@ -17,4 +17,22 @@ // All Firmware commands and their structure definitions to follow here // =20 +// -----------------------------------------------------------------------= ----------------- +// Definitions for Get BMC Execution Context +// -----------------------------------------------------------------------= ----------------- +#define IPMI_GET_BMC_EXECUTION_CONTEXT 0x23 + +// +// Constants and Structure definitions for "Get Device ID" command to fol= low here +// +typedef struct { + UINT8 CurrentExecutionContext; + UINT8 PartitionPointer; +} IPMI_MSG_GET_BMC_EXEC_RSP; + +// +// Current Execution Context responses +// +#define IPMI_BMC_IN_FORCED_UPDATE_MODE 0x11 + #endif -- 2.25.0.windows.1 Please consider the environment before printing this email. The information contained in this message may be confidential and proprieta= ry to American Megatrends (AMI). This communication is intended to be read= only by the individual or entity to whom it is addressed or by their desig= nee. If the reader of this message is not the intended recipient, you are o= n notice that any distribution of this message, in any form, is strictly pr= ohibited. Please promptly notify the sender by reply e-mail or by telephon= e at 770-246-8600, and then delete or destroy all copies of the transmissio= n. -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#76681): https://edk2.groups.io/g/devel/message/76681 Mute This Topic: https://groups.io/mt/83609768/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-