diff options
| author | Dan Crowell <dcrowell@us.ibm.com> | 2016-09-28 09:39:55 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-10-16 21:45:43 -0400 |
| commit | 560a3667e8a581005586f9c731bfa5c1fe0e911d (patch) | |
| tree | 7eb981aa83d018bcfb41d2122e32b19825b55673 /src/include/usr/ipmi | |
| parent | af6a053e12c60b67a951b578275ce2e0968de344 (diff) | |
| download | blackbird-hostboot-560a3667e8a581005586f9c731bfa5c1fe0e911d.tar.gz blackbird-hostboot-560a3667e8a581005586f9c731bfa5c1fe0e911d.zip | |
Add interfaces for HDAT to fetch new data
New interfaces added:
I2C::getDeviceInfo()
IPMI::getBmcInfo()
CONSOLE::getUartInfo()
New attributes:
SYSTEM_FAMILY
SYSTEM_TYPE
Change-Id: I7d1a018c01067a19b8a66f853e11922c910fcc54
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30405
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/ipmi')
| -rw-r--r-- | src/include/usr/ipmi/ipmiif.H | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/usr/ipmi/ipmiif.H b/src/include/usr/ipmi/ipmiif.H index a62f722d3..d382a3df1 100644 --- a/src/include/usr/ipmi/ipmiif.H +++ b/src/include/usr/ipmi/ipmiif.H @@ -346,6 +346,29 @@ namespace IPMI size_t max_buffer(void); + /** + * Structure to return BMC/IPMI information in + */ + struct BmcInfo_t + { + //@TODO-RTC:161648-Add more details/comments + uint64_t bulkTransferLpcBaseAddr; + uint32_t bulkTransferSize; + uint8_t chipVersion; + uint8_t smsAttnInterrupt; + uint8_t bmcToHostInterrupt; + char bmcVendor[32]; + }; + + /** + * Retrieve some information about the BMC and the connection + * we have to it. + * + * @return Structure of BMC data + */ + BmcInfo_t getBmcInfo(void); + + }; // end namespace IPMI #endif |

