mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
9522794a0e
This makes `ARCH=riscv64 Toolchain/BuildGNU.sh` work, but the patches might not be completely correct.
15 lines
356 B
C
15 lines
356 B
C
/*
|
|
* Copyright (c) 2022, the SerenityOS developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#if defined(__x86_64__)
|
|
# include <Kernel/Arch/x86_64/mcontext.h>
|
|
#elif defined(__aarch64__)
|
|
# include <Kernel/Arch/aarch64/mcontext.h>
|
|
#elif defined(__riscv) && __riscv_xlen == 64
|
|
# include <Kernel/Arch/riscv64/mcontext.h>
|
|
#endif
|