blob: de477b9158ed69cdd97b47c2743ed636618a595b [file] [log] [blame]
Xiuzhi Cheng4f3eb902022-06-08 09:06:33 +08001#pragma once
2
Xiuzhi Cheng4f3eb902022-06-08 09:06:33 +08003#include <ipmid/api.hpp>
4
Patrick Williamsb8c92442022-08-04 13:27:05 -05005#include <cstdint>
6
Xiuzhi Cheng4f3eb902022-06-08 09:06:33 +08007namespace ipmi
8{
9
10using NetFn = uint8_t;
Patrick Williamsb8c92442022-08-04 13:27:05 -050011using Cmd = uint8_t;
12using Cc = uint8_t;
Xiuzhi Cheng4f3eb902022-06-08 09:06:33 +080013
14constexpr NetFn netfnKunlunOem = netFnOemSix;
15namespace cmd
16{
Patrick Williamsb8c92442022-08-04 13:27:05 -050017constexpr Cmd cmdSetCpuInfo = 0x0;
18constexpr Cmd cmdGetCpuInfo = 0x1;
Xiuzhi Cheng4f3eb902022-06-08 09:06:33 +080019} // namespace cmd
20
21RspType<> setCpuInfo(uint8_t index, std::vector<char> info);
22RspType<std::vector<char>> getCpuInfo(uint8_t index);
23
24} // namespace ipmi