mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
216089c7a1
This will be used to store the fs_base value on x86-64, which is needed for thread-local storage.
19 lines
430 B
C
19 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
|