From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.88; helo=mga01.intel.com; envelope-from=hao.a.wu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0FD3220D7B264 for ; Mon, 4 Jun 2018 20:20:13 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jun 2018 20:20:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,477,1520924400"; d="scan'208";a="54774772" Received: from shwdeopenpsi014.ccr.corp.intel.com ([10.239.9.10]) by FMSMGA003.fm.intel.com with ESMTP; 04 Jun 2018 20:20:12 -0700 From: Hao Wu To: edk2-devel@lists.01.org Cc: Hao Wu , Younas Khan , Michael Kinney , Liming Gao , Jiewen Yao Date: Tue, 5 Jun 2018 11:20:08 +0800 Message-Id: <20180605032010.25104-1-hao.a.wu@intel.com> X-Mailer: git-send-email 2.12.0.windows.1 Subject: [RFC PATCH v1 0/2] Update and refine the IPMI header files X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 03:20:14 -0000 This series will: a. Update the IPMI header files with the spec Intelligent Platform Management Interface Specification Second Generation v2.0 Document Revision 1.1 (October 1, 2013). b. Refine those header files to use 'union' types for bitmap fields within structure definitions, so that both bit-level and byte/word-level accesses are provided. The series is also available at: https://github.com/hwu25/edk2/tree/ipmi_header_update Please note that this series makes some incompatible changes: a. For structure definition IPMI_EMP_DESTINATION_COM_SETTING: Removes fields 'SaveSetting', 'SetComPort' and 'Reserved3' according to IPMI v2.0 spec Table 25-4. b. For structure definition IPMI_SET_SERIAL_MODEM_MUX_COMMAND_RESPONSE: Add missing field 'CompletionCode' according to IPMI v2.0 spec Table 25-5. c. For structure definition IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5: Update data 1, 4 and 5 according to IPMI v2.0 spec Table 28-14. d. Add byte-word-level access for structures with bitmap fields. But we cannot find any active users for those IPMI header files, and we are lacking of means to perform functional tests for the changes within this series. If there is active users for these header files, help for the functional test for this patch series will be very appreciated. Cc: Younas Khan Cc: Michael Kinney Cc: Liming Gao Cc: Jiewen Yao Hao Wu (2): MdePkg/IndustryStandard/Ipmi: Update IPMI header files MdePkg/IndustryStandard/Ipmi: Use union for bitmap fields MdePkg/Include/IndustryStandard/Ipmi.h | 34 +- MdePkg/Include/IndustryStandard/IpmiFruInformationStorage.h | 92 +++ MdePkg/Include/IndustryStandard/IpmiNetFnApp.h | 546 ++++++++++++++++-- MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h | 327 ++++++++--- MdePkg/Include/IndustryStandard/IpmiNetFnStorage.h | 579 +++++++++++++------ MdePkg/Include/IndustryStandard/IpmiNetFnTransport.h | 603 +++++++++++++++----- 6 files changed, 1734 insertions(+), 447 deletions(-) create mode 100644 MdePkg/Include/IndustryStandard/IpmiFruInformationStorage.h -- 2.12.0.windows.1