summaryrefslogtreecommitdiffstats
path: root/apphandler.cpp
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-02-09 15:28:46 -0800
committerWilliam A. Kennington III <wak@google.com>2018-02-21 23:54:59 +0000
commit73f44518bdafd438f800d31d47ee9176d42cc83f (patch)
tree71e66cc60a1c128efc5e47e645c97139d061a247 /apphandler.cpp
parentb638de22154aa4cae788d9117d2507394388f839 (diff)
downloadphosphor-host-ipmid-73f44518bdafd438f800d31d47ee9176d42cc83f.tar.gz
phosphor-host-ipmid-73f44518bdafd438f800d31d47ee9176d42cc83f.zip
watchdog: Implements the Watchdog Get Command
Change-Id: I2ba9fd0eeba4e828cafd1bcf6fe30e2322eaf99e Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'apphandler.cpp')
-rw-r--r--apphandler.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/apphandler.cpp b/apphandler.cpp
index 47a165b..c452634 100644
--- a/apphandler.cpp
+++ b/apphandler.cpp
@@ -546,6 +546,13 @@ void register_netfn_app_functions()
ipmi_app_watchdog_set,
PRIVILEGE_OPERATOR);
+ // <Get Watchdog Timer>
+ ipmi_register_callback(NETFUN_APP,
+ IPMI_CMD_GET_WD,
+ NULL,
+ ipmi_app_watchdog_get,
+ PRIVILEGE_OPERATOR);
+
// <Get Device ID>
printf("Registering NetFn:[0x%X], Cmd:[0x%X]\n",
NETFUN_APP,
OpenPOWER on IntegriCloud