HPMCmds.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* ***************************************************************
  2. ****************************************************************
  3. ** **
  4. ** (C)Copyright 2012, American Megatrends Inc. **
  5. ** **
  6. ** All Rights Reserved. **
  7. ** **
  8. ** 5555, Oakbrook Parkway, Suite 200, Norcross, **
  9. ** **
  10. ** Georgia - 30093, USA. Phone-(770)-246-8600. **
  11. ** **
  12. ****************************************************************/
  13. /****************************************************************
  14. *
  15. * HPMCmds.h
  16. * HPM Command functions
  17. *
  18. * Author: Joey Chen <JoeyChen@ami.com.tw>
  19. *
  20. *****************************************************************/
  21. #ifndef HPMCMDS_H
  22. #define HPMCMDS_H
  23. #include "Types.h"
  24. /** Extern Definitions **/
  25. extern int GetTargetUpgradeCapablities (_NEAR_ INT8U * pReq,INT8U ReqLen,_NEAR_ INT8U * pRes, _NEAR_ int BMCInst);
  26. extern int GetComponentProperties (_NEAR_ INT8U * pReq,INT8U ReqLen,_NEAR_ INT8U * pRes, _NEAR_ int BMCInst);
  27. extern int InitiateUpgradeAction (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes, _NEAR_ int BMCInst);
  28. extern int QuerySelfTestResults (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes, _NEAR_ int BMCInst);
  29. extern int AbortFirmwareUpgrade (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes, _NEAR_ int BMCInst);
  30. extern int UploadFirmwareBlock (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes, _NEAR_ int BMCInst);
  31. extern int FinishFirmwareUpload (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes, _NEAR_ int BMCInst);
  32. extern int GetUpgradeStatus (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes, _NEAR_ int BMCInst);
  33. extern int ActivateFirmware (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes, _NEAR_ int BMCInst);
  34. extern int QueryRollbackStatus (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes, _NEAR_ int BMCInst);
  35. extern int InitiateManualRollback (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes, _NEAR_ int BMCInst);
  36. #endif /* HPMCMDS_H */