summaryrefslogtreecommitdiff
path: root/Kernel/Arch/aarch64/TrapFrame.cpp
blob: c5fa707905470b36e8fc305745dc66a1192e35c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2023, Idan Horowitz <idan.horowitz@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#include <Kernel/Arch/Processor.h>
#include <Kernel/Arch/aarch64/TrapFrame.h>
#include <Kernel/Interrupts/InterruptDisabler.h>

namespace Kernel {

extern "C" void exit_trap(TrapFrame* trap)
{
    return Processor::current().exit_trap(*trap);
}

}