From cb8ac8872af1c5088c0bca427014c57f19f4715d Mon Sep 17 00:00:00 2001 From: William Date: Thu, 31 Dec 2015 19:15:17 +0800 Subject: Add ipmi coldReset command, which call a dbus method, belongs to NETFUN_APP. 1. A method dbus_warm_reset() to talk with the dbus method 'warmRest'; 2. Also get service name by ipmid_get_sd_bus_connection() instead of object_mapper_get_connection(); 3. Register the ipmi command; 4. Add related .o to the Makefile; 5. Add wildcard function. --- globalhandler.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 globalhandler.h (limited to 'globalhandler.h') diff --git a/globalhandler.h b/globalhandler.h new file mode 100644 index 0000000..608df3b --- /dev/null +++ b/globalhandler.h @@ -0,0 +1,12 @@ +#ifndef __HOST_IPMI_GLOBAL_HANDLER_H__ +#define __HOST_IPMI_GLOBAL_HANDLER_H__ + +#include + +// Various GLOBAL operations under a single command. +enum ipmi_global_control_cmds : uint8_t +{ +IPMI_CMD_WARM_RESET = 0x02, +}; + +#endif -- cgit v1.2.1