diff options
author | Nagaraju Goruganti <ngorugan@in.ibm.com> | 2018-04-06 05:55:42 -0500 |
---|---|---|
committer | Tom Joseph <tomjoseph@in.ibm.com> | 2018-05-21 08:43:41 +0000 |
commit | a59d83f8d62e2289d060aaa71892afcba32725cc (patch) | |
tree | 74d0951b0a3ca38894a6bc8aa897ff40ecc0a9da /chassishandler.h | |
parent | e16284935dc097747bf6e74dff5b22219f8c2abb (diff) | |
download | phosphor-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.h | 1 |
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 |