There was an error fetching the commit references. Please try again later.
Kernel/Threads: Dynamically allocate the TLS region for threads in the BASE...
Kernel/Threads: Dynamically allocate the TLS region for threads in the BASE region of the linear heap. Each thread gets a 0x200-byte area from the 0x1000-sized page, when all 8 thread slots in a single page are used up, the kernel allocates a new page to hold another 8 entries. This is consistent with what the real kernel does.
Showing
- src/core/hle/kernel/memory.cpp 0 additions, 1 deletionsrc/core/hle/kernel/memory.cpp
- src/core/hle/kernel/process.h 5 additions, 2 deletionssrc/core/hle/kernel/process.h
- src/core/hle/kernel/thread.cpp 67 additions, 17 deletionssrc/core/hle/kernel/thread.cpp
- src/core/hle/kernel/thread.h 2 additions, 2 deletionssrc/core/hle/kernel/thread.h
- src/core/memory.h 0 additions, 6 deletionssrc/core/memory.h
Loading
Please register or sign in to comment