Subversion Repositories HelenOS-historic

Rev

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

Rev 1769 Rev 1780
Line 35... Line 35...
35
#ifndef __mips32_MEMSTR_H__
35
#ifndef __mips32_MEMSTR_H__
36
#define __mips32_MEMSTR_H__
36
#define __mips32_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(__address dst, size_t cnt, __u16 x);
40
extern void memsetw(uintptr_t dst, size_t cnt, uint16_t x);
41
extern void memsetb(__address dst, size_t cnt, __u8 x);
41
extern void memsetb(uintptr_t dst, size_t cnt, uint8_t x);
42
 
42
 
43
extern int memcmp(__address src, __address dst, int cnt);
43
extern int memcmp(uintptr_t src, uintptr_t dst, int cnt);
44
 
44
 
45
#endif
45
#endif
46
 
46
 
47
/** @}
47
/** @}
48
 */
48
 */