Forráskód Böngészése

Kernel: Add Interrupts/IRQHandler.cpp to the aarch64 build

This requires a few stubs such that the compiler won't complain.
Timon Kruiper 3 éve
szülő
commit
d631a3daf6
2 módosított fájl, 11 hozzáadás és 0 törlés
  1. 10 0
      Kernel/Arch/aarch64/Dummy.cpp
  2. 1 0
      Kernel/CMakeLists.txt

+ 10 - 0
Kernel/Arch/aarch64/Dummy.cpp

@@ -146,4 +146,14 @@ u8 InterruptManagement::acquire_mapped_interrupt_number(u8)
     VERIFY_NOT_REACHED();
     VERIFY_NOT_REACHED();
 }
 }
 
 
+InterruptManagement& InterruptManagement::the()
+{
+    VERIFY_NOT_REACHED();
+}
+
+RefPtr<IRQController> InterruptManagement::get_responsible_irq_controller(u8)
+{
+    VERIFY_NOT_REACHED();
+}
+
 }
 }

+ 1 - 0
Kernel/CMakeLists.txt

@@ -452,6 +452,7 @@ else()
         Memory/VMObject.cpp
         Memory/VMObject.cpp
 
 
         Interrupts/GenericInterruptHandler.cpp
         Interrupts/GenericInterruptHandler.cpp
+        Interrupts/IRQHandler.cpp
     )
     )
 
 
     # Otherwise linker errors e.g undefined reference to `__aarch64_cas8_acq_rel'
     # Otherwise linker errors e.g undefined reference to `__aarch64_cas8_acq_rel'