1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 19:47:46 +00:00

Kernel: Display virtual addresses as V%p instead of L%x

The L was a leftover from when these were called linear addresses.
This commit is contained in:
Andreas Kling 2019-08-23 16:18:27 +02:00
parent 3439a479af
commit e29fd3cd20
8 changed files with 19 additions and 19 deletions

View file

@ -38,7 +38,7 @@ bool ELFLoader::layout()
if (program_header.type() != PT_LOAD)
return;
#ifdef ELFLOADER_DEBUG
kprintf("PH: L%x %u r:%u w:%u\n", program_header.vaddr().get(), program_header.size_in_memory(), program_header.is_readable(), program_header.is_writable());
kprintf("PH: V%p %u r:%u w:%u\n", program_header.vaddr().get(), program_header.size_in_memory(), program_header.is_readable(), program_header.is_writable());
#endif
if (program_header.is_writable()) {
alloc_section_hook(