Eddie James | bbbbae1 | 2021-10-14 09:24:23 -0500 | [diff] [blame] | 1 | #ifndef STATE_SET_OEM_IBM_H |
| 2 | #define STATE_SET_OEM_IBM_H |
Christian Geddes | 7f9523c | 2021-08-03 13:44:38 -0500 | [diff] [blame] | 3 | |
| 4 | #ifdef __cplusplus |
| 5 | extern "C" { |
| 6 | #endif |
| 7 | |
| 8 | /** @brief IBM OEM State Set IDs */ |
| 9 | enum ibm_oem_pldm_state_set_ids { |
| 10 | PLDM_OEM_IBM_FIRMWARE_UPDATE_STATE = 32768, |
| 11 | PLDM_OEM_IBM_BOOT_STATE = 32769, |
| 12 | PLDM_OEM_IBM_VERIFICATION_STATE = 32770, |
| 13 | PLDM_OEM_IBM_SYSTEM_POWER_STATE = 32771, |
Christian Geddes | 42eaf9f | 2021-08-03 13:52:20 -0500 | [diff] [blame] | 14 | PLDM_OEM_IBM_SBE_MAINTENANCE_STATE = 32772, |
Christian Geddes | 7f9523c | 2021-08-03 13:44:38 -0500 | [diff] [blame] | 15 | }; |
| 16 | |
| 17 | enum ibm_oem_pldm_state_set_firmware_update_state_values { |
| 18 | START = 0x1, |
| 19 | END = 0x2, |
| 20 | FAIL = 0x3, |
| 21 | ABORT = 0x4, |
| 22 | ACCEPT = 0x5, |
| 23 | REJECT = 0x6, |
| 24 | }; |
| 25 | |
| 26 | enum ibm_oem_pldm_state_set_boot_state_values { |
| 27 | P = 0x1, |
| 28 | T = 0x2, |
| 29 | }; |
| 30 | |
| 31 | enum ibm_oem_pldm_state_set_verification_state_values { |
| 32 | VALID = 0x0, |
| 33 | ENTITLEMENT_FAIL = 0x1, |
| 34 | BANNED_PLATFORM_FAIL = 0x2, |
| 35 | MIN_MIF_FAIL = 0x4, |
| 36 | }; |
| 37 | |
| 38 | enum ibm_oem_pldm_state_set_system_power_state_values { |
Christian Geddes | 42eaf9f | 2021-08-03 13:52:20 -0500 | [diff] [blame] | 39 | POWER_CYCLE_HARD = 0x1 |
| 40 | }; |
| 41 | |
| 42 | enum ibm_oem_pldm_state_set_sbe_dump_state_values { |
| 43 | SBE_DUMP_COMPLETED = 0x1, |
| 44 | SBE_RETRY_REQUIRED = 0x2, |
Christian Geddes | 7f9523c | 2021-08-03 13:44:38 -0500 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | #ifdef __cplusplus |
| 48 | } |
| 49 | #endif |
| 50 | |
Eddie James | bbbbae1 | 2021-10-14 09:24:23 -0500 | [diff] [blame] | 51 | #endif /* STATE_SET_OEM_IBM_H */ |