lwip: use memcpy of Genode

This commit is contained in:
Alexander Boettcher 2013-06-27 12:45:53 +02:00 committed by Stefan Kalkowski
parent 4c9cee24de
commit fd7683f6ea
2 changed files with 6 additions and 0 deletions

View File

@ -99,6 +99,9 @@
#define MEMP_NUM_TCP_PCB 128
#define MEMP_NUM_NETCONN (MEMP_NUM_TCP_PCB + MEMP_NUM_UDP_PCB + MEMP_NUM_RAW_PCB + MEMP_NUM_TCP_PCB_LISTEN - 1)
void genode_memcpy(void * dst, const void *src, unsigned long size);
#define MEMCPY(dst,src,len) genode_memcpy(dst,src,len)
/********************
** Debug settings **
********************/

View File

@ -629,4 +629,7 @@ extern "C" {
}
#endif
void genode_memcpy(void * dst, const void *src, unsigned long size) {
Genode::memcpy(dst, src, size);
}
} /* extern "C" */