SOLBuf.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. * SOLBuf.h
  17. * SOL Buffer handler
  18. *
  19. * Author: Govind Kothandapani <govindk@ami.com>
  20. * : Gowtham Shanmukham<gowthams@ami.com>
  21. *
  22. *****************************************************************/
  23. #ifndef SOLBUF_H
  24. #define SOLBUF_H
  25. #include "Types.h"
  26. #define SOL_SEND_BUF 0x00
  27. #define SOL_RECV_BUF 0x01
  28. extern INT8U InitSOLBuf (int send_buf_size, int recv_buf_size,int BMCInst,INT8U *SendBuf,INT8U *RecvBuf);
  29. extern INT8U ClearSOLBuf (int BMCInst);
  30. extern int GetSOLBufSize (int buf_ix,int BMCInst);
  31. extern int AddToSOLBuf (int buf_ix, _FAR_ INT8U* p_buf, int size,int BMCInst);
  32. extern int RemoveFromSOLBuf (int buf_ix, int size,int BMCInst);
  33. extern int ReadFromSOLBuf (int buf_ix, int offset, int size, _FAR_ INT8U* p_buf,int BMCInst);
  34. #endif /* SOLBUF_H */