diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-06-09 00:51:05 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-09 10:57:51 +0200 |
commit | b5d388a9b3f5cb9518417c4c6e0be4b2beda07c7 (patch) | |
tree | 5b70dc0d50dcbf4e86abd9ec4038c0acd588fd8a /Kernel/Net/NE2000NetworkAdapter.cpp | |
parent | e9add0bb80a3070808ef8fb80a853f4d80184cc6 (diff) | |
download | serenity-b5d388a9b3f5cb9518417c4c6e0be4b2beda07c7.zip |
Kernel: Mark NE2000NetworkAdapter::ram_test() UNMAP_AFTER_INIT
Diffstat (limited to 'Kernel/Net/NE2000NetworkAdapter.cpp')
-rw-r--r-- | Kernel/Net/NE2000NetworkAdapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/NE2000NetworkAdapter.cpp b/Kernel/Net/NE2000NetworkAdapter.cpp index c9234cf501..31b962d961 100644 --- a/Kernel/Net/NE2000NetworkAdapter.cpp +++ b/Kernel/Net/NE2000NetworkAdapter.cpp @@ -228,7 +228,7 @@ void NE2000NetworkAdapter::handle_irq(const RegisterState&) out8(REG_RW_INTERRUPTSTATUS, status); } -int NE2000NetworkAdapter::ram_test() +UNMAP_AFTER_INIT int NE2000NetworkAdapter::ram_test() { IOAddress io(PCI::get_BAR0(pci_address()) & ~3); int errors = 0; |