blob: 6150226bbd60c1be1b139b59155f4b433fdd1be8 [file] [log] [blame]
Jaghathiswari Rankappagounder Natarajan2d4836d2018-11-29 14:16:39 -08001#pragma once
2
3#include <host-ipmid/ipmid-api.h>
4
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