SVC: Difference between revisions
Line 248: | Line 248: | ||
== svcMapMemory == | == svcMapMemory == | ||
Maps a memory range into a different range | '''Description:''' Maps a memory range into a different range. | ||
Source range gets reprotected to ---, and | Useful for adding guard pages around stack. | ||
Source range gets reprotected to --- (it can no longer be accessed), and bit0 is set in [[#MemoryAttribute]]. | |||
Destination range is enforced to be within a special region. Code can get the range of this region from [[#svcGetInfo]] id0=2,3. | Destination range is enforced to be within a special region. Code can get the range of this region from [[#svcGetInfo]] id0=2,3. |