* [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
@ 2021-06-18 15:37 manickavasakam karpagavinayagam
2021-06-21 1:49 ` 回复: " gaoliming
0 siblings, 1 reply; 7+ messages in thread
From: manickavasakam karpagavinayagam @ 2021-06-18 15:37 UTC (permalink / raw)
To: devel
Cc: isaac.w.oram, nathaniel.l.desimone, Felixp, Harikrishnad, manishj,
zacharyb, manickavasakamk, gaoliming
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_RUNTIME/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 <manickavasakamk@ami.com>
---
.../IndustryStandard/IpmiNetFnChassis.h | 4 ++++
.../IndustryStandard/IpmiNetFnFirmware.h | 18 ++++++++++++++++++
2 files changed, 22 insertions(+)
diff --git a/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h b/MdePkg/Include/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;
+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/Include/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
//
+// ----------------------------------------------------------------------------------------
+// Definitions for Get BMC Execution Context
+// ----------------------------------------------------------------------------------------
+#define IPMI_GET_BMC_EXECUTION_CONTEXT 0x23
+
+//
+// Constants and Structure definitions for "Get Device ID" command to follow 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 proprietary 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 designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.
^ permalink raw reply related [flat|nested] 7+ messages in thread
* 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
2021-06-18 15:37 [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors manickavasakam karpagavinayagam
@ 2021-06-21 1:49 ` gaoliming
2021-06-23 11:42 ` [edk2-devel] " lateefcs
0 siblings, 1 reply; 7+ messages in thread
From: gaoliming @ 2021-06-21 1:49 UTC (permalink / raw)
To: 'manickavasakam karpagavinayagam', devel
Cc: isaac.w.oram, nathaniel.l.desimone, Felixp, Harikrishnad, manishj,
zacharyb
Thanks for you update.
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Thanks
Liming
> -----邮件原件-----
> 发件人: manickavasakam karpagavinayagam <manickavasakamk@ami.com>
> 发送时间: 2021年6月18日 23:38
> 收件人: devel@edk2.groups.io
> 抄送: isaac.w.oram@intel.com; nathaniel.l.desimone@intel.com;
> Felixp@ami.com; Harikrishnad@ami.com; manishj@ami.com;
> zacharyb@ami.com; manickavasakamk@ami.com;
> gaoliming@byosoft.com.cn
> 主题: [edk2][PATCH V3] 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_RUNTIME/EFI_FIRMWARE_BMC_IN_FORCE
> D_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
> <manickavasakamk@ami.com>
> ---
> .../IndustryStandard/IpmiNetFnChassis.h | 4 ++++
> .../IndustryStandard/IpmiNetFnFirmware.h | 18
> ++++++++++++++++++
> 2 files changed, 22 insertions(+)
>
> diff --git a/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h
> b/MdePkg/Include/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;
>
>
>
> +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/Include/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
>
> //
>
>
>
> +//
----------------------------------------------------------------------------
------------
>
> +// Definitions for Get BMC Execution Context
>
> +//
----------------------------------------------------------------------------
------------
>
> +#define IPMI_GET_BMC_EXECUTION_CONTEXT 0x23
>
> +
>
> +//
>
> +// Constants and Structure definitions for "Get Device ID" command to
> follow 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
> proprietary 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
> designee. If the reader of this message is not the intended recipient, you
are
> on notice that any distribution of this message, in any form, is strictly
> prohibited. Please promptly notify the sender by reply e-mail or by
> telephone at 770-246-8600, and then delete or destroy all copies of the
> transmission.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
2021-06-21 1:49 ` 回复: " gaoliming
@ 2021-06-23 11:42 ` lateefcs
2021-06-24 0:54 ` 回复: " gaoliming
[not found] ` <168B5E8EE0C4DCE3.15098@groups.io>
0 siblings, 2 replies; 7+ messages in thread
From: lateefcs @ 2021-06-23 11:42 UTC (permalink / raw)
To: devel, gaoliming
Cc: manickavasakam karpagavinayagam, isaac.w.oram,
nathaniel.l.desimone, Felixp, Harikrishnad, manishj, zacharyb
[-- Attachment #1: Type: text/plain, Size: 4874 bytes --]
whats the use of bitfield:8 for UINT8 variable type?
+typedef struct {
*+ UINT8 CompletionCode:8;*
+} IPMI_SET_BOOT_OPTIONS_RESPONSE;
Thanks
AbduL
On Mon, Jun 21, 2021 at 7:19 AM gaoliming <gaoliming@byosoft.com.cn> wrote:
> Thanks for you update.
>
> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
>
> Thanks
> Liming
> > -----邮件原件-----
> > 发件人: manickavasakam karpagavinayagam <manickavasakamk@ami.com>
> > 发送时间: 2021年6月18日 23:38
> > 收件人: devel@edk2.groups.io
> > 抄送: isaac.w.oram@intel.com; nathaniel.l.desimone@intel.com;
> > Felixp@ami.com; Harikrishnad@ami.com; manishj@ami.com;
> > zacharyb@ami.com; manickavasakamk@ami.com;
> > gaoliming@byosoft.com.cn
> > 主题: [edk2][PATCH V3] 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_RUNTIME/EFI_FIRMWARE_BMC_IN_FORCE
> > D_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
> > <manickavasakamk@ami.com>
> > ---
> > .../IndustryStandard/IpmiNetFnChassis.h | 4 ++++
> > .../IndustryStandard/IpmiNetFnFirmware.h | 18
> > ++++++++++++++++++
> > 2 files changed, 22 insertions(+)
> >
> > diff --git a/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h
> > b/MdePkg/Include/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;
> >
> >
> >
> > +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/Include/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
> >
> > //
> >
> >
> >
> > +//
>
> ----------------------------------------------------------------------------
> ------------
> >
> > +// Definitions for Get BMC Execution Context
> >
> > +//
>
> ----------------------------------------------------------------------------
> ------------
> >
> > +#define IPMI_GET_BMC_EXECUTION_CONTEXT 0x23
> >
> > +
> >
> > +//
> >
> > +// Constants and Structure definitions for "Get Device ID" command to
> > follow 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
> > proprietary 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
> > designee. If the reader of this message is not the intended recipient,
> you
> are
> > on notice that any distribution of this message, in any form, is strictly
> > prohibited. Please promptly notify the sender by reply e-mail or by
> > telephone at 770-246-8600, and then delete or destroy all copies of the
> > transmission.
>
>
>
>
>
>
>
>
--
Thanks and Regards
Abdul Lateef Attar
Bangalore
[-- Attachment #2: Type: text/html, Size: 8040 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* 回复: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
2021-06-23 11:42 ` [edk2-devel] " lateefcs
@ 2021-06-24 0:54 ` gaoliming
[not found] ` <168B5E8EE0C4DCE3.15098@groups.io>
1 sibling, 0 replies; 7+ messages in thread
From: gaoliming @ 2021-06-24 0:54 UTC (permalink / raw)
To: devel, lateefcs
Cc: 'manickavasakam karpagavinayagam', isaac.w.oram,
nathaniel.l.desimone, Felixp, Harikrishnad, manishj, zacharyb
[-- Attachment #1: Type: text/plain, Size: 5658 bytes --]
AbduL:
This is same to the definition of UINT8 CompletionCode without bitfield.
Thanks
Liming
发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 AbduL Lateef
发送时间: 2021年6月23日 19:43
收件人: devel@edk2.groups.io; gaoliming@byosoft.com.cn
抄送: manickavasakam karpagavinayagam <manickavasakamk@ami.com>; isaac.w.oram@intel.com; nathaniel.l.desimone@intel.com; Felixp@ami.com; Harikrishnad@ami.com; manishj@ami.com; zacharyb@ami.com
主题: Re: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
whats the use of bitfield:8 for UINT8 variable type?
+typedef struct {
+ UINT8 CompletionCode:8;
+} IPMI_SET_BOOT_OPTIONS_RESPONSE;
Thanks
AbduL
On Mon, Jun 21, 2021 at 7:19 AM gaoliming <gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn> > wrote:
Thanks for you update.
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn> >
Thanks
Liming
> -----邮件原件-----
> 发件人: manickavasakam karpagavinayagam <manickavasakamk@ami.com <mailto:manickavasakamk@ami.com> >
> 发送时间: 2021年6月18日 23:38
> 收件人: devel@edk2.groups.io <mailto:devel@edk2.groups.io>
> 抄送: isaac.w.oram@intel.com <mailto:isaac.w.oram@intel.com> ; nathaniel.l.desimone@intel.com <mailto:nathaniel.l.desimone@intel.com> ;
> Felixp@ami.com <mailto:Felixp@ami.com> ; Harikrishnad@ami.com <mailto:Harikrishnad@ami.com> ; manishj@ami.com <mailto:manishj@ami.com> ;
> zacharyb@ami.com <mailto:zacharyb@ami.com> ; manickavasakamk@ami.com <mailto:manickavasakamk@ami.com> ;
> gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn>
> 主题: [edk2][PATCH V3] 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_RUNTIME/EFI_FIRMWARE_BMC_IN_FORCE
> D_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
> <manickavasakamk@ami.com <mailto:manickavasakamk@ami.com> >
> ---
> .../IndustryStandard/IpmiNetFnChassis.h | 4 ++++
> .../IndustryStandard/IpmiNetFnFirmware.h | 18
> ++++++++++++++++++
> 2 files changed, 22 insertions(+)
>
> diff --git a/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h
> b/MdePkg/Include/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;
>
>
>
> +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/Include/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
>
> //
>
>
>
> +//
----------------------------------------------------------------------------
------------
>
> +// Definitions for Get BMC Execution Context
>
> +//
----------------------------------------------------------------------------
------------
>
> +#define IPMI_GET_BMC_EXECUTION_CONTEXT 0x23
>
> +
>
> +//
>
> +// Constants and Structure definitions for "Get Device ID" command to
> follow 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
> proprietary 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
> designee. If the reader of this message is not the intended recipient, you
are
> on notice that any distribution of this message, in any form, is strictly
> prohibited. Please promptly notify the sender by reply e-mail or by
> telephone at 770-246-8600, and then delete or destroy all copies of the
> transmission.
--
Thanks and Regards
Abdul Lateef Attar
Bangalore
[-- Attachment #2: Type: text/html, Size: 12012 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <168B5E8EE0C4DCE3.15098@groups.io>]
* 回复: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
[not found] ` <168B5E8EE0C4DCE3.15098@groups.io>
@ 2021-06-30 1:22 ` gaoliming
[not found] ` <168D3794E1211FAC.32224@groups.io>
1 sibling, 0 replies; 7+ messages in thread
From: gaoliming @ 2021-06-30 1:22 UTC (permalink / raw)
To: devel, gaoliming, lateefcs
Cc: 'manickavasakam karpagavinayagam', isaac.w.oram,
nathaniel.l.desimone, Felixp, Harikrishnad, manishj, zacharyb
[-- Attachment #1: Type: text/plain, Size: 6585 bytes --]
If no other comment, I will create PR to merge this patch.
Thanks
Liming
发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 gaoliming
发送时间: 2021年6月24日 8:54
收件人: devel@edk2.groups.io; lateefcs@gmail.com
抄送: 'manickavasakam karpagavinayagam' <manickavasakamk@ami.com>; isaac.w.oram@intel.com; nathaniel.l.desimone@intel.com; Felixp@ami.com; Harikrishnad@ami.com; manishj@ami.com; zacharyb@ami.com
主题: 回复: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
AbduL:
This is same to the definition of UINT8 CompletionCode without bitfield.
Thanks
Liming
发件人: devel@edk2.groups.io <mailto:devel@edk2.groups.io> <devel@edk2.groups.io <mailto:devel@edk2.groups.io> > 代表 AbduL Lateef
发送时间: 2021年6月23日 19:43
收件人: devel@edk2.groups.io <mailto:devel@edk2.groups.io> ; gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn>
抄送: manickavasakam karpagavinayagam <manickavasakamk@ami.com <mailto:manickavasakamk@ami.com> >; isaac.w.oram@intel.com <mailto:isaac.w.oram@intel.com> ; nathaniel.l.desimone@intel.com <mailto:nathaniel.l.desimone@intel.com> ; Felixp@ami.com <mailto:Felixp@ami.com> ; Harikrishnad@ami.com <mailto:Harikrishnad@ami.com> ; manishj@ami.com <mailto:manishj@ami.com> ; zacharyb@ami.com <mailto:zacharyb@ami.com>
主题: Re: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
whats the use of bitfield:8 for UINT8 variable type?
+typedef struct {
+ UINT8 CompletionCode:8;
+} IPMI_SET_BOOT_OPTIONS_RESPONSE;
Thanks
AbduL
On Mon, Jun 21, 2021 at 7:19 AM gaoliming <gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn> > wrote:
Thanks for you update.
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn> >
Thanks
Liming
> -----邮件原件-----
> 发件人: manickavasakam karpagavinayagam <manickavasakamk@ami.com <mailto:manickavasakamk@ami.com> >
> 发送时间: 2021年6月18日 23:38
> 收件人: devel@edk2.groups.io <mailto:devel@edk2.groups.io>
> 抄送: isaac.w.oram@intel.com <mailto:isaac.w.oram@intel.com> ; nathaniel.l.desimone@intel.com <mailto:nathaniel.l.desimone@intel.com> ;
> Felixp@ami.com <mailto:Felixp@ami.com> ; Harikrishnad@ami.com <mailto:Harikrishnad@ami.com> ; manishj@ami.com <mailto:manishj@ami.com> ;
> zacharyb@ami.com <mailto:zacharyb@ami.com> ; manickavasakamk@ami.com <mailto:manickavasakamk@ami.com> ;
> gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn>
> 主题: [edk2][PATCH V3] 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_RUNTIME/EFI_FIRMWARE_BMC_IN_FORCE
> D_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
> <manickavasakamk@ami.com <mailto:manickavasakamk@ami.com> >
> ---
> .../IndustryStandard/IpmiNetFnChassis.h | 4 ++++
> .../IndustryStandard/IpmiNetFnFirmware.h | 18
> ++++++++++++++++++
> 2 files changed, 22 insertions(+)
>
> diff --git a/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h
> b/MdePkg/Include/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;
>
>
>
> +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/Include/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
>
> //
>
>
>
> +//
----------------------------------------------------------------------------
------------
>
> +// Definitions for Get BMC Execution Context
>
> +//
----------------------------------------------------------------------------
------------
>
> +#define IPMI_GET_BMC_EXECUTION_CONTEXT 0x23
>
> +
>
> +//
>
> +// Constants and Structure definitions for "Get Device ID" command to
> follow 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
> proprietary 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
> designee. If the reader of this message is not the intended recipient, you
are
> on notice that any distribution of this message, in any form, is strictly
> prohibited. Please promptly notify the sender by reply e-mail or by
> telephone at 770-246-8600, and then delete or destroy all copies of the
> transmission.
--
Thanks and Regards
Abdul Lateef Attar
Bangalore
[-- Attachment #2: Type: text/html, Size: 14487 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <168D3794E1211FAC.32224@groups.io>]
* 回复: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
[not found] ` <168D3794E1211FAC.32224@groups.io>
@ 2021-07-05 0:52 ` gaoliming
2021-07-06 17:41 ` [EXTERNAL] " manickavasakam karpagavinayagam
0 siblings, 1 reply; 7+ messages in thread
From: gaoliming @ 2021-07-05 0:52 UTC (permalink / raw)
To: devel, gaoliming, lateefcs
Cc: 'manickavasakam karpagavinayagam', isaac.w.oram,
nathaniel.l.desimone, Felixp, Harikrishnad, manishj, zacharyb
[-- Attachment #1: Type: text/plain, Size: 7569 bytes --]
This patch in MdePkg has been merged at 55dee4947b20103fc48858b18307bd2b114dc145 on edk2 master.
Thanks
Liming
发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 gaoliming
发送时间: 2021年6月30日 9:22
收件人: devel@edk2.groups.io; gaoliming@byosoft.com.cn; lateefcs@gmail.com
抄送: 'manickavasakam karpagavinayagam' <manickavasakamk@ami.com>; isaac.w.oram@intel.com; nathaniel.l.desimone@intel.com; Felixp@ami.com; Harikrishnad@ami.com; manishj@ami.com; zacharyb@ami.com
主题: 回复: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
If no other comment, I will create PR to merge this patch.
Thanks
Liming
发件人: devel@edk2.groups.io <mailto:devel@edk2.groups.io> <devel@edk2.groups.io <mailto:devel@edk2.groups.io> > 代表 gaoliming
发送时间: 2021年6月24日 8:54
收件人: devel@edk2.groups.io <mailto:devel@edk2.groups.io> ; lateefcs@gmail.com <mailto:lateefcs@gmail.com>
抄送: 'manickavasakam karpagavinayagam' <manickavasakamk@ami.com <mailto:manickavasakamk@ami.com> >; isaac.w.oram@intel.com <mailto:isaac.w.oram@intel.com> ; nathaniel.l.desimone@intel.com <mailto:nathaniel.l.desimone@intel.com> ; Felixp@ami.com <mailto:Felixp@ami.com> ; Harikrishnad@ami.com <mailto:Harikrishnad@ami.com> ; manishj@ami.com <mailto:manishj@ami.com> ; zacharyb@ami.com <mailto:zacharyb@ami.com>
主题: 回复: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
AbduL:
This is same to the definition of UINT8 CompletionCode without bitfield.
Thanks
Liming
发件人: devel@edk2.groups.io <mailto:devel@edk2.groups.io> <devel@edk2.groups.io <mailto:devel@edk2.groups.io> > 代表 AbduL Lateef
发送时间: 2021年6月23日 19:43
收件人: devel@edk2.groups.io <mailto:devel@edk2.groups.io> ; gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn>
抄送: manickavasakam karpagavinayagam <manickavasakamk@ami.com <mailto:manickavasakamk@ami.com> >; isaac.w.oram@intel.com <mailto:isaac.w.oram@intel.com> ; nathaniel.l.desimone@intel.com <mailto:nathaniel.l.desimone@intel.com> ; Felixp@ami.com <mailto:Felixp@ami.com> ; Harikrishnad@ami.com <mailto:Harikrishnad@ami.com> ; manishj@ami.com <mailto:manishj@ami.com> ; zacharyb@ami.com <mailto:zacharyb@ami.com>
主题: Re: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
whats the use of bitfield:8 for UINT8 variable type?
+typedef struct {
+ UINT8 CompletionCode:8;
+} IPMI_SET_BOOT_OPTIONS_RESPONSE;
Thanks
AbduL
On Mon, Jun 21, 2021 at 7:19 AM gaoliming <gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn> > wrote:
Thanks for you update.
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn> >
Thanks
Liming
> -----邮件原件-----
> 发件人: manickavasakam karpagavinayagam <manickavasakamk@ami.com <mailto:manickavasakamk@ami.com> >
> 发送时间: 2021年6月18日 23:38
> 收件人: devel@edk2.groups.io <mailto:devel@edk2.groups.io>
> 抄送: isaac.w.oram@intel.com <mailto:isaac.w.oram@intel.com> ; nathaniel.l.desimone@intel.com <mailto:nathaniel.l.desimone@intel.com> ;
> Felixp@ami.com <mailto:Felixp@ami.com> ; Harikrishnad@ami.com <mailto:Harikrishnad@ami.com> ; manishj@ami.com <mailto:manishj@ami.com> ;
> zacharyb@ami.com <mailto:zacharyb@ami.com> ; manickavasakamk@ami.com <mailto:manickavasakamk@ami.com> ;
> gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn>
> 主题: [edk2][PATCH V3] 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_RUNTIME/EFI_FIRMWARE_BMC_IN_FORCE
> D_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
> <manickavasakamk@ami.com <mailto:manickavasakamk@ami.com> >
> ---
> .../IndustryStandard/IpmiNetFnChassis.h | 4 ++++
> .../IndustryStandard/IpmiNetFnFirmware.h | 18
> ++++++++++++++++++
> 2 files changed, 22 insertions(+)
>
> diff --git a/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h
> b/MdePkg/Include/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;
>
>
>
> +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/Include/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
>
> //
>
>
>
> +//
----------------------------------------------------------------------------
------------
>
> +// Definitions for Get BMC Execution Context
>
> +//
----------------------------------------------------------------------------
------------
>
> +#define IPMI_GET_BMC_EXECUTION_CONTEXT 0x23
>
> +
>
> +//
>
> +// Constants and Structure definitions for "Get Device ID" command to
> follow 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
> proprietary 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
> designee. If the reader of this message is not the intended recipient, you
are
> on notice that any distribution of this message, in any form, is strictly
> prohibited. Please promptly notify the sender by reply e-mail or by
> telephone at 770-246-8600, and then delete or destroy all copies of the
> transmission.
--
Thanks and Regards
Abdul Lateef Attar
Bangalore
[-- Attachment #2: Type: text/html, Size: 17189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [EXTERNAL] 回复: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
2021-07-05 0:52 ` gaoliming
@ 2021-07-06 17:41 ` manickavasakam karpagavinayagam
0 siblings, 0 replies; 7+ messages in thread
From: manickavasakam karpagavinayagam @ 2021-07-06 17:41 UTC (permalink / raw)
To: gaoliming, devel@edk2.groups.io, lateefcs@gmail.com
Cc: isaac.w.oram@intel.com, nathaniel.l.desimone@intel.com,
Felix Polyudov, Harikrishna Doppalapudi, Manish Jha,
Zachary Bobroff
[-- Attachment #1: Type: text/plain, Size: 9036 bytes --]
Yeah I can see the change. Thank you Liming for all your help.
-Manic
From: gaoliming <gaoliming@byosoft.com.cn>
Sent: Sunday, July 4, 2021 8:53 PM
To: devel@edk2.groups.io; gaoliming@byosoft.com.cn; lateefcs@gmail.com
Cc: Manickavasakam Karpagavinayagam <manickavasakamk@ami.com>; isaac.w.oram@intel.com; nathaniel.l.desimone@intel.com; Felix Polyudov <Felixp@ami.com>; Harikrishna Doppalapudi <Harikrishnad@ami.com>; Manish Jha <manishj@ami.com>; Zachary Bobroff <zacharyb@ami.com>
Subject: [EXTERNAL] 回复: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
**CAUTION: The e-mail below is from an external source. Please exercise caution before opening attachments, clicking links, or following guidance.**
This patch in MdePkg has been merged at 55dee4947b20103fc48858b18307bd2b114dc145 on edk2 master.
Thanks
Liming
发件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> 代表 gaoliming
发送时间: 2021年6月30日 9:22
收件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>; lateefcs@gmail.com<mailto:lateefcs@gmail.com>
抄送: 'manickavasakam karpagavinayagam' <manickavasakamk@ami.com<mailto:manickavasakamk@ami.com>>; isaac.w.oram@intel.com<mailto:isaac.w.oram@intel.com>; nathaniel.l.desimone@intel.com<mailto:nathaniel.l.desimone@intel.com>; Felixp@ami.com<mailto:Felixp@ami.com>; Harikrishnad@ami.com<mailto:Harikrishnad@ami.com>; manishj@ami.com<mailto:manishj@ami.com>; zacharyb@ami.com<mailto:zacharyb@ami.com>
主题: 回复: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
If no other comment, I will create PR to merge this patch.
Thanks
Liming
发件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> 代表 gaoliming
发送时间: 2021年6月24日 8:54
收件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; lateefcs@gmail.com<mailto:lateefcs@gmail.com>
抄送: 'manickavasakam karpagavinayagam' <manickavasakamk@ami.com<mailto:manickavasakamk@ami.com>>; isaac.w.oram@intel.com<mailto:isaac.w.oram@intel.com>; nathaniel.l.desimone@intel.com<mailto:nathaniel.l.desimone@intel.com>; Felixp@ami.com<mailto:Felixp@ami.com>; Harikrishnad@ami.com<mailto:Harikrishnad@ami.com>; manishj@ami.com<mailto:manishj@ami.com>; zacharyb@ami.com<mailto:zacharyb@ami.com>
主题: 回复: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
AbduL:
This is same to the definition of UINT8 CompletionCode without bitfield.
Thanks
Liming
发件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> 代表 AbduL Lateef
发送时间: 2021年6月23日 19:43
收件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>
抄送: manickavasakam karpagavinayagam <manickavasakamk@ami.com<mailto:manickavasakamk@ami.com>>; isaac.w.oram@intel.com<mailto:isaac.w.oram@intel.com>; nathaniel.l.desimone@intel.com<mailto:nathaniel.l.desimone@intel.com>; Felixp@ami.com<mailto:Felixp@ami.com>; Harikrishnad@ami.com<mailto:Harikrishnad@ami.com>; manishj@ami.com<mailto:manishj@ami.com>; zacharyb@ami.com<mailto:zacharyb@ami.com>
主题: Re: [edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
whats the use of bitfield:8 for UINT8 variable type?
+typedef struct {
+ UINT8 CompletionCode:8;
+} IPMI_SET_BOOT_OPTIONS_RESPONSE;
Thanks
AbduL
On Mon, Jun 21, 2021 at 7:19 AM gaoliming <gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>> wrote:
Thanks for you update.
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>>
Thanks
Liming
> -----邮件原件-----
> 发件人: manickavasakam karpagavinayagam <manickavasakamk@ami.com<mailto:manickavasakamk@ami.com>>
> 发送时间: 2021年6月18日 23:38
> 收件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
> 抄送: isaac.w.oram@intel.com<mailto:isaac.w.oram@intel.com>; nathaniel.l.desimone@intel.com<mailto:nathaniel.l.desimone@intel.com>;
> Felixp@ami.com<mailto:Felixp@ami.com>; Harikrishnad@ami.com<mailto:Harikrishnad@ami.com>; manishj@ami.com<mailto:manishj@ami.com>;
> zacharyb@ami.com<mailto:zacharyb@ami.com>; manickavasakamk@ami.com<mailto:manickavasakamk@ami.com>;
> gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>
> 主题: [edk2][PATCH V3] 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_RUNTIME/EFI_FIRMWARE_BMC_IN_FORCE
> D_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
> <manickavasakamk@ami.com<mailto:manickavasakamk@ami.com>>
> ---
> .../IndustryStandard/IpmiNetFnChassis.h | 4 ++++
> .../IndustryStandard/IpmiNetFnFirmware.h | 18
> ++++++++++++++++++
> 2 files changed, 22 insertions(+)
>
> diff --git a/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h
> b/MdePkg/Include/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;
>
>
>
> +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/Include/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
>
> //
>
>
>
> +//
----------------------------------------------------------------------------
------------
>
> +// Definitions for Get BMC Execution Context
>
> +//
----------------------------------------------------------------------------
------------
>
> +#define IPMI_GET_BMC_EXECUTION_CONTEXT 0x23
>
> +
>
> +//
>
> +// Constants and Structure definitions for "Get Device ID" command to
> follow 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
> proprietary 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
> designee. If the reader of this message is not the intended recipient, you
are
> on notice that any distribution of this message, in any form, is strictly
> prohibited. Please promptly notify the sender by reply e-mail or by
> telephone at 770-246-8600, and then delete or destroy all copies of the
> transmission.
--
Thanks and Regards
Abdul Lateef Attar
Bangalore
-The information contained in this message may be confidential and proprietary 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 designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.
[-- Attachment #2: Type: text/html, Size: 19898 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-07-06 17:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-18 15:37 [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors manickavasakam karpagavinayagam
2021-06-21 1:49 ` 回复: " gaoliming
2021-06-23 11:42 ` [edk2-devel] " lateefcs
2021-06-24 0:54 ` 回复: " gaoliming
[not found] ` <168B5E8EE0C4DCE3.15098@groups.io>
2021-06-30 1:22 ` gaoliming
[not found] ` <168D3794E1211FAC.32224@groups.io>
2021-07-05 0:52 ` gaoliming
2021-07-06 17:41 ` [EXTERNAL] " manickavasakam karpagavinayagam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox