summaryrefslogtreecommitdiff
path: root/Kernel/Arch/TrapFrame.h
blob: 33ddf4ca874784e1f5167c34a34559294a3c044d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) 2022, Gunnar Beutner <gbeutner@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Platform.h>

#if ARCH(X86_64)
#    include <Kernel/Arch/x86_64/TrapFrame.h>
#elif ARCH(AARCH64)
#    include <Kernel/Arch/aarch64/TrapFrame.h>
#else
#    error "Unknown architecture"
#endif