https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
47 lines
1.2 KiB
C
47 lines
1.2 KiB
C
/** @file
|
|
IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.
|
|
|
|
This file contains all NetFn Sensor/Event commands, including:
|
|
Event Commands (Chapter 29)
|
|
PEF and Alerting Commands (Chapter 30)
|
|
Sensor Device Commands (Chapter 35)
|
|
|
|
See IPMI specification, Appendix G, Command Assignments
|
|
and Appendix H, Sub-function Assignments.
|
|
|
|
Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
**/
|
|
|
|
#ifndef _IPMI_NET_FN_SENSOR_EVENT_H_
|
|
#define _IPMI_NET_FN_SENSOR_EVENT_H_
|
|
|
|
#pragma pack(1)
|
|
//
|
|
// Net function definition for Sensor command
|
|
//
|
|
#define IPMI_NETFN_SENSOR_EVENT 0x04
|
|
|
|
//
|
|
// All Sensor commands and their structure definitions to follow here
|
|
//
|
|
|
|
//
|
|
// Definitions for Send Platform Event Message command
|
|
//
|
|
#define IPMI_SENSOR_PLATFORM_EVENT_MESSAGE 0x02
|
|
|
|
typedef struct {
|
|
UINT8 GeneratorId;
|
|
UINT8 EvMRevision;
|
|
UINT8 SensorType;
|
|
UINT8 SensorNumber;
|
|
UINT8 EventDirType;
|
|
UINT8 OEMEvData1;
|
|
UINT8 OEMEvData2;
|
|
UINT8 OEMEvData3;
|
|
} IPMI_PLATFORM_EVENT_MESSAGE_DATA_REQUEST;
|
|
|
|
#pragma pack()
|
|
#endif
|