SVC: Difference between revisions

DCNick3 (talk | contribs)
Add information about MapPhysicalMemory errors
Line 1,111: Line 1,111:


Uses current process pool partition.
Uses current process pool partition.
=== Result codes ===
'''0x0:''' Success.
'''0xCA01:''' Invalid size passed. It's either zero or not 4k-aligned
'''0xCC01:''' Invalid address. (not 4k-aligned)
'''0xDC01:''' Invalid memory range. It's either causes overflow, or does not fall into "reserved" address range (aka Alias). See AliasRegionAddress at [[#InfoType]]
'''0xFA01:''' Invalid state. (not enough SystemResource (see [[NPDM#SystemResourceSize]]))


== UnmapPhysicalMemory ==
== UnmapPhysicalMemory ==