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