]>
Commit | Line | Data |
---|---|---|
e59a797f DB |
1 | /** @file\r |
2 | IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.\r | |
3 | \r | |
4 | This file contains all NetFn Sensor/Event commands, including:\r | |
5 | Event Commands (Chapter 29)\r | |
6 | PEF and Alerting Commands (Chapter 30)\r | |
7 | Sensor Device Commands (Chapter 35)\r | |
8 | \r | |
9 | See IPMI specification, Appendix G, Command Assignments\r | |
10 | and Appendix H, Sub-function Assignments.\r | |
11 | \r | |
12 | Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.<BR>\r | |
9344f092 | 13 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
e59a797f DB |
14 | **/\r |
15 | \r | |
16 | #ifndef _IPMI_NET_FN_SENSOR_EVENT_H_\r | |
17 | #define _IPMI_NET_FN_SENSOR_EVENT_H_\r | |
18 | \r | |
19 | #pragma pack(1)\r | |
20 | //\r | |
21 | // Net function definition for Sensor command\r | |
22 | //\r | |
23 | #define IPMI_NETFN_SENSOR_EVENT 0x04\r | |
24 | \r | |
25 | //\r | |
26 | // All Sensor commands and their structure definitions to follow here\r | |
27 | //\r | |
28 | \r | |
29 | //\r | |
30 | // Definitions for Send Platform Event Message command\r | |
31 | //\r | |
32 | #define IPMI_SENSOR_PLATFORM_EVENT_MESSAGE 0x02\r | |
33 | \r | |
34 | typedef struct {\r | |
35 | UINT8 GeneratorId;\r | |
36 | UINT8 EvMRevision;\r | |
37 | UINT8 SensorType;\r | |
38 | UINT8 SensorNumber;\r | |
39 | UINT8 EventDirType;\r | |
40 | UINT8 OEMEvData1;\r | |
41 | UINT8 OEMEvData2;\r | |
42 | UINT8 OEMEvData3;\r | |
aeff1d6e | 43 | } IPMI_PLATFORM_EVENT_MESSAGE_DATA_REQUEST;\r |
e59a797f DB |
44 | \r |
45 | #pragma pack()\r | |
46 | #endif\r |