diff --git a/arch/init.c b/arch/init.c index 5c0a4b3..0df8974 100644 --- a/arch/init.c +++ b/arch/init.c @@ -7,7 +7,7 @@ void init(struct KernelMQ_Multiboot_Info multiboot_info) { console_initialize(); - logger_info("Memory info:"); + logger_info("Virtual memory info:"); print_memory_info(); diff --git a/arch/memory.c b/arch/memory.c index 7d863a9..2669c41 100644 --- a/arch/memory.c +++ b/arch/memory.c @@ -13,5 +13,10 @@ const unsigned int memory_virt_base = (unsigned int)&_memory_virt_base; void print_memory_info() { - kprintf("0x%x + 0x%x = 0x%x\n", memory_phys_base, memory_offset, memory_virt_base); + kprintf( + "0x%x (phys base) + 0x%x (offset) = 0x%x (virt base)\n", + memory_phys_base, + memory_offset, + memory_virt_base + ); }