Deepak Kodihalli | c6e8fb5 | 2019-05-02 08:35:31 -0500 | [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, |
Deepak Kodihalli | 960dc96 | 2019-10-08 08:17:32 -0500 | [diff] [blame] | 14 | PLDM_SYSTEM_POWER_STATE = 260, |
Deepak Kodihalli | c6e8fb5 | 2019-05-02 08:35:31 -0500 | [diff] [blame] | 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 | |
Deepak Kodihalli | 960dc96 | 2019-10-08 08:17:32 -0500 | [diff] [blame] | 24 | /** @brief PLDM enums for system power states |
| 25 | */ |
| 26 | enum pldm_system_power_states { |
| 27 | PLDM_OFF_SOFT_GRACEFUL = 9, |
| 28 | }; |
| 29 | |
Deepak Kodihalli | c6e8fb5 | 2019-05-02 08:35:31 -0500 | [diff] [blame] | 30 | #ifdef __cplusplus |
| 31 | } |
| 32 | #endif |
| 33 | |
| 34 | #endif /* STATES_H */ |