8 IPMI_NETFN_CHASSIS = 0x0,
12 IPMI_CMD_CHASSIS_SET_SYSTEM_BOOT_OPTIONS = 0x08,
13 IPMI_CMD_CHASSIS_GET_SYSTEM_BOOT_OPTIONS = 0x09,
17 IPMI_BOOTDEV_NONE = 0x00,
18 IPMI_BOOTDEV_NETWORK = 0x01,
19 IPMI_BOOTDEV_DISK = 0x2,
20 IPMI_BOOTDEV_SAFE = 0x3,
21 IPMI_BOOTDEV_CDROM = 0x5,
22 IPMI_BOOTDEV_SETUP = 0x6,
27 bool ipmi_present(void);
28 bool ipmi_bootdev_is_valid(int x);
29 struct ipmi *ipmi_open(void *ctx);
31 int ipmi_transaction(struct ipmi *ipmi, uint8_t netfn, uint8_t cmd,
32 uint8_t *req_buf, uint16_t req_len,
33 uint8_t *resp_buf, uint16_t *resp_len,