]>
git.zerfleddert.de Git - rsbs2/blob - bmc/ipmb.h
1 #define IPMB_APP_GET_DEVICE_ID 0x01
2 #define IPMB_APP_GET_WATCHDOG_TIMER 0x25
4 #define IPMB_CHASSIS_GET_STATUS 0x01
5 #define IPMB_CHASSIS_CONTROL 0x02
7 #define IPMB_SE_PLATFORM_EVENT 0x02
9 #define IPMB_STORAGE_RESERVE_SDR 0x22
10 #define IPMB_STORAGE_GET_SDR 0x23
11 #define IPMB_STORAGE_GET_SEL_INFO 0x40
12 #define IPMB_STORAGE_GET_SEL_ALLOCATION 0x41
13 #define IPMB_STORAGE_GET_SEL_ENTRY 0x43
14 #define IPMB_STORAGE_GET_SEL_TIME 0x48
16 #define IPMB_NETFN_CHASSIS 0x00
17 #define IPMB_NETFN_BRIDGE 0x02
18 #define IPMB_NETFN_SENSOR_EVENT 0x04
19 #define IPMB_NETFN_APP 0x06
20 #define IPMB_NETFN_FIRMWARE 0x08
21 #define IPMB_NETFN_STORAGE 0x0a
23 #define IPMB_CC_NORMALLY 0x00
24 #define IPMB_CC_BUSY 0xc0
25 #define IPMB_CC_INVALID 0xc1
26 #define IPMB_CC_ERROR 0xff
28 /* ipmb1010ltd.pdf page 27 (33) */
51 void decode_ipmb_pkt(unsigned char *buf
, int len
);