1
0
Fork 0
forked from len0rd/rockbox

remove MEM_FUNCTION_WRAPPERS, and private mem* implementations from plugins, and replace with pluginlib implementations in plugins/lib/gcc-support.c

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19847 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andrew Mahone 2009-01-24 22:57:57 +00:00
parent 2490262eee
commit 499426caf9
27 changed files with 20 additions and 104 deletions

View file

@ -28,3 +28,23 @@ void __attribute__((naked)) __div0(void)
asm volatile("bx %0" : : "r"(rb->__div0));
}
#endif
void *memcpy(void *dest, const void *src, size_t n)
{
return rb->memcpy(dest, src, n);
}
void *memset(void *dest, int c, size_t n)
{
return rb->memset(dest, c, n);
}
void *memmove(void *dest, const void *src, size_t n)
{
return rb->memmove(dest, src, n);
}
int memcmp(const void *s1, const void *s2, size_t n)
{
return rb->memcmp(s1, s2, n);
}