util.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====**
  2. * Copyright (c) 2009 by UVCHIP Inc. All rights reserved.
  3. * This source code contains confidential, trade secret material of
  4. * UVCHIP Inc. Any attempt or participation in deciphering, decoding,
  5. * reverse engineering or in any way altering the source code is strictly
  6. * prohibited.
  7. *
  8. * Branch/Tag Name: $Name$
  9. * FileName: $RCSfile$
  10. * Description:
  11. *
  12. * This file is used to build test drive firmware for fpga drive ip modele
  13. *
  14. * $Author$
  15. * $Date$
  16. * $Revision$
  17. *
  18. **====*====*====*====*====*====*====*====*====*====*====*====*====*====*====**
  19. * Revisions History
  20. *
  21. * $Log$
  22. **====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/
  23. #ifndef UTIL_H_
  24. #define UTIL_H_
  25. extern void *sys_memcpy(void *p_des,const void * p_src,unsigned long size);
  26. extern void sys_memcpy_32(void *p_des,const void * p_src,unsigned long size);
  27. extern void sys_memset(void *p_des,unsigned char c,unsigned long size);
  28. extern void sys_memset32(void *p_des,int c,unsigned long size);
  29. extern int sys_memcmp(const void * cs,const void * ct,unsigned int count);
  30. extern void * _memcpy(void * dest,const void *src,unsigned int count);
  31. #endif