blob: c1d044054dd07e5fd5bea8d1e27e289e81ed516f [file] [log] [blame]
Lei YU6505e9d2020-09-21 17:34:32 +08001#pragma once
Lei YU8a454c52020-09-23 16:52:46 +08002#include <cstdint>
Lei YU6505e9d2020-09-21 17:34:32 +08003
4enum ipmi_inspur_net_fns
5{
6 NETFN_OEM_INSPUR = 0x3c,
7};
8
9enum inspur_oem_cmds
10{
11 CMD_OEM_ASSET_INFO = 0x01,
12};
Lei YU8a454c52020-09-23 16:52:46 +080013
14struct AssetInfoHeader
15{
16 uint8_t rwFlag;
17 uint8_t deviceType;
18 uint8_t infoType;
19 uint8_t maskAllPresentLen;
20 uint8_t enableStatus;
21 uint8_t maskPresent;
22 uint8_t maskAllPresent;
23 uint8_t allInfoDone;
24 uint16_t totalMessageLen;
25} __attribute__((packed));