Kernel: Slap a handful more things with UNMAP_AFTER_INIT

This commit is contained in:
Andreas Kling 2021-02-20 00:00:19 +01:00
commit cc0f5917d3
Notes: sideshowbarker 2024-07-18 22:08:33 +09:00
7 changed files with 15 additions and 15 deletions

View file

@ -282,7 +282,7 @@ void RTL8139NetworkAdapter::reset()
out16(REG_ISR, 0xffff);
}
void RTL8139NetworkAdapter::read_mac_address()
UNMAP_AFTER_INIT void RTL8139NetworkAdapter::read_mac_address()
{
MACAddress mac {};
for (int i = 0; i < 6; i++)