forked from KolibriOS/kolibrios
fixed kernel heap size
git-svn-id: svn://kolibrios.org@793 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
c69afcb005
commit
1fe26ef9de
@ -139,7 +139,7 @@ proc init_kernel_heap
|
|||||||
mov [ebx+block_base], HEAP_BASE+4096*MEM_BLOCK_SIZE
|
mov [ebx+block_base], HEAP_BASE+4096*MEM_BLOCK_SIZE
|
||||||
|
|
||||||
mov ecx, [MEM_AMOUNT]
|
mov ecx, [MEM_AMOUNT]
|
||||||
sub ecx, HEAP_BASE + 4096*MEM_BLOCK_SIZE
|
sub ecx, (HEAP_BASE - OS_BASE + 4096*MEM_BLOCK_SIZE)
|
||||||
mov [heap_size], ecx
|
mov [heap_size], ecx
|
||||||
mov [heap_free], ecx
|
mov [heap_free], ecx
|
||||||
mov [ebx+block_size], ecx
|
mov [ebx+block_size], ecx
|
||||||
|
Loading…
Reference in New Issue
Block a user