mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
19 lines
368 B
C++
19 lines
368 B
C++
/*
|
|
* 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);
|
|
}
|
|
|
|
}
|