Jaghathiswari Rankappagounder Natarajan | 2d4836d | 2018-11-29 14:16:39 -0800 | [diff] [blame] | 1 | #pragma once |
| 2 | |
William A. Kennington III | 2c9e162 | 2019-02-07 15:45:19 -0800 | [diff] [blame] | 3 | #include <ipmid/api.h> |
Jaghathiswari Rankappagounder Natarajan | 2d4836d | 2018-11-29 14:16:39 -0800 | [diff] [blame] | 4 | |
| 5 | namespace google |
| 6 | { |
| 7 | namespace ipmi |
| 8 | { |
| 9 | |
| 10 | // Handle the pcie slot count command. |
| 11 | // Sys can query the number of pcie slots. |
| 12 | ipmi_ret_t PcieSlotCount(const uint8_t* reqBuf, uint8_t* replyBuf, |
| 13 | size_t* dataLen); |
| 14 | |
| 15 | // Handle the pcie slot to i2c bus mapping command. |
| 16 | // Sys can query which i2c bus is routed to which pcie slot. |
| 17 | ipmi_ret_t PcieSlotI2cBusMapping(const uint8_t* reqBuf, uint8_t* replyBuf, |
| 18 | size_t* dataLen); |
| 19 | |
| 20 | } // namespace ipmi |
| 21 | } // namespace google |