]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/IpmiNetFnSensorEvent.h
MdePkg: Fix ACPI NFIT GUID definitions
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / IpmiNetFnSensorEvent.h
CommitLineData
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
13 This program and the accompanying materials\r
14 are licensed and made available under the terms and conditions of the BSD License\r
15 which accompanies this distribution. The full text of the license may be found at\r
16 http://opensource.org/licenses/bsd-license.php\r
17\r
18 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
19 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
20**/\r
21\r
22#ifndef _IPMI_NET_FN_SENSOR_EVENT_H_\r
23#define _IPMI_NET_FN_SENSOR_EVENT_H_\r
24\r
25#pragma pack(1)\r
26//\r
27// Net function definition for Sensor command\r
28//\r
29#define IPMI_NETFN_SENSOR_EVENT 0x04\r
30\r
31//\r
32// All Sensor commands and their structure definitions to follow here\r
33//\r
34\r
35//\r
36// Definitions for Send Platform Event Message command\r
37//\r
38#define IPMI_SENSOR_PLATFORM_EVENT_MESSAGE 0x02\r
39\r
40typedef struct {\r
41 UINT8 GeneratorId;\r
42 UINT8 EvMRevision;\r
43 UINT8 SensorType;\r
44 UINT8 SensorNumber;\r
45 UINT8 EventDirType;\r
46 UINT8 OEMEvData1;\r
47 UINT8 OEMEvData2;\r
48 UINT8 OEMEvData3;\r
aeff1d6e 49} IPMI_PLATFORM_EVENT_MESSAGE_DATA_REQUEST;\r
e59a797f
DB
50\r
51#pragma pack()\r
52#endif\r