diff --git a/drivers/net/mmnif.c b/drivers/net/mmnif.c index 0010ffbe..48e3663c 100644 --- a/drivers/net/mmnif.c +++ b/drivers/net/mmnif.c @@ -491,9 +491,10 @@ __inline void* mmnif_shmalloc() /* We choose a arbitrary address first * until i know how to properly allocate shared memory */ - //mpb_start_address = RCCE_shmalloc(mpb_size*MMNIF_CORES); + RCCE_shmalloc_init(0x80000000,2*8192); + mpb_start_address = RCCE_shmalloc(mpb_size*MMNIF_CORES); //mpb_start_address = 0x8000000+ mpb_size * (own_ip_address - router_ip_address); - SHMalloc(&mpb_start_address); + //SHMalloc(&mpb_start_address); return mpb_start_address + (mpb_size) * (own_ip_address - router_ip_address); #endif }