From 1fe26ef9dee04bb521b515090bf4689f5cff0d68 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Mon, 21 Apr 2008 09:44:14 +0000 Subject: [PATCH] fixed kernel heap size git-svn-id: svn://kolibrios.org@793 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/heap.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trunk/core/heap.inc b/kernel/trunk/core/heap.inc index 9d59f9e2b8..c54c97710a 100644 --- a/kernel/trunk/core/heap.inc +++ b/kernel/trunk/core/heap.inc @@ -139,7 +139,7 @@ proc init_kernel_heap mov [ebx+block_base], HEAP_BASE+4096*MEM_BLOCK_SIZE 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_free], ecx mov [ebx+block_size], ecx