summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/mem.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/mem.c b/kernel/mem.c
index e05ca3e..dea1284 100644
--- a/kernel/mem.c
+++ b/kernel/mem.c
@@ -173,10 +173,8 @@ uint32_t mem_init(multiboot_information *info)
uint64_t mem_start=mmap->base_addr;
uint64_t mem_end=mmap->base_addr+mmap->length;
- #ifdef MEM_PRINT_MEMORYMAP
klog("%08X - %08X / type: %s, (size: %d)",
(uint32_t)mem_start, (uint32_t)mem_end, memmap_type_to_string[mmap->type-1], mmap->size);
- #endif
uint32_t mem=mmap->length;
@@ -221,7 +219,7 @@ uint32_t mem_init(multiboot_information *info)
klog("Usable ~%d / %d MB ",mem_free_blocks*4096/1024/1024,total_mem/1024/1024);
klog(
- "Free 4K blocks: %d (first free: %d)",mem_free_blocks,mem_min_block);
+ "Free 4K blocks: %d (first free: 0x%08X)",mem_free_blocks,mem_min_block);
return mem_min_block;