Subversion Repositories HelenOS

Rev

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

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