1 2 enum class fb_bic_cmds : uint8_t 3 { 4 CMD_OEM_BIC_INFO = 0x1, 5 CMD_OEM_GET_BIC_GPIO_STATE = 0x3, 6 CMD_OEM_SEND_POST_BUFFER_TO_BMC = 0x8, 7 CMD_OEM_SET_HOST_POWER_STATE = 0x0C, 8 CMD_OEM_GET_FLASH_SIZE = 0x19, 9 }; 10 11 // Flash size response length 12 constexpr uint8_t flashSizeRespLen = 0x7; 13 14 const char* dbusObj = "/xyz/openbmc_project/state/boot/raw"; 15 16 const char* dbusService = "xyz.openbmc_project.State.Boot.Raw"; 17 18 constexpr auto systemdService = "org.freedesktop.systemd1"; 19 constexpr auto systemdObjPath = "/org/freedesktop/systemd1"; 20 constexpr auto systemdInterface = "org.freedesktop.systemd1.Manager"; 21 22 enum class HostPowerState : uint8_t 23 { 24 HOST_POWER_OFF = 0x0, 25 HOST_POWER_ON = 0x1, 26 }; 27