From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=jiewen.yao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 49961207E36C6 for ; Tue, 22 May 2018 22:14:31 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 May 2018 22:14:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,431,1520924400"; d="scan'208";a="230871743" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga005.fm.intel.com with ESMTP; 22 May 2018 22:14:31 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 22 May 2018 22:14:31 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 22 May 2018 22:14:30 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.79]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.210]) with mapi id 14.03.0319.002; Wed, 23 May 2018 13:14:29 +0800 From: "Yao, Jiewen" To: "Wu, Hao A" , "edk2-devel@lists.01.org" CC: "Wu, Hao A" , "Kinney, Michael D" , Younas Khan , "Gao, Liming" Thread-Topic: [edk2] [PATCH v3] MdePkg/IndustryStandard: Add header file for SPMI ACPI table Thread-Index: AQHT8XLqYxX7gkOfZkiq4r8A4bI80KQ8xuTw Date: Wed, 23 May 2018 05:14:27 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503ABBA9B2@shsmsx102.ccr.corp.intel.com> References: <20180522021622.38048-1-hao.a.wu@intel.com> In-Reply-To: <20180522021622.38048-1-hao.a.wu@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDgxMjA2NDItYzdjMC00MTYwLWFlYzctNTFlYjJiYTA2MDdmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiYjNKSmkxNXF4b2g5dGpHMlZoTWREclRERmVTMURTZ3pMZkRmeGljYjFzYkt4NkFtVklkaGM3SFVcL3pHWWIxUE8ifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v3] MdePkg/IndustryStandard: Add header file for SPMI ACPI table 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: Wed, 23 May 2018 05:14:32 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jiewen.yao@intel.com > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Ha= o > Wu > Sent: Monday, May 21, 2018 10:16 PM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A ; Kinney, Michael D > ; Younas Khan > ; Yao, Jiewen ; Gao, > Liming > Subject: [edk2] [PATCH v3] MdePkg/IndustryStandard: Add header file for S= PMI > ACPI table >=20 > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D840 >=20 > Add the header file for Service Processor Management Interface ACPI table > definition. >=20 > Cc: Younas Khan > Cc: Michael Kinney > Cc: Liming Gao > Cc: Jiewen Yao > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Hao Wu > --- > .../ServiceProcessorManagementInterfaceTable.h | 104 > +++++++++++++++++++++ > 1 file changed, 104 insertions(+) > create mode 100644 > MdePkg/Include/IndustryStandard/ServiceProcessorManagementInterfaceTable > .h >=20 > diff --git > a/MdePkg/Include/IndustryStandard/ServiceProcessorManagementInterfaceTa > ble.h > b/MdePkg/Include/IndustryStandard/ServiceProcessorManagementInterfaceTa > ble.h > new file mode 100644 > index 0000000000..681de3b4b5 > --- /dev/null > +++ > b/MdePkg/Include/IndustryStandard/ServiceProcessorManagementInterfaceTa > ble.h > @@ -0,0 +1,104 @@ > +/** @file > + Service Processor Management Interface (SPMI) ACPI table definition fr= om > + Intelligent Platform Management Interface Specification Second Generat= ion. > + > + Copyright (c) 2018, Intel Corporation. All rights reserved.
> + This program and the accompanying materials > + are licensed and made available under the terms and conditions of the = BSD > License > + which accompanies this distribution. The full text of the license may= be > found at > + http://opensource.org/licenses/bsd-license.php > + > + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" > BASIS, > + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > EXPRESS OR IMPLIED. > + > + @par Revision Reference: > + - Intelligent Platform Management Interface Specification Second > Generation > + v2.0 Revision 1.1, Dated October 2013. > + > https://www.intel.com/content/dam/www/public/us/en/documents/specificati > on-updates/ipmi-intelligent-platform-mgt-interface-spec-2nd-gen-v2-0-spec= -up > date.pdf > +**/ > +#ifndef _SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_H_ > +#define _SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_H_ > + > +#include > + > +#pragma pack(1) > + > +/// > +/// Definition for the device identification information used by the Ser= vice > +/// Processor Management Interface Description Table > +/// > +typedef union { > + /// > + /// For PCI IPMI device > + /// > + struct { > + UINT8 SegmentGroup; > + UINT8 Bus; > + UINT8 Device; > + UINT8 Function; > + } Pci; > + /// > + /// For non-PCI IPMI device, the ACPI _UID value of the device > + /// > + UINT32 Uid; > +} > EFI_ACPI_SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_DEVICE_ID > ; > + > + > +/// > +/// Definition for Service Processor Management Interface Description Ta= ble > +/// > +typedef struct { > + EFI_ACPI_DESCRIPTION_HEADER Header; > + /// > + /// Indicates the type of IPMI interface. > + /// > + UINT8 InterfaceType; > + /// > + /// This field must always be 01h to be compatible with any software t= hat > + /// implements previous versions of this spec. > + /// > + UINT8 Reserved1; > + /// > + /// Identifies the IPMI specification revision, in BCD format. > + /// > + UINT16 SpecificationRevision; > + /// > + /// Interrupt type(s) used by the interface. > + /// > + UINT8 InterruptType; > + /// > + /// The bit assignment of the SCI interrupt within the GPEx_STS regist= er of a > + /// GPE described if the FADT that the interface triggers. > + /// > + UINT8 Gpe; > + /// > + /// Reserved, must be 00h. > + /// > + UINT8 Reserved2; > + /// > + /// PCI Device Flag. > + /// > + UINT8 PciDeviceFlag; > + /// > + /// The I/O APIC or I/O SAPIC Global System Interrupt used by the inte= rface. > + /// > + UINT32 GlobalSystemInterrupt; > + /// > + /// The base address of the interface register set described using the > + /// Generic Address Structure (GAS, See [ACPI 2.0] for the definition)= . > + /// > + EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE BaseAddress; > + /// > + /// Device identification information. > + /// > + > EFI_ACPI_SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_DEVICE_ID > DeviceId; > + /// > + /// This field must always be null (0x00) to be compatible with any so= ftware > + /// that implements previous versions of this spec. > + /// > + UINT8 Reserved3; > +} EFI_ACPI_SERVICE_PROCESSOR_MANAGEMENT_INTERFACE_TABLE; > + > +#pragma pack() > + > +#endif > -- > 2.12.0.windows.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel