Deepak Kodihalli | 8bf521f | 2020-07-21 12:39:04 +0000 | [diff] [blame] | 1 | #ifndef STATES_H |
| 2 | #define STATES_H |
| 3 | |
| 4 | #ifdef __cplusplus |
| 5 | extern "C" { |
| 6 | #endif |
| 7 | |
| 8 | #include "pldm_types.h" |
| 9 | |
| 10 | /** @brief PLDM state set ids |
| 11 | */ |
| 12 | enum pldm_state_set_ids { |
| 13 | PLDM_BOOT_PROGRESS_STATE = 196, |
| 14 | PLDM_SYSTEM_POWER_STATE = 260, |
| 15 | }; |
| 16 | |
| 17 | /** @brief PLDM enums for the boot progress state set |
| 18 | */ |
| 19 | enum pldm_boot_progress_states { |
| 20 | PLDM_BOOT_NOT_ACTIVE = 1, |
| 21 | PLDM_BOOT_COMPLETED = 2, |
| 22 | }; |
| 23 | |
| 24 | /** @brief PLDM enums for system power states |
| 25 | */ |
| 26 | enum pldm_system_power_states { |
| 27 | PLDM_OFF_SOFT_GRACEFUL = 9, |
| 28 | }; |
| 29 | |
| 30 | #ifdef __cplusplus |
| 31 | } |
| 32 | #endif |
| 33 | |
| 34 | #endif /* STATES_H */ |