mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-05 10:13:15 +00:00
macos: Remove need for TLS patch by storing TCB pointer in FS.
This commit is contained in:
parent
7551f061ad
commit
9e5047947b
6 changed files with 103 additions and 28 deletions
|
@ -22,8 +22,10 @@ struct Tcb {
|
|||
void* tcb_thread;
|
||||
};
|
||||
|
||||
#ifdef _WIN32
|
||||
/// Gets the thread local storage key for the TCB block.
|
||||
u32 GetTcbKey();
|
||||
#endif
|
||||
|
||||
/// Sets the data pointer to the TCB block.
|
||||
void SetTcbBase(void* image_address);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue