mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 03:31:49 +01:00
Add TLS memory map
This commit is contained in:
parent
8c5a224af7
commit
67b2ee3ea5
@ -15,6 +15,9 @@ namespace core {
|
||||
// Map stack memory
|
||||
memory::Map(uc, 0x3000000, 0x1000000, "stack");
|
||||
SetRegister(UC_ARM64_REG_SP, 0x3100000);
|
||||
memory::Map(uc, 0x2000000, 0x1000, "tls");
|
||||
SetRegister(UC_ARM64_REG_TPIDRRO_EL0, 0x2000000);
|
||||
|
||||
currentContext = this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user