FreeCalypso > hg > fc-selenite
comparison src/gpf/osl/os_mem_fl.c @ 104:82ae724ca0d7
OSL reconstruction fixed to support memory supervision
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 23 Jul 2018 01:47:29 +0000 |
parents | 8b2a9a374324 |
children |
comparison
equal
deleted
inserted
replaced
103:1155be085fc1 | 104:82ae724ca0d7 |
---|---|
359 * this additional zeroing here. | 359 * this additional zeroing here. |
360 */ | 360 */ |
361 bzero(&npool->pcb, sizeof(NU_PARTITION_POOL)); | 361 bzero(&npool->pcb, sizeof(NU_PARTITION_POOL)); |
362 #endif | 362 #endif |
363 if (NU_Create_Partition_Pool(&npool->pcb, PoolName, npool->pool_mem, | 363 if (NU_Create_Partition_Pool(&npool->pcb, PoolName, npool->pool_mem, |
364 POOL_SIZE(Num, Size), Size + 4, NU_FIFO) | 364 POOL_SIZE(Num, Size), |
365 != NU_SUCCESS) | 365 Size + PT_CHKOVERHEAD + PPM_OVERHEAD, |
366 NU_FIFO) != NU_SUCCESS) | |
366 goto release_sem_return_err; | 367 goto release_sem_return_err; |
367 if (!part_group_head) | 368 if (!part_group_head) |
368 PartGrpTable[part_group].grp_head = npool; | 369 PartGrpTable[part_group].grp_head = npool; |
369 else | 370 else |
370 opool->next = npool; | 371 opool->next = npool; |