157cca898685f36e906ba1969f4a705457dbd4ab
[petitboot] / discover / ipmi.h
1 #ifndef _IPMI_H
2 #define _IPMI_H
3
4 #include <stdbool.h>
5 #include <stdint.h>
6
7 enum ipmi_bootdev {
8         IPMI_BOOTDEV_NONE = 0x0,
9         IPMI_BOOTDEV_NETWORK = 0x1,
10         IPMI_BOOTDEV_DISK = 0x2,
11         IPMI_BOOTDEV_SAFE = 0x3,
12         IPMI_BOOTDEV_CDROM = 0x5,
13         IPMI_BOOTDEV_SETUP = 0x6,
14 };
15
16 bool ipmi_bootdev_is_valid(int x);
17 bool ipmi_present(void);
18
19 #endif /* _IPMI_H */