Subversion Repositories HelenOS

Rev

Rev 2787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2787 Rev 3424
Line 35... Line 35...
35
#ifndef KERN_ppc32_MEMSTR_H_
35
#ifndef KERN_ppc32_MEMSTR_H_
36
#define KERN_ppc32_MEMSTR_H_
36
#define KERN_ppc32_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
 */