Parcourir la source

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

This requires a few stubs such that the compiler won't complain.
Timon Kruiper il y a 3 ans
Parent
commit
d631a3daf6
2 fichiers modifiés avec 11 ajouts et 0 suppressions
  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();
 }
 
+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
 
         Interrupts/GenericInterruptHandler.cpp
+        Interrupts/IRQHandler.cpp
     )
 
     # Otherwise linker errors e.g undefined reference to `__aarch64_cas8_acq_rel'