diff --git a/Kernel/Arch/aarch64/mcontext.h b/Kernel/Arch/aarch64/mcontext.h new file mode 100644 index 0000000000..c4ebbabab1 --- /dev/null +++ b/Kernel/Arch/aarch64/mcontext.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2022, the SerenityOS developers. + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +#pragma once + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +struct __attribute__((packed)) __mcontext { + int stub; +}; + +#ifdef __cplusplus +} +#endif diff --git a/Kernel/Arch/mcontext.h b/Kernel/Arch/mcontext.h index ee62f487bd..ff9aa4b5ae 100644 --- a/Kernel/Arch/mcontext.h +++ b/Kernel/Arch/mcontext.h @@ -11,5 +11,5 @@ #if ARCH(X86_64) || ARCH(I386) # include #elif ARCH(AARCH64) -# error "Unknown architecture" +# include #endif