1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-11-20 11:16:10 -05:00

Change text

This commit is contained in:
Braiden Vasco 2017-11-04 03:39:56 +00:00
parent 339992a503
commit e397c362f4
2 changed files with 7 additions and 2 deletions

View file

@ -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();

View file

@ -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
);
}