kern: use common GIC implementation for arm/arm64

This commit is contained in:
Michael Scire 2020-08-11 17:38:13 -07:00 committed by SciresM
parent f07bd0e337
commit 48e8562033
7 changed files with 364 additions and 253 deletions

View file

@ -24,6 +24,13 @@
using ams::kern::arch::arm64::KInterruptController;
}
#elif defined(ATMOSPHERE_ARCH_ARM)
#include <mesosphere/arch/arm/kern_k_interrupt_controller.hpp>
namespace ams::kern {
using ams::kern::arch::arm::KInterruptController;
}
#else
#error "Unknown architecture for KInterruptController"