blob: de477b9158ed69cdd97b47c2743ed636618a595b [file] [log] [blame]
#pragma once
#include <ipmid/api.hpp>
#include <cstdint>
namespace ipmi
{
using NetFn = uint8_t;
using Cmd = uint8_t;
using Cc = uint8_t;
constexpr NetFn netfnKunlunOem = netFnOemSix;
namespace cmd
{
constexpr Cmd cmdSetCpuInfo = 0x0;
constexpr Cmd cmdGetCpuInfo = 0x1;
} // namespace cmd
RspType<> setCpuInfo(uint8_t index, std::vector<char> info);
RspType<std::vector<char>> getCpuInfo(uint8_t index);
} // namespace ipmi