mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
added GetSelfTestResult defines
This commit is contained in:
parent
f9f0599908
commit
89f6d591e0
@ -84,4 +84,24 @@ struct ipm_devid_rsp {
|
|||||||
|
|
||||||
#define IPM_DEV_ADTL_SUPPORT_BITS (8)
|
#define IPM_DEV_ADTL_SUPPORT_BITS (8)
|
||||||
|
|
||||||
|
struct ipm_selftest_rsp {
|
||||||
|
unsigned char code;
|
||||||
|
unsigned char test;
|
||||||
|
} __attribute__ ((packed));
|
||||||
|
|
||||||
|
#define IPM_SFT_CODE_OK 0x55
|
||||||
|
#define IPM_SFT_CODE_NOT_IMPLEMENTED 0x56
|
||||||
|
#define IPM_SFT_CODE_DEV_CORRUPTED 0x57
|
||||||
|
#define IPM_SFT_CODE_FATAL_ERROR 0x58
|
||||||
|
#define IPM_SFT_CODE_RESERVED 0xff
|
||||||
|
|
||||||
|
#define IPM_SELFTEST_SEL_ERROR 0x80
|
||||||
|
#define IPM_SELFTEST_SDR_ERROR 0x40
|
||||||
|
#define IPM_SELFTEST_FRU_ERROR 0x20
|
||||||
|
#define IPM_SELFTEST_IPMB_ERROR 0x10
|
||||||
|
#define IPM_SELFTEST_SDRR_EMPTY 0x08
|
||||||
|
#define IPM_SELFTEST_INTERNAL_USE 0x04
|
||||||
|
#define IPM_SELFTEST_FW_BOOTBLOCK 0x02
|
||||||
|
#define IPM_SELFTEST_FW_CORRUPTED 0x01
|
||||||
|
|
||||||
#endif /*IPMI_MC_H */
|
#endif /*IPMI_MC_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user