Kernel: Mark MMIOAccess detection function as UNMAP_AFTER_INIT

This commit is contained in:
Brian Gianforcaro 2021-06-09 00:54:10 -07:00 committed by Andreas Kling
parent 40ea464fb0
commit 80a3cc47e5
Notes: sideshowbarker 2024-07-18 12:34:45 +09:00

View file

@ -35,7 +35,7 @@ u8 MMIOAccess::segment_end_bus(u32 seg) const
return segment.value().get_end_bus();
}
PhysicalAddress MMIOAccess::determine_memory_mapped_bus_region(u32 segment, u8 bus) const
UNMAP_AFTER_INIT PhysicalAddress MMIOAccess::determine_memory_mapped_bus_region(u32 segment, u8 bus) const
{
VERIFY(bus >= segment_start_bus(segment) && bus <= segment_end_bus(segment));
auto seg = m_segments.get(segment);