<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:等线;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@等线";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:12.0pt;
        font-family:宋体;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:等线;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:等线;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-CN link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:等线'>AbduL:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:等线'>  This is same to the definition of UINT8 CompletionCode without bitfield.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:等线'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:等线'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:等线'>Liming<o:p></o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:等线'>发件人<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:11.0pt;font-family:等线'> devel@edk2.groups.io <devel@edk2.groups.io> </span><b><span style='font-size:11.0pt;font-family:等线'>代表 </span></b><span lang=EN-US style='font-size:11.0pt;font-family:等线'>AbduL Lateef<br></span><b><span style='font-size:11.0pt;font-family:等线'>发送时间<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:11.0pt;font-family:等线'> 2021</span><span style='font-size:11.0pt;font-family:等线'>年<span lang=EN-US>6</span>月<span lang=EN-US>23</span>日<span lang=EN-US> 19:43<br></span><b>收件人<span lang=EN-US>:</span></b><span lang=EN-US> devel@edk2.groups.io; gaoliming@byosoft.com.cn<br></span><b>抄送<span lang=EN-US>:</span></b><span lang=EN-US> 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<br></span><b>主题<span lang=EN-US>:</span></b><span lang=EN-US> Re: [edk2-devel] </span>回复<span lang=EN-US>: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors<o:p></o:p></span></span></p></div></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-US>whats the use of bitfield:8 for UINT8 variable type?<o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#333333'>+typedef struct {<br><b>+ UINT8 CompletionCode:8;</b><br>+} IPMI_SET_BOOT_OPTIONS_RESPONSE;</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#333333'>Thanks</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#333333'>AbduL</span><span lang=EN-US><o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div><p class=MsoNormal><span lang=EN-US>On Mon, Jun 21, 2021 at 7:19 AM gaoliming <<a href="mailto:gaoliming@byosoft.com.cn">gaoliming@byosoft.com.cn</a>> wrote:<o:p></o:p></span></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US>Thanks for you update. <br><br>Reviewed-by: Liming Gao <<a href="mailto:gaoliming@byosoft.com.cn" target="_blank">gaoliming@byosoft.com.cn</a>><br><br>Thanks<br>Liming<br>> -----</span>邮件原件<span lang=EN-US>-----<br>> </span>发件人<span lang=EN-US>: manickavasakam karpagavinayagam <<a href="mailto:manickavasakamk@ami.com" target="_blank">manickavasakamk@ami.com</a>><br>> </span>发送时间<span lang=EN-US>: 2021</span>年<span lang=EN-US>6</span>月<span lang=EN-US>18</span>日<span lang=EN-US> 23:38<br>> </span>收件人<span lang=EN-US>: <a href="mailto:devel@edk2.groups.io" target="_blank">devel@edk2.groups.io</a><br>> </span>抄送<span lang=EN-US>: <a href="mailto:isaac.w.oram@intel.com" target="_blank">isaac.w.oram@intel.com</a>; <a href="mailto:nathaniel.l.desimone@intel.com" target="_blank">nathaniel.l.desimone@intel.com</a>;<br>> <a href="mailto:Felixp@ami.com" target="_blank">Felixp@ami.com</a>; <a href="mailto:Harikrishnad@ami.com" target="_blank">Harikrishnad@ami.com</a>; <a href="mailto:manishj@ami.com" target="_blank">manishj@ami.com</a>;<br>> <a href="mailto:zacharyb@ami.com" target="_blank">zacharyb@ami.com</a>; <a href="mailto:manickavasakamk@ami.com" target="_blank">manickavasakamk@ami.com</a>;<br>> <a href="mailto:gaoliming@byosoft.com.cn" target="_blank">gaoliming@byosoft.com.cn</a><br>> </span>主题<span lang=EN-US>: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions<br>> to resolve build errors<br>> <br>> Build error reported for missing structures<br>> IPMI_SET_BOOT_OPTIONS_RESPONSE,<br>> EFI_IPMI_MSG_GET_BMC_EXEC_RSP and<br>> macros EFI_FIRMWARE_GET_BMC_EXECUTION_CONTEXT<br>> EFI_FIRMWARE_BMC_IN_FULL_RUNTIME/EFI_FIRMWARE_BMC_IN_FORCE<br>> D_UPDATE_MODE<br>> when using<br>> edk2-platforms\Features\Intel\OutOfBandManagement\IpmiFeaturePkg<br>> <br>> MdePkg : Rename IPMI Macro and Structure Defintions<br>> <br>> Rename the EFI_IPMI_MSG_GET_BMC_EXEC_RSPB,<br>> EFI_FIRMWARE_GET_BMC_EXECUTION_CONTEXT<br>> EFI_FIRMWARE_BMC_IN_FORCED_UPDATE_MODE to<br>> IPMI_MSG_GET_BMC_EXEC_RSPB,IPMI_GET_BMC_EXECUTION_CONTEXT<br>> IPMI_BMC_IN_FORCED_UPDATE_MODE<br>> <br>> Notes:<br>> V1 :<br>> Rename the EFI_IPMI_MSG_GET_BMC_EXEC_RSPB,<br>> EFI_FIRMWARE_GET_BMC_EXECUTION_CONTEXT<br>> EFI_FIRMWARE_BMC_IN_FORCED_UPDATE_MODE to<br>> IPMI_MSG_GET_BMC_EXEC_RSPB,IPMI_GET_BMC_EXECUTION_CONTEXT<br>> IPMI_BMC_IN_FORCED_UPDATE_MODE<br>> <br>> V2:<br>> <br>> Remove 0001-MdePkg-Add-IPMI-Macro-and-Structure-Defintions-to-re.patch<br>> <br>> V3:<br>> <br>> Add Signed-off-by information<br>> <br>> Signed-off-by: Manickavasakam Karpagavinayagam<br>> <<a href="mailto:manickavasakamk@ami.com" target="_blank">manickavasakamk@ami.com</a>><br>> ---<br>>  .../IndustryStandard/IpmiNetFnChassis.h        |  4 ++++<br>>  .../IndustryStandard/IpmiNetFnFirmware.h       | 18<br>> ++++++++++++++++++<br>>  2 files changed, 22 insertions(+)<br>> <br>> diff --git a/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h<br>> b/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h<br>> index 79db55523d..d7cdd3a865 100644<br>> --- a/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h<br>> +++ b/MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h<br>> @@ -186,6 +186,10 @@ typedef struct {<br>>    UINT8                                  ParameterData[0];<br>> <br>>  } IPMI_SET_BOOT_OPTIONS_REQUEST;<br>> <br>> <br>> <br>> +typedef struct {<br>> <br>> +  UINT8   CompletionCode:8;<br>> <br>> +} IPMI_SET_BOOT_OPTIONS_RESPONSE;<br>> <br>> +<br>> <br>>  //<br>> <br>>  //  Definitions for Get System Boot options command<br>> <br>>  //<br>> <br>> diff --git a/MdePkg/Include/IndustryStandard/IpmiNetFnFirmware.h<br>> b/MdePkg/Include/IndustryStandard/IpmiNetFnFirmware.h<br>> index 2d892dbd5a..c4cbe2349b 100644<br>> --- a/MdePkg/Include/IndustryStandard/IpmiNetFnFirmware.h<br>> +++ b/MdePkg/Include/IndustryStandard/IpmiNetFnFirmware.h<br>> @@ -17,4 +17,22 @@<br>>  // All Firmware commands and their structure definitions to follow here<br>> <br>>  //<br>> <br>> <br>> <br>> +//<br>----------------------------------------------------------------------------<br>------------<br>> <br>> +//    Definitions for Get BMC Execution Context<br>> <br>> +//<br>----------------------------------------------------------------------------<br>------------<br>> <br>> +#define IPMI_GET_BMC_EXECUTION_CONTEXT  0x23<br>> <br>> +<br>> <br>> +//<br>> <br>> +//  Constants and Structure definitions for "Get Device ID" command to<br>> follow here<br>> <br>> +//<br>> <br>> +typedef struct {<br>> <br>> +  UINT8   CurrentExecutionContext;<br>> <br>> +  UINT8   PartitionPointer;<br>> <br>> +} IPMI_MSG_GET_BMC_EXEC_RSP;<br>> <br>> +<br>> <br>> +//<br>> <br>> +// Current Execution Context responses<br>> <br>> +//<br>> <br>> +#define IPMI_BMC_IN_FORCED_UPDATE_MODE  0x11<br>> <br>> +<br>> <br>>  #endif<br>> <br>> --<br>> 2.25.0.windows.1<br>> <br>> <br>> Please consider the environment before printing this email.<br>> <br>> The information contained in this message may be confidential and<br>> proprietary to American Megatrends (AMI).  This communication is intended<br>> to be read only by the individual or entity to whom it is addressed or by<br>their<br>> designee. If the reader of this message is not the intended recipient, you<br>are<br>> on notice that any distribution of this message, in any form, is strictly<br>> prohibited.  Please promptly notify the sender by reply e-mail or by<br>> telephone at 770-246-8600, and then delete or destroy all copies of the<br>> transmission.<br><br><br><br><br><br><br><o:p></o:p></span></p></blockquote></div><p class=MsoNormal><span lang=EN-US><br clear=all><o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><p class=MsoNormal><span lang=EN-US>-- <o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US>Thanks and Regards<br>Abdul Lateef Attar<br>Bangalore<o:p></o:p></span></p></div><div><p class=MsoNormal></o:p></span></p></div></div></div></body></html>


 <div width="1" style="color:white;clear:both">_._,_._,_</div> <hr>   Groups.io Links:<p>   You receive all messages sent to this group.    <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/77022">View/Reply Online (#77022)</a> |    |  <a target="_blank" href="https://groups.io/mt/83751357/1813853">Mute This Topic</a>  | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>    <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |  <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>  [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>