1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

Kernel: Add GenericInterruptHandler.cpp to aarch64 build

This requires us to add an Interrupts.h file in the Kernel/Arch
directory, which includes the architecture specific files.

The commit also stubs out the functions to be able to compile the
aarch64 Kernel.
This commit is contained in:
Timon Kruiper 2022-05-11 16:54:03 +02:00 committed by Linus Groh
parent f1baa56cc8
commit 2fd5e9f729
9 changed files with 68 additions and 6 deletions

View file

@ -0,0 +1,26 @@
/*
* Copyright (c) 2022, Timon Kruiper <timonkruiper@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Arch/Interrupts.h>
namespace Kernel {
GenericInterruptHandler& get_interrupt_handler(u8)
{
VERIFY_NOT_REACHED();
}
void register_generic_interrupt_handler(u8, GenericInterruptHandler&)
{
VERIFY_NOT_REACHED();
}
void unregister_generic_interrupt_handler(u8, GenericInterruptHandler&)
{
VERIFY_NOT_REACHED();
}
}