Home | History | Annotate | Download | only in IndustryStandard
      1 /** @file
      2   IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.
      3 
      4   This file contains all NetFn Sensor/Event commands, including:
      5     Event Commands (Chapter 29)
      6     PEF and Alerting Commands (Chapter 30)
      7     Sensor Device Commands (Chapter 35)
      8 
      9   See IPMI specification, Appendix G, Command Assignments
     10   and Appendix H, Sub-function Assignments.
     11 
     12   Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.<BR>
     13   This program and the accompanying materials
     14   are licensed and made available under the terms and conditions of the BSD License
     15   which accompanies this distribution.  The full text of the license may be found at
     16   http://opensource.org/licenses/bsd-license.php
     17 
     18   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     19   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     20 **/
     21 
     22 #ifndef _IPMI_NET_FN_SENSOR_EVENT_H_
     23 #define _IPMI_NET_FN_SENSOR_EVENT_H_
     24 
     25 #pragma pack(1)
     26 //
     27 // Net function definition for Sensor command
     28 //
     29 #define IPMI_NETFN_SENSOR_EVENT 0x04
     30 
     31 //
     32 // All Sensor commands and their structure definitions to follow here
     33 //
     34 
     35 //
     36 //  Definitions for Send Platform Event Message command
     37 //
     38 #define IPMI_SENSOR_PLATFORM_EVENT_MESSAGE   0x02
     39 
     40 typedef struct {
     41   UINT8   GeneratorId;
     42   UINT8   EvMRevision;
     43   UINT8   SensorType;
     44   UINT8   SensorNumber;
     45   UINT8   EventDirType;
     46   UINT8   OEMEvData1;
     47   UINT8   OEMEvData2;
     48   UINT8   OEMEvData3;
     49 } IPMI_PLATFORM_EVENT_MESSAGE_DATA_REQUEST;
     50 
     51 #pragma pack()
     52 #endif
     53