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