mirror of
https://github.com/tailix/kernel.git
synced 2024-11-20 11:16:10 -05:00
Change text
This commit is contained in:
parent
339992a503
commit
e397c362f4
2 changed files with 7 additions and 2 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue