diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-06 15:00:44 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-06 15:00:44 +0100 |
commit | c6693f9b3a16ae964696479dd8fdfba90ea95a97 (patch) | |
tree | 2d01819c2461ae84f2db857193d821dbfaf1b1dc /Kernel/Devices/BXVGADevice.cpp | |
parent | b866582d98701f997125ae6d8af2e1b4fd28c401 (diff) | |
download | serenity-c6693f9b3a16ae964696479dd8fdfba90ea95a97.zip |
Kernel: Simplify a bunch of dbg() and klog() calls
LogStream can handle VirtualAddress and PhysicalAddress directly.
Diffstat (limited to 'Kernel/Devices/BXVGADevice.cpp')
-rw-r--r-- | Kernel/Devices/BXVGADevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/BXVGADevice.cpp b/Kernel/Devices/BXVGADevice.cpp index 5ace534de3..508f850412 100644 --- a/Kernel/Devices/BXVGADevice.cpp +++ b/Kernel/Devices/BXVGADevice.cpp @@ -160,7 +160,7 @@ u32 BXVGADevice::find_framebuffer_address() PCI::enumerate_all([&framebuffer_address](const PCI::Address& address, PCI::ID id) { if (id == bochs_vga_id || id == virtualbox_vga_id) { framebuffer_address = PCI::get_BAR0(address) & 0xfffffff0; - klog() << "BXVGA: framebuffer @ P " << String::format("%p", framebuffer_address); + klog() << "BXVGA: framebuffer @ " << PhysicalAddress(framebuffer_address); } }); return framebuffer_address; |