kernel_args_malloc() now actually maintain the kernel_args ranges correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9442 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -169,7 +169,7 @@ kernel_args_malloc(size_t size)
|
||||
sFirstFree = (void *)((addr_t)block + size);
|
||||
sLast = block;
|
||||
sFree = kChunkSize - size;
|
||||
if (add_kernel_args_range(block, size) != B_OK)
|
||||
if (add_kernel_args_range(block, kChunkSize) != B_OK)
|
||||
panic("kernel_args max range to low!\n");
|
||||
|
||||
return block;
|
||||
|
||||
Reference in New Issue
Block a user