1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-07 12:37:35 +00:00

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
parent 4f0be55770
commit cc0f5917d3
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++)