summaryrefslogtreecommitdiff
path: root/Kernel/Arch/RegisterState.h
blob: c70db9a25075c96184510b05ca35b381ba3f6a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) 2018-2021, James Mintram <me@jamesrm.com>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Platform.h>

#if ARCH(X86_64) || ARCH(I386)
#    include <Kernel/Arch/x86/RegisterState.h>
#elif ARCH(AARCH64)
#    include <Kernel/Arch/aarch64/RegisterState.h>
#else
#    error "Unknown architecture"
#endif