OBSMBladeStateMngr.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /****************************************************************
  2. ** **
  3. ** (C)Copyright 2007-2008, American Megatrends Inc. **
  4. ** **
  5. ** All Rights Reserved. **
  6. ** **
  7. ** 5555, Oakbrook Parkway, Suite 200, Norcross, **
  8. ** **
  9. ** Georgia - 30093, USA. Phone-(770)-246-8600. **
  10. ** **
  11. ****************************************************************/
  12. /****************************************************************
  13. * @file OBSMBladeStateMngr.h
  14. * @author Velu <velmuruganv@amiindia.co.in>
  15. * @brief
  16. ****************************************************************/
  17. #ifndef OBSMBLADESTATEMNGR_H
  18. #define OBSMBLADESTATEMNGR_H
  19. #include "Types.h"
  20. /*** Definitions and Macros ***/
  21. /*** Typedef ***/
  22. /*** Extern Definitions ***/
  23. /*** Function Prototypes ***/
  24. /**
  25. * @brief Process the OBSM blade state routines on every tick
  26. * @param pBlade is the Blade object
  27. * @return None
  28. **/
  29. extern void OBSM_ProcessBladeStateOnTimerTick (BladeInfo_T *pBlade, int BMCInst);
  30. /**
  31. * @brief Process all OBSM blade state transitions
  32. * @param Blade is the Blade object
  33. * @param pEvent is the SEL Event containing all related information
  34. * @return 0 if success, -1 if error
  35. **/
  36. extern int OBSM_ProcessBladeStateChange (BladeInfo_T *pBlade, SELEventRecord_T *pEvent, int BMCInst);
  37. #endif /*OBSMBLADESTATEMNGR_H*/