1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00
serenity/DevTools
Andreas Kling 734f63d522 UserspaceEmulator: Add basic TLS (thread-local storage) support
The SoftMMU now receives full X86::LogicalAddress values from SoftCPU.
This allows the MMU to reroute TLS accesses to a special memory region.

The ELF executable's PT_TLS header tells us how to allocate the TLS.

Basically, the GS register points to a magical 4-byte area which has
a pointer to the TCB (thread control block). The TCB lives in normal
flat memory space and is accessed through the DS register.
2020-07-12 01:36:45 +02:00
..
FormCompiler AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
HackStudio TextEditor: Tweak 16x16 icon 2020-07-04 19:44:27 +02:00
Inspector LibGUI: Make GUI::Application a Core::Object 2020-07-04 14:05:57 +02:00
IPCCompiler AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
Profiler Profiler: Use SortingProxyModel::set_sort_role() 2020-07-04 19:22:30 +02:00
UserspaceEmulator UserspaceEmulator: Add basic TLS (thread-local storage) support 2020-07-12 01:36:45 +02:00
VisualBuilder LibGUI: Turn GUI::Application::the() into a pointer 2020-07-04 16:54:55 +02:00
CMakeLists.txt UserspaceEmulator: Start building a userspace X86 emulator :^) 2020-07-07 22:44:58 +02:00