ladybird/Kernel/Arch/mcontext.h
Jakub V. Flasar f94293f121 Kernel: Create a stub mcontext for aarch64
The struct only has a stub integer so that the size is the same for C
and C++. Something caught by CLion.

This commit was made with mrkct's help!
2022-03-12 14:54:12 -08:00

16 lines
288 B
C

/*
* Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Platform.h>
#if ARCH(X86_64) || ARCH(I386)
# include <Kernel/Arch/x86/mcontext.h>
#elif ARCH(AARCH64)
# include <Kernel/Arch/aarch64/mcontext.h>
#endif