diff options
author | Patrick Venture <venture@google.com> | 2018-08-31 11:55:55 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-09-07 23:45:41 +0000 |
commit | 0b02be925a29357f69abbc9e9a58e7c5aaed2eab (patch) | |
tree | c1b39f817d98ffda7b987f9e3f864f576e3bf9ea /systemintfcmds.h | |
parent | 26f80ab2cc41deadc913190d906f71266c4ed224 (diff) | |
download | phosphor-host-ipmid-0b02be925a29357f69abbc9e9a58e7c5aaed2eab.tar.gz phosphor-host-ipmid-0b02be925a29357f69abbc9e9a58e7c5aaed2eab.zip |
add .clang-format
Change-Id: I7c2a527b4751a560703a61fcbe9638b150546af5
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'systemintfcmds.h')
-rw-r--r-- | systemintfcmds.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/systemintfcmds.h b/systemintfcmds.h index d603aaa..0243c02 100644 --- a/systemintfcmds.h +++ b/systemintfcmds.h @@ -6,22 +6,22 @@ // These are per skiboot ipmi-sel code // OEM_SEL type with Timestamp -#define SEL_OEM_ID_0 0x55 +#define SEL_OEM_ID_0 0x55 // SEL type is OEM and -not- general SEL #define SEL_RECORD_TYPE_OEM 0xC0 // Minor command for soft shurdown -#define SOFT_OFF 0x00 +#define SOFT_OFF 0x00 // Major command for Any kind of power ops -#define CMD_POWER 0x04 +#define CMD_POWER 0x04 // Major command for the heartbeat operation (verify host is alive) -#define CMD_HEARTBEAT 0xFF +#define CMD_HEARTBEAT 0xFF // IPMI commands used via System Interface functions. enum ipmi_netfn_system_intf_cmds { IPMI_CMD_SET_BMC_GLOBAL_ENABLES = 0x2E, - IPMI_CMD_GET_MSG_FLAGS = 0x31, - IPMI_CMD_READ_EVENT = 0x35, + IPMI_CMD_GET_MSG_FLAGS = 0x31, + IPMI_CMD_READ_EVENT = 0x35, }; // A Mechanism to tell host to shtudown hosts by sending this PEM SEL. Really |