diff options
Diffstat (limited to 'Kernel/Arch/InterruptManagement.h')
-rw-r--r-- | Kernel/Arch/InterruptManagement.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Kernel/Arch/InterruptManagement.h b/Kernel/Arch/InterruptManagement.h new file mode 100644 index 0000000000..b78fd5dc87 --- /dev/null +++ b/Kernel/Arch/InterruptManagement.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2022, Timon Kruiper <timonkruiper@gmail.com> + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +#pragma once + +#include <AK/Platform.h> + +#if ARCH(X86_64) || ARCH(I386) +# include <Kernel/Arch/x86/InterruptManagement.h> +#elif ARCH(AARCH64) +# include <Kernel/Arch/aarch64/InterruptManagement.h> +#else +# error "Unknown architecture" +#endif |