This commit is contained in:
root 2011-06-21 06:02:21 +02:00
parent de450fe139
commit 92e8072fdf

View file

@ -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
}