1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:58:12 +00:00

Kernel/PCI: Don't expose virtual addresses on the kernel log

This commit is contained in:
Liav A 2021-04-04 21:00:02 +03:00 committed by Andreas Kling
parent 7bd0384fa6
commit 543c29377b

View file

@ -107,7 +107,7 @@ UNMAP_AFTER_INIT MMIOAccess::MMIOAccess(PhysicalAddress p_mcfg)
// PCI::PhysicalID objects to the vector, because get_capabilities calls
// PCI::read16 which will need this region to be mapped.
m_mapped_region = MM.allocate_kernel_region(determine_memory_mapped_bus_region(0, m_segments.get(0).value().get_start_bus()), MEMORY_RANGE_PER_BUS, "PCI ECAM", Region::Access::Read | Region::Access::Write);
dmesgln("PCI ECAM Mapped region @ {}", m_mapped_region->vaddr());
dbgln("PCI ECAM Mapped region @ {}", m_mapped_region->vaddr());
enumerate_hardware([&](const Address& address, ID id) {
m_physical_ids.append({ address, id, get_capabilities(address) });