ソースを参照

Kernel: Mark PCISerialDevice::detect() as UNMAP_AFTER_INIT

Brian Gianforcaro 4 年 前
コミット
f124affc8e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Kernel/Devices/PCISerialDevice.cpp

+ 1 - 1
Kernel/Devices/PCISerialDevice.cpp

@@ -10,7 +10,7 @@ namespace Kernel {
 
 
 static SerialDevice* s_the = nullptr;
 static SerialDevice* s_the = nullptr;
 
 
-void PCISerialDevice::detect()
+UNMAP_AFTER_INIT void PCISerialDevice::detect()
 {
 {
     size_t current_device_minor = 68;
     size_t current_device_minor = 68;
     PCI::enumerate([&](const PCI::Address& address, PCI::ID id) {
     PCI::enumerate([&](const PCI::Address& address, PCI::ID id) {