Ronak Kanabar | 1ae366f | 2023-06-07 01:21:56 +0530 | [diff] [blame^] | 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 | SPDX-License-Identifier: BSD-2-Clause-Patent |
| 14 | **/ |
| 15 | |
| 16 | #ifndef _IPMI_NET_FN_SENSOR_EVENT_H_ |
| 17 | #define _IPMI_NET_FN_SENSOR_EVENT_H_ |
| 18 | |
| 19 | #pragma pack(1) |
| 20 | // |
| 21 | // Net function definition for Sensor command |
| 22 | // |
| 23 | #define IPMI_NETFN_SENSOR_EVENT 0x04 |
| 24 | |
| 25 | // |
| 26 | // All Sensor commands and their structure definitions to follow here |
| 27 | // |
| 28 | |
| 29 | // |
| 30 | // Definitions for Send Platform Event Message command |
| 31 | // |
| 32 | #define IPMI_SENSOR_PLATFORM_EVENT_MESSAGE 0x02 |
| 33 | |
| 34 | typedef struct { |
| 35 | UINT8 GeneratorId; |
| 36 | UINT8 EvMRevision; |
| 37 | UINT8 SensorType; |
| 38 | UINT8 SensorNumber; |
| 39 | UINT8 EventDirType; |
| 40 | UINT8 OEMEvData1; |
| 41 | UINT8 OEMEvData2; |
| 42 | UINT8 OEMEvData3; |
| 43 | } IPMI_PLATFORM_EVENT_MESSAGE_DATA_REQUEST; |
| 44 | |
| 45 | #pragma pack() |
| 46 | #endif |