From 01665d725a200c3c51bcd834cc8324ec057286c4 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Tue, 13 Oct 2009 18:32:26 +0200 Subject: Heap is now in a separate class, Heap. --- Source/Kernel/Shell/KernelShell-sys.class.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Kernel/Shell') diff --git a/Source/Kernel/Shell/KernelShell-sys.class.cpp b/Source/Kernel/Shell/KernelShell-sys.class.cpp index 17ff19c..6243b0f 100644 --- a/Source/Kernel/Shell/KernelShell-sys.class.cpp +++ b/Source/Kernel/Shell/KernelShell-sys.class.cpp @@ -29,7 +29,7 @@ void KernelShell::free(Vector& args) { u32int frames = PhysMem::total(), freef = PhysMem::free(); *m_vt << " - Free frames : " << (s32int)freef << " (" << (s32int)(freef * 4 / 1024) << "Mo) of " << (s32int)frames << " (" << (s32int)(frames * 4 / 1024) << "Mo).\n"; - u32int kh = Mem::kheapSize(), freek = Mem::kheapFree; + u32int kh = Mem::kheapSize(), freek = Mem::kheapFree(); *m_vt << " - Kernel heap free : " << (s32int)(freek / 1024 / 1024) << "Mo (" << (s32int)(freek / 1024) << "Ko) of " << (s32int)(kh / 1024 / 1024) << "Mo (" << (s32int)(kh / 1024) << "Ko).\n"; } -- cgit v1.2.3