Subversion Repositories HelenOS

Rev

Rev 2071 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 3104
Line 35... Line 35...
35
#ifndef KERN_ia64_MEMSTR_H_
35
#ifndef KERN_ia64_MEMSTR_H_
36
#define KERN_ia64_MEMSTR_H_
36
#define KERN_ia64_MEMSTR_H_
37
 
37
 
38
#define memcpy(dst, src, cnt)  __builtin_memcpy((dst), (src), (cnt))
38
#define memcpy(dst, src, cnt)  __builtin_memcpy((dst), (src), (cnt))
39
 
39
 
40
extern void memsetw(uintptr_t dst, size_t cnt, uint16_t x);
40
extern void memsetw(void *dst, size_t cnt, uint16_t x);
41
extern void memsetb(uintptr_t dst, size_t cnt, uint8_t x);
41
extern void memsetb(void *dst, size_t cnt, uint8_t x);
42
 
42
 
43
extern int memcmp(uintptr_t src, uintptr_t dst, int cnt);
43
extern int memcmp(const void *a, const void *b, size_t cnt);
44
 
44
 
45
#endif
45
#endif
46
 
46
 
47
/** @}
47
/** @}
48
 */
48
 */