Xiuzhi Cheng | 4f3eb90 | 2022-06-08 09:06:33 +0800 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include <cstdint> |
| 4 | #include <ipmid/api.hpp> |
| 5 | |
| 6 | namespace ipmi |
| 7 | { |
| 8 | |
| 9 | using NetFn = uint8_t; |
| 10 | using Cmd = uint8_t; |
| 11 | using Cc = uint8_t; |
| 12 | |
| 13 | constexpr NetFn netfnKunlunOem = netFnOemSix; |
| 14 | namespace cmd |
| 15 | { |
| 16 | constexpr Cmd cmdSetCpuInfo = 0x0; |
| 17 | constexpr Cmd cmdGetCpuInfo = 0x1; |
| 18 | } // namespace cmd |
| 19 | |
| 20 | RspType<> setCpuInfo(uint8_t index, std::vector<char> info); |
| 21 | RspType<std::vector<char>> getCpuInfo(uint8_t index); |
| 22 | |
| 23 | } // namespace ipmi |