BMCInit.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /******************************************************************
  2. ******************************************************************
  3. *** **
  4. *** (C)Copyright 2012, American Megatrends Inc. **
  5. *** **
  6. *** All Rights Reserved. **
  7. *** **
  8. *** 5555 , Oakbrook Pkwy, Norcross, **
  9. *** **
  10. *** Georgia - 30093, USA. Phone-(770)-246-8600. **
  11. *** **
  12. ******************************************************************
  13. ******************************************************************
  14. ******************************************************************
  15. *
  16. * BMCInit.h
  17. * BMC Initialization routines
  18. *
  19. ******************************************************************/
  20. #ifndef _BMCINIT_H_
  21. #define _BMCINIT_H_
  22. #include "Types.h"
  23. #include "Debug.h"
  24. //#include "OSPort.h"
  25. #include "PendTask.h"
  26. #include "PEF.h"
  27. #include "SensorAPI.h"
  28. #include "featuredef.h"
  29. #include "BMCInfo.h"
  30. #include "IPMIConf.h"
  31. #include "AMIDevice.h"
  32. #include "ChassisCtrl.h"
  33. #include "NVRAccess.h"
  34. #include "Platform.h"
  35. #include "GUID.h"
  36. #include "SDR.h"
  37. #include "SEL.h"
  38. #include "FRU.h"
  39. #include "Sensor.h"
  40. #define PWR_ALWAYS_OFF 0x00
  41. #define PWR_RESTORED 0x01
  42. #define PWR_ALWAYS_ON 0x02
  43. #define PWR_NO_CHANGE 0x03
  44. #define PREV_POWER_STATE 0x01
  45. /**
  46. *@fn PreInitMsgHndlr
  47. *@brief Initializtions to be done before invoking MsgHndlr task
  48. *@param BMCInst - BMC Instance
  49. */
  50. extern int PreInitMsgHndlr(int BMCInst);
  51. /**
  52. *@fn PostInitMsgHndlr
  53. *@brief Initializtions to be done after invoking MsgHndlr task
  54. *@param BMCInst - BMC Instance
  55. */
  56. extern int PostInitMsgHndlr(int BMCInst);
  57. #endif