diff options
author | Brian Silver <bsilver@us.ibm.com> | 2014-10-06 13:45:16 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-11-12 08:26:50 -0600 |
commit | e92561c3352a4af3b1b8506fae61652cde4ee3d5 (patch) | |
tree | 0c4fe19f433cb22180ea42b0e84fb584b7b85bec /src/usr/ipmi/ipmiconfig.H | |
parent | 17aadfc41822980c53ca70340dabcf84ac611601 (diff) | |
download | talos-hostboot-e92561c3352a4af3b1b8506fae61652cde4ee3d5.tar.gz talos-hostboot-e92561c3352a4af3b1b8506fae61652cde4ee3d5.zip |
Add response timeouts and event requests
Change-Id: I2a763e5e3ea59e6afb7b7ab7d088fb236ee3428e
Depends-On: I8f6a590b29d9171389d10abc5b6e68f91ac94d16
RTC: 116300
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13856
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/ipmi/ipmiconfig.H')
-rw-r--r-- | src/usr/ipmi/ipmiconfig.H | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/usr/ipmi/ipmiconfig.H b/src/usr/ipmi/ipmiconfig.H new file mode 100644 index 000000000..673be6128 --- /dev/null +++ b/src/usr/ipmi/ipmiconfig.H @@ -0,0 +1,55 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/ipmi/ipmiconfig.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2014 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __IPMI_IPMICONFIG_H +#define __IPMI_IMPICONFIG_H + +/** + * @file ipmiconfig.H + * @brief IPMI service provider defaults and constants + */ + +namespace IPMI +{ + // + // Information contained in the Get Interface Capabilities command + // + // Request to response time default, in seconds + extern const uint8_t g_bmc_timeout; + + // Number of allowed outstanding requests default + extern const uint8_t g_outstanding_req; + + // The size of the BMC input buffer default (our write) + extern const uint8_t g_xmit_buffer_size; + + // The size of the BMC transmit buffer default (our read) + extern const uint8_t g_recv_buffer_size; + + // How many times we should retry a message if the BMC timesout default + extern const uint8_t g_retries; +}; + +#endif |