mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[boot] Log address of new table pages
Since it's often needed when debugging between the bootloader and kernel, log the address of the table pages the bootloader allocated.
This commit is contained in:
@@ -215,6 +215,8 @@ allocate_tables(kernel::args::header *args, uefi::boot_services *bs)
|
||||
args->table_count = tables_needed - 1;
|
||||
args->page_tables = offset_ptr<void>(addr, page_size);
|
||||
|
||||
console::print(L" First page (pml4) at: 0x%lx\r\n", pml4);
|
||||
|
||||
add_kernel_pds(pml4, args->page_tables, args->table_count);
|
||||
add_offset_mappings(pml4, args->page_tables, args->table_count);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user