Changes

22 bytes added ,  21:32, 15 March 2018
more refs
Line 133: Line 133:  
| 0x4A || [5.0.0+] svcSetUserHeapMemoryAllocationMax || X0=size || W0=result
 
| 0x4A || [5.0.0+] svcSetUserHeapMemoryAllocationMax || X0=size || W0=result
 
|-
 
|-
| 0x4B || [4.0.0+] [[#svcCreateCodeMemory]] || X1=addr, X2=size || W0=result, W1=jit_handle
+
| 0x4B || [4.0.0+] [[#svcCreateCodeMemory]] || X1=addr, X2=size || W0=result, W1=code_memory_handle
 
|-
 
|-
| 0x4C || [4.0.0+] [[#svcControlCodeMemory]] || W0=jit_handle, W1=[[#CodeMemoryOperation]], X2=dstaddr, X3=size, W4=perm || W0=result
+
| 0x4C || [4.0.0+] [[#svcControlCodeMemory]] || W0=code_memory_handle, W1=[[#CodeMemoryOperation]], X2=dstaddr, X3=size, W4=perm || W0=result
 
|-
 
|-
 
| 0x4D || svcSleepSystem || None || None
 
| 0x4D || svcSleepSystem || None || None
Line 861: Line 861:     
== svcAllocateUserHeapMemory ==
 
== svcAllocateUserHeapMemory ==
Same as [[#svcAllocateHeapMemory]] except it always uses pool partition 0.
+
Same as [[#svcMapPhysicalMemory]] except it always uses pool partition 0.
    
== svcCreateCodeMemory ==
 
== svcCreateCodeMemory ==
Takes an address range with backing memory to create the JIT memory object.
+
Takes an address range with backing memory to create the code memory object.
    
The memory is initially memset to 0xFF after being locked.
 
The memory is initially memset to 0xFF after being locked.
Line 877: Line 877:  
Operations [[#CodeMemoryOperation|CodeMemoryOperation_UnmapOwner/CodeMemoryOperation_UnmapSlave]] unmap memory that was previously mapped this way.
 
Operations [[#CodeMemoryOperation|CodeMemoryOperation_UnmapOwner/CodeMemoryOperation_UnmapSlave]] unmap memory that was previously mapped this way.
   −
This allows one "secure JIT" process to map the memory as RW-, and the other "slave" process to map it R-X.
+
This allows one "secure JIT" process to map the code memory as RW-, and the other "slave" process to map it R-X.
    
== svcReadWriteRegister ==
 
== svcReadWriteRegister ==
Line 1,631: Line 1,631:  
| 24 || [[#svcSetMemoryAttribute|AttributeChangeAllowed]]
 
| 24 || [[#svcSetMemoryAttribute|AttributeChangeAllowed]]
 
|-
 
|-
| 25 || [4.0.0+] JitMemoryAllowed
+
| 25 || [4.0.0+] CodeMemoryAllowed
 
|}
 
|}