From 9dec4ac0431895f027cfa72e8e0656d3d69e3e63 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Mon, 8 Dec 2014 14:39:14 +0800 Subject: discover: Add ipmi module Move our IPMI-specific definitions to a separate header, and a mostly-empty ipmi.c file. We'll populate this with IPMI functionality in later changes. Signed-off-by: Jeremy Kerr --- discover/ipmi.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 discover/ipmi.h (limited to 'discover/ipmi.h') diff --git a/discover/ipmi.h b/discover/ipmi.h new file mode 100644 index 0000000..0ed6068 --- /dev/null +++ b/discover/ipmi.h @@ -0,0 +1,18 @@ +#ifndef _IPMI_H +#define _IPMI_H + +#include +#include + +enum ipmi_bootdev { + IPMI_BOOTDEV_NONE = 0x0, + IPMI_BOOTDEV_NETWORK = 0x1, + IPMI_BOOTDEV_DISK = 0x2, + IPMI_BOOTDEV_SAFE = 0x3, + IPMI_BOOTDEV_CDROM = 0x5, + IPMI_BOOTDEV_SETUP = 0x6, +}; + +bool ipmi_present(void); + +#endif /* _IPMI_H */ -- cgit v1.1