* Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34415 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -224,7 +224,7 @@ heap_init(stage2_args* args)
|
|||||||
|
|
||||||
sHeapBase = base;
|
sHeapBase = base;
|
||||||
sMaxHeapSize = (uint8*)top - (uint8*)base;
|
sMaxHeapSize = (uint8*)top - (uint8*)base;
|
||||||
sAvailable = sMaxHeapSize - sizeof(uint32);
|
sAvailable = sMaxHeapSize - FreeChunk::NextOffset();
|
||||||
|
|
||||||
// declare the whole heap as one chunk, and add it
|
// declare the whole heap as one chunk, and add it
|
||||||
// to the free list
|
// to the free list
|
||||||
|
|||||||
Reference in New Issue
Block a user