mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
2490262eee
commit
499426caf9
27 changed files with 20 additions and 104 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue