1 /*
2  *  Routines to access hardware
3  *
4  *  Copyright (c) 2013 Realtek Semiconductor Corp.
5  *
6  *  This module is a confidential and proprietary property of RealTek and
7  *  possession or use of this module requires written permission of RealTek.
8  */
9 
10 #ifndef _MEM_PROC_H_
11 #define _MEM_PROC_H_
12 
13 #include <basic_types.h>
14 
15 /* change name from hal_misc.h */
16 extern _LONG_CALL_ void *_memset( void *s, int c, SIZE_T n );
17 extern _LONG_CALL_ void *_memcpy( void *s1, const void *s2, SIZE_T n );
18 extern _LONG_CALL_ int _memcmp( const void *av, const void *bv, SIZE_T len );
19 extern _LONG_CALL_ void * _memchr(const void * src_void , int c , size_t length);
20 extern _LONG_CALL_ void * _memmove( void * dst_void , const void * src_void , size_t length);
21 
22 void memcpy_gdma_init(void);
23 int memcpy_gdma(void *dest, void *src, u32 size);
24 
25 
26 #endif  //_MEM_PROC_H_