diff --git a/c/src/lib/libbsp/arm/altera-cyclone-v/startup/bspstart.c b/c/src/lib/libbsp/arm/altera-cyclone-v/startup/bspstart.c index 8722bb8838..f7ad9e9ebb 100644 --- a/c/src/lib/libbsp/arm/altera-cyclone-v/startup/bspstart.c +++ b/c/src/lib/libbsp/arm/altera-cyclone-v/startup/bspstart.c @@ -31,6 +31,18 @@ #define BSPSTART_MAX_CORES_PER_CONTROLLER 2 +#ifdef RTEMS_NETWORKING +/* FIXME: This is a workaround for the broken cache manager support */ + +#include + +void* rtems_bsdnet_malloc_mbuf(size_t size, int type) +{ + (void)type; + return altera_cyclone_v_nocache_malloc(size); +} +#endif + static void bsp_start_secondary_cores( void ) { #ifdef RTEMS_SMP