mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-04 23:19:27 +00:00
216089c7a1
This will be used to store the fs_base value on x86-64, which is needed for thread-local storage.
20 lines
430 B
C
20 lines
430 B
C
/*
|
|
* Copyright (c) 2024, Sönke Holz <sholz8530@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Platform.h>
|
|
|
|
#if ARCH(X86_64)
|
|
# include <Kernel/Arch/x86_64/ArchSpecificThreadData.h>
|
|
#elif ARCH(AARCH64)
|
|
# include <Kernel/Arch/aarch64/ArchSpecificThreadData.h>
|
|
#elif ARCH(RISCV64)
|
|
# include <Kernel/Arch/riscv64/ArchSpecificThreadData.h>
|
|
#else
|
|
# error Unknown architecture
|
|
#endif
|