Rev 72 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 72 | Rev 195 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | #define __MEMSTR_H__ |
30 | #define __MEMSTR_H__ |
31 | 31 | ||
32 | #include <typedefs.h> |
32 | #include <typedefs.h> |
33 | #include <arch/types.h> |
33 | #include <arch/types.h> |
34 | 34 | ||
35 | extern void memcopy(__address src, __address dst, size_t cnt); |
35 | extern char * memcopy(void * dst, const void *src, size_t cnt); |
36 | 36 | ||
37 | extern void memsetw(__address dst, size_t cnt, __u16 x); |
37 | extern void memsetw(__address dst, size_t cnt, __u16 x); |
38 | extern void memsetb(__address dst, size_t cnt, __u8 x); |
38 | extern void memsetb(__address dst, size_t cnt, __u8 x); |
39 | 39 | ||
40 | extern int memcmp(__address src, __address dst, int cnt); |
40 | extern int memcmp(__address src, __address dst, int cnt); |
41 | 41 | ||
42 | /* |
42 | /* |
43 | * Architecture independent variants. |
43 | * Architecture independent variants. |
44 | */ |
44 | */ |
45 | extern void _memcopy(__address src, __address dst, size_t cnt); |
45 | extern char * _memcopy(void *dst, const void *src, size_t cnt); |
46 | extern void _memsetb(__address dst, size_t cnt, __u8 x); |
46 | extern void _memsetb(__address dst, size_t cnt, __u8 x); |
47 | 47 | ||
48 | #endif |
48 | #endif |