mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 19:07:01 +02:00
2f5396c6a5
* Rework guest memory tracking * add unknwon flag * Fix macOS guest address-space reservation
9 lines
366 B
C++
9 lines
366 B
C++
#if defined(__APPLE__) && defined(__x86_64__)
|
|
|
|
// Make the process own the guest ranges before any runtime initialization.
|
|
asm(".zerofill SYSTEM_MANAGED,SYSTEM_MANAGED,__kyty_system_managed,0x7fffbc000");
|
|
asm(".zerofill SYSTEM_RESERVED,SYSTEM_RESERVED,__kyty_system_reserved,0x7c0004000");
|
|
asm(".zerofill USER_AREA,USER_AREA,__kyty_user_area,0x8c00000000");
|
|
|
|
#endif
|