summaryrefslogtreecommitdiff
path: root/Kernel/Arch/aarch64/TrapFrame.cpp
blob: 6455dcbfbada93ff42df3f9b0d7a448074e01dc0 (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/InterruptDisabler.h>

namespace Kernel {

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

}