mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 13:57:49 +08:00
2009-04-15 Wei-Tsun Sun <wsun013@gmail.com>
* libcsupport/src/malloc_initialize.c: Add dummy RTEMS_Malloc_Initialize.
This commit is contained in:
@@ -21,6 +21,16 @@
|
||||
#include <rtems/score/wkspace.h>
|
||||
#include "malloc_p.h"
|
||||
|
||||
/* FIXME: Dummy function */
|
||||
#ifndef RTEMS_NEWLIB
|
||||
void RTEMS_Malloc_Initialize(
|
||||
void *start,
|
||||
size_t length,
|
||||
size_t sbrk_amount
|
||||
)
|
||||
{
|
||||
}
|
||||
#else
|
||||
rtems_malloc_statistics_t rtems_malloc_statistics;
|
||||
extern bool rtems_unified_work_area;
|
||||
|
||||
@@ -116,3 +126,4 @@ void RTEMS_Malloc_Initialize(
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user