summaryrefslogtreecommitdiffstats
path: root/chassishandler.h
diff options
context:
space:
mode:
authorNagaraju Goruganti <ngorugan@in.ibm.com>2018-04-06 05:55:42 -0500
committerTom Joseph <tomjoseph@in.ibm.com>2018-05-21 08:43:41 +0000
commita59d83f8d62e2289d060aaa71892afcba32725cc (patch)
tree74d0951b0a3ca38894a6bc8aa897ff40ecc0a9da /chassishandler.h
parente16284935dc097747bf6e74dff5b22219f8c2abb (diff)
downloadphosphor-host-ipmid-a59d83f8d62e2289d060aaa71892afcba32725cc.tar.gz
phosphor-host-ipmid-a59d83f8d62e2289d060aaa71892afcba32725cc.zip
Implement Get POH Counter command
It returns a counter value proportional to the system operating power-on hours. Partially Resolves openbmc/openbmc#2979 Change-Id: Ib0cd43fe5cbc055ae84991577d766bedae58d775 Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
Diffstat (limited to 'chassishandler.h')
-rw-r--r--chassishandler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chassishandler.h b/chassishandler.h
index c0e82a1..8643ae4 100644
--- a/chassishandler.h
+++ b/chassishandler.h
@@ -16,6 +16,7 @@ enum ipmi_netfn_app_cmds
// Get capability bits
IPMI_CMD_SET_SYS_BOOT_OPTIONS = 0x08,
IPMI_CMD_GET_SYS_BOOT_OPTIONS = 0x09,
+ IPMI_CMD_GET_POH_COUNTER = 0x0F,
};
// Command specific completion codes
OpenPOWER on IntegriCloud