ipmi_hal.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  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_hal.h
  17. * This header file chooses either softprocessor apis or hal apis
  18. * for hardware
  19. *
  20. * Author: Vinothkumar S <vinothkumars@ami.com>
  21. *
  22. *****************************************************************/
  23. #ifndef IPMI_HAL_H
  24. #define IPMI_HAL_H
  25. #include "hal_api.h"
  26. #define IPMI_HAL_INIT(dl_handle, BMCInst) hal_init (dl_handle, BMCInst)
  27. #define IPMI_HAL_INIT_SENSOR(BMCInst) hal_init_sensor_tbl(BMCInst)
  28. #define IPMI_HAL_INIT_DEVICES(BMCInst) hal_init_device(BMCInst)
  29. #define IPMI_HAL_GET_SENSOR_PROPERTIES(SEN_NUM, PROP,BMCInst) hal_get_sensor_properties(SEN_NUM, (sensor_properties_t*)PROP,BMCInst)
  30. #define IPMI_HAL_GET_SENSOR_READING(SEN_NUM, READING,BMCInst) hal_get_sensor_reading(SEN_NUM, READING,BMCInst)
  31. #endif //IPMI_HAL_H