From nobody Fri May 3 11:37:40 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+76767+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+76767+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1624030658; cv=none; d=zohomail.com; s=zohoarc; b=gvWtxcsiqqoO6KAKqxiyliVGjHkvvkzjwmoL5JlC9Z+5kjoVFxu3+iwEnojl4JA8Csn5go/UC0lUP53JFcEflR+/UbTbkhGG5Hvf/fQblB2x9xncxDEkMH3toqyykQB1wgS0BvY4c0FhbOXFl542CL4SB5BXB7Ica5pG3a+ILfw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1624030658; 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=A4GFEId/NJ2SsIlURCIfK7i2gikbxwo+80If6TZSUsY=; b=EjNP+BKHm/nABBFkXBEVO1tFdajn4VG30M5yU9cSedcnQ4y9IVWVor6ZIq5UZBxgrmxKlew+anTuVN0QS1nbJogmD/ELicdY2CddaKY5a/1Am/rg65Gos/m5QhAmvjmkY01CFdwaXhgGx3B+feGr4VJtul8k6sROCKtoOvQXY9g= 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+76767+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1624030658672850.5979543882636; Fri, 18 Jun 2021 08:37:38 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id B7LFYY1788612x55g8LwB1OS; Fri, 18 Jun 2021 08:37:38 -0700 X-Received: from atlmailgw2.ami.com (atlmailgw2.ami.com [63.147.10.42]) by mx.groups.io with SMTP id smtpd.web11.9543.1624030657503054391 for ; Fri, 18 Jun 2021 08:37:37 -0700 X-AuditID: ac10606f-8edff70000006d35-16-60ccbdbf2da4 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 CC.B9.27957.0CDBCC06; Fri, 18 Jun 2021 11:37:36 -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; Fri, 18 Jun 2021 11:37:34 -0400 From: "manickavasakam karpagavinayagam" To: CC: , , , , , , , Subject: [edk2-devel] [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors Date: Fri, 18 Jun 2021 11:37:34 -0400 Message-ID: <20210618153734.11983-1-manickavasakamk@ami.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOIsWRmVeSWpSXmKPExsWyRiBhgu6BvWcSDC62ilm0T5jNZrHo5mQm i/4Vx1gtjv/6wOzA4jHzf7TH9u8XGD0W73nJFMAc1cBok5iXl1+SWJKqkJJanGyrFFCUWZaY XKmkkJliq2SopFCQk5icmpuaV2KrlFhQkJqXomTHpYABbIDKMvMUUvOS81My89JtlTyD/XUt LEwtdQ2V7EIyUhUy89Lyi3ITSzLz8xSS8/NKgKpTU4CiCgndnBnfXj1jLTgsVjHrwiKmBsaz wl2MHBwSAiYS/x/kdDFycQgJ7GKSaPn8mhHC2cYoMev3XfYuRk4ONgF7ie1TZ4PZIgJSElMO zGQCKWIWOMUo8aJnCxtIQlggSWJibyuYzSKgKjFlyUs2kA28AjYSa87pg4QlBDQlrs68BlbC KyAocXLmExYQm1lAW2LZwtfMELaExMEXL5hBWoUEVCSeHHOYwMg3C0nHLCQds5B0LGBkXsUo lFiSk5uYmZNebqSXmJupl5yfu4kREmv5Oxg/fjQ/xMjEwXiIUYKDWUmElzPzTIIQb0piZVVq UX58UWlOavEhRieg8ycyS3GDwg8YIfHGBgZSojCOoYmZibmRuaGlibmxsZI47yr3o/FCAunA iM1OTS1ILYIZwsTBKdXAOO9B3zkjld83Of+s6DIXuLx2AZOoeew6tviXGgHnss0OHb+aYSr4 7PKn0zJT2WapMcpynqhTnPDu9bS+5za/ol9wXBW9bW8xl3HzGtZ/JysrdR91VXEzL70kLrb3 xcNp5QckDnzcZhb6gVXR2u/LykW2TA9dRdLPTYtdPPv9rpOez6KvhnkVWiixFGckGmoxFxUn AgB92EyJygIAAA== 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: 2fMMcivCS2ho0OZnso5IXg00x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1624030658; bh=TF+/elkBLIMDoc/1cK4R8ZBn7S1NLjrnUIHbuS0p8Lk=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=ZiHZpU0mRdAEnVz1FXcflcYAnzOAjkNlfz0s4bUwSMceu729pIjzXzKzNlIGa+dR1eK ZiWXZ3w7uGsCm6UhSdaQOYkW6xTMaKuKg6V9CAgT6QfK4IYocodaZ4pXe54k8DUbKeykh ykGHpQVvIEAV3gILaK8FzZC6+9sVv88FahE= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" 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 V3: Add Signed-off-by information Signed-off-by: Manickavasakam Karpagavinayagam Reviewed-by: Liming Gao > Reviewed-by: Liming Gao --- .../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 (#76767): https://edk2.groups.io/g/devel/message/76767 Mute This Topic: https://groups.io/mt/83631117/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-