]> git.ozlabs.org Git - petitboot/blob - discover/ipmi.h
discover: Add ipmi module
[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_present(void);
17
18 #endif /* _IPMI_H */