blob: 3985698ecf58779c59501e1880da95d758804d8b [file] [log] [blame]
Jaghathiswari Rankappagounder Natarajan2d4836d2018-11-29 14:16:39 -08001#pragma once
2
William A. Kennington III2c9e1622019-02-07 15:45:19 -08003#include <ipmid/api.h>
Jaghathiswari Rankappagounder Natarajan2d4836d2018-11-29 14:16:39 -08004
5namespace google
6{
7namespace ipmi
8{
9
10// Handle the pcie slot count command.
11// Sys can query the number of pcie slots.
12ipmi_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.
17ipmi_ret_t PcieSlotI2cBusMapping(const uint8_t* reqBuf, uint8_t* replyBuf,
18 size_t* dataLen);
19
20} // namespace ipmi
21} // namespace google