com_IPMI_SensorEvent.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. * Sensor.h
  17. * Sensor Command numbers
  18. *
  19. *****************************************************************/
  20. #ifndef IPMI_SENSOR_EVENT_H
  21. #define IPMI_SENSOR_EVENT_H
  22. /*** Sensor Event Commands ***/
  23. #define CMD_SET_EVENT_RECEIVER 0x00
  24. #define CMD_GET_EVENT_RECEIVER 0x01
  25. #define CMD_PLATFORM_EVENT 0x02
  26. #define CMD_GET_PEF_CAPABILITIES 0x10
  27. #define CMD_ARM_PEF_POSTPONE_TIMER 0x11
  28. #define CMD_SET_PEF_CONFIG_PARAMS 0x12
  29. #define CMD_GET_PEF_CONFIG_PARAMS 0x13
  30. #define CMD_SET_LAST_PROCESSED_EVENT_ID 0x14
  31. #define CMD_GET_LAST_PROCESSED_EVENT_ID 0x15
  32. #define CMD_ALERT_IMMEDIATE 0x16
  33. #define CMD_PET_ACKNOWLEDGE 0x17
  34. #define CMD_GET_DEV_SDR_INFO 0x20
  35. #define CMD_GET_DEV_SDR 0x21
  36. #define CMD_RESERVE_DEV_SDR_REPOSITORY 0x22
  37. #define CMD_GET_SENSOR_READING_FACTORS 0x23
  38. #define CMD_SET_SENSOR_HYSTERISIS 0x24
  39. #define CMD_GET_SENSOR_HYSTERISIS 0x25
  40. #define CMD_SET_SENSOR_THRESHOLDS 0x26
  41. #define CMD_GET_SENSOR_THRESHOLDS 0x27
  42. #define CMD_SET_SENSOR_EVENT_ENABLE 0x28
  43. #define CMD_GET_SENSOR_EVENT_ENABLE 0x29
  44. #define CMD_REARM_SENSOR_EVENTS 0x2A
  45. #define CMD_GET_SENSOR_EVENT_STATUS 0x2B
  46. #define CMD_GET_SENSOR_READING 0x2D
  47. #define CMD_SET_SENSOR_TYPE 0x2E
  48. #define CMD_GET_SENSOR_TYPE 0x2F
  49. #define CMD_SET_SENSOR_READING 0x30
  50. #endif /* IPMI_SENSOREVENT_H */