1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:18:13 +00:00

Kernel: Disable __thread and TLS on x86_64 for now

They're not yet properly supported.
This commit is contained in:
Gunnar Beutner 2021-06-29 17:56:04 +02:00 committed by Andreas Kling
parent c0bd2c0691
commit fe2716df21
5 changed files with 28 additions and 6 deletions

View file

@ -612,7 +612,7 @@ KResultOr<FlatPtr> Process::sys$allocate_tls(Userspace<const char*> initial_data
tls_descriptor.set_base(main_thread->thread_specific_data());
tls_descriptor.set_limit(main_thread->thread_specific_region_size());
#else
TODO();
dbgln("FIXME: Not setting FS_BASE for process.");
#endif
return m_master_tls_region.unsafe_ptr()->vaddr().get();