forked from Imagelibrary/rtems
2006-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_bsdnet_internal.h: Add timeout() define.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
2006-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libnetworking/rtems/rtems_bsdnet_internal.h: Add timeout() define.
|
||||
* libnetworking/rtems/rtems_glue.c: Rename timeout() into
|
||||
rtems_bsdnet_timeout().
|
||||
* libnetworking/sys/malloc.h: Remove contigmalloc (non-implemented).
|
||||
|
||||
@@ -127,11 +127,12 @@ struct rtems_bsdnet_ifconfig;
|
||||
/*
|
||||
* Redo kernel memory allocation
|
||||
*/
|
||||
#define malloc rtems_bsdnet_malloc
|
||||
#define free rtems_bsdnet_free
|
||||
#define malloc(size,type,flags) rtems_bsdnet_malloc(size,type,flags)
|
||||
#define free(ptr,type) rtems_bsdnet_free(ptr,type)
|
||||
#define timeout(ftn,arg,ticks) rtems_bsdnet_timeout(ftp,arg,ticks)
|
||||
|
||||
#define M_NOWAIT 0x0001
|
||||
void *rtems_bsdnet_malloc (unsigned long size, int type, int flags);
|
||||
void *rtems_bsdnet_malloc (size_t size, int type, int flags);
|
||||
void rtems_bsdnet_free (void *addr, int type);
|
||||
|
||||
void rtems_bsdnet_semaphore_obtain (void);
|
||||
|
||||
Reference in New Issue
Block a user