* Enlarged chunk size to 64k - this fixes boot over the network.
* Fixed typos. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37590 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a6036edea1
commit
8a5b57ee47
@ -16,7 +16,7 @@
|
||||
#include <boot/platform.h>
|
||||
|
||||
|
||||
static const size_t kChunkSize = 8 * B_PAGE_SIZE;
|
||||
static const size_t kChunkSize = 16 * B_PAGE_SIZE;
|
||||
|
||||
kernel_args gKernelArgs;
|
||||
|
||||
@ -468,7 +468,7 @@ kernel_args_malloc(size_t size)
|
||||
}
|
||||
|
||||
if (add_kernel_args_range(block, size) != B_OK)
|
||||
panic("kernel_args max range to low!\n");
|
||||
panic("kernel_args max range too low!\n");
|
||||
return block;
|
||||
}
|
||||
|
||||
@ -483,7 +483,7 @@ kernel_args_malloc(size_t size)
|
||||
sLast = block;
|
||||
sFree = kChunkSize - size;
|
||||
if (add_kernel_args_range(block, kChunkSize) != B_OK)
|
||||
panic("kernel_args max range to low!\n");
|
||||
panic("kernel_args max range too low!\n");
|
||||
|
||||
return block;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user