com_IPMI_App.h 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /****************************************************************
  2. ****************************************************************
  3. ** **
  4. ** (C)Copyright 2005-2006, American Megatrends Inc. **
  5. ** **
  6. ** All Rights Reserved. **
  7. ** **
  8. ** 6145-F, Northbelt Parkway, Norcross, **
  9. ** **
  10. ** Georgia - 30071, USA. Phone-(770)-246-8600. **
  11. ** **
  12. ****************************************************************
  13. ****************************************************************
  14. *****************************************************************
  15. *
  16. * IPMI_App.h
  17. * Application Command numbers
  18. *
  19. *****************************************************************/
  20. #ifndef IPMI_APP_H
  21. #define IPMI_APP_H
  22. #ifndef uint8_t
  23. #define uint8_t unsigned char
  24. #endif
  25. #ifndef uint16_t
  26. #define uint16_t unsigned short
  27. #endif
  28. #ifndef uint32_t
  29. #define uint32_t unsigned long
  30. #endif
  31. /*** Application Commands ***/
  32. #define CMD_GET_DEV_ID 0x01
  33. #define CMD_BROADCAST_GET_DEV_ID 0x01
  34. #define CMD_COLD_RESET 0x02
  35. #define CMD_WARM_RESET 0x03
  36. #define CMD_GET_SELF_TEST_RESULTS 0x04
  37. #define CMD_MFG_TEST_ON 0x05
  38. #define CMD_SET_ACPI_PWR_STATE 0x06
  39. #define CMD_GET_ACPI_PWR_STATE 0x07
  40. #define CMD_GET_DEV_GUID 0x08
  41. #define CMD_GET_NETFN_SUP 0x09
  42. #define CMD_GET_CMD_SUP 0x0A
  43. #define CMD_GET_SUBFN_SUP 0x0B
  44. #define CMD_GET_CONFIG_CMDS 0x0C
  45. #define CMD_GET_CONFIG_SUB_FNS 0x0D
  46. #define CMD_SET_CMD_ENABLES 0x60
  47. #define CMD_GET_CMD_ENABLES 0x61
  48. #define CMD_SET_SUBFN_ENABLES 0x62
  49. #define CMD_GET_SUBFN_ENABLES 0x63
  50. #define CMD_GET_OEM_NETFN_IANA_SUPPORT 0x64
  51. #define CMD_RESET_WDT 0x22
  52. #define CMD_SET_WDT 0x24
  53. #define CMD_GET_WDT 0x25
  54. #define CMD_SET_BMC_GBL_ENABLES 0x2E
  55. #define CMD_GET_BMC_GBL_ENABLES 0x2F
  56. #define CMD_CLR_MSG_FLAGS 0x30
  57. #define CMD_GET_MSG_FLAGS 0x31
  58. #define CMD_ENBL_MSG_CH_RCV 0x32
  59. #define CMD_GET_MSG 0x33
  60. #define CMD_SEND_MSG 0x34
  61. #define CMD_READ_EVT_MSG_BUFFER 0x35
  62. #define CMD_GET_BTIFC_CAP 0x36
  63. #define CMD_GET_SYSTEM_GUID 0x37
  64. #define CMD_GET_CH_AUTH_CAP 0x38
  65. #define CMD_GET_SESSION_CHALLENGE 0x39
  66. #define CMD_ACTIVATE_SESSION 0x3A
  67. #define CMD_SET_SESSION_PRIV_LEVEL 0x3B
  68. #define CMD_CLOSE_SESSION 0x3C
  69. #define CMD_GET_SESSION_INFO 0x3D
  70. #define CMD_GET_AUTH_CODE 0x3F
  71. #define CMD_SET_CH_ACCESS 0x40
  72. #define CMD_GET_CH_ACCESS 0x41
  73. #define CMD_GET_CH_INFO 0x42
  74. #define CMD_SET_USER_ACCESS 0x43
  75. #define CMD_GET_USER_ACCESS 0x44
  76. #define CMD_SET_USER_NAME 0x45
  77. #define CMD_GET_USER_NAME 0x46
  78. #define CMD_SET_USER_PASSWORD 0x47
  79. #define CMD_MASTER_WRITE_READ 0x52
  80. #define CMD_ACTIVATE_PAYLOAD 0x48
  81. #define CMD_DEACTIVATE_PAYLOAD 0x49
  82. #define CMD_GET_PAYLD_ACT_STATUS 0x4A
  83. #define CMD_GET_PAYLD_INST_INFO 0x4B
  84. #define CMD_SET_USR_PAYLOAD_ACCESS 0x4C
  85. #define CMD_GET_USR_PAYLOAD_ACCESS 0x4D
  86. #define CMD_GET_CH_PAYLOAD_SUPPORT 0x4E
  87. #define CMD_GET_CH_PAYLOAD_VER 0x4F
  88. #define CMD_GET_CH_OEM_PAYLOAD_INFO 0x50
  89. #define CMD_GET_CH_CIPHER_SUITES 0x54
  90. #define CMD_SUS_RES_PAYLOAD_ENCRYPT 0x55
  91. #define CMD_SET_CH_SECURITY_KEYS 0x56
  92. #define CMD_GET_SYS_IFC_CAPS 0x57
  93. #define CMD_SET_SYSTEM_INFO_PARAM 0x58
  94. #define CMD_GET_SYSTEM_INFO_PARAM 0x59
  95. #endif /* IPMI_APP_H */