Patrick Venture | 46470a3 | 2018-09-07 19:26:25 -0700 | [diff] [blame] | 1 | #pragma once |
Tom | 9e5232e | 2016-11-07 12:14:51 +0530 | [diff] [blame] | 2 | |
| 3 | #include <stdint.h> |
| 4 | |
| 5 | // These are per skiboot ipmi-sel code |
| 6 | |
Tom | 9e5232e | 2016-11-07 12:14:51 +0530 | [diff] [blame] | 7 | // Minor command for soft shurdown |
Patrick Venture | 0b02be9 | 2018-08-31 11:55:55 -0700 | [diff] [blame] | 8 | #define SOFT_OFF 0x00 |
Tom | 9e5232e | 2016-11-07 12:14:51 +0530 | [diff] [blame] | 9 | // Major command for Any kind of power ops |
Patrick Venture | 0b02be9 | 2018-08-31 11:55:55 -0700 | [diff] [blame] | 10 | #define CMD_POWER 0x04 |
Andrew Geissler | 1286637 | 2017-03-21 22:58:28 -0500 | [diff] [blame] | 11 | // Major command for the heartbeat operation (verify host is alive) |
Patrick Venture | 0b02be9 | 2018-08-31 11:55:55 -0700 | [diff] [blame] | 12 | #define CMD_HEARTBEAT 0xFF |