Changes

172 bytes added ,  00:10, 4 March 2020
Line 2,195: Line 2,195:  
== Initialize ==
 
== Initialize ==
 
Takes an input [[#BusHandle]], an u64 [[AM_services|AppletResourceUserId]], no output.
 
Takes an input [[#BusHandle]], an u64 [[AM_services|AppletResourceUserId]], no output.
 +
 +
Prior to using this cmd, sdknso handles [[#GetSharedMemoryHandle|sharedmem]] mapping if not done previously.
    
== Finalize ==
 
== Finalize ==
Line 2,218: Line 2,220:     
The SharedMemory is mapped with size 0x1000 and permissions=R--.
 
The SharedMemory is mapped with size 0x1000 and permissions=R--.
 +
 +
See also [[#SetStatusManagerType]].
    
== EnableJoyPollingReceiveMode ==
 
== EnableJoyPollingReceiveMode ==
Line 2,228: Line 2,232:  
Takes an input u32, no output.
 
Takes an input u32, no output.
   −
This is used by sdknso immediately after mapping [[#GetSharedMemoryHandle|sharedmem]] with hard-coded value 0x2.
+
This is used by sdknso immediately after mapping [[#GetSharedMemoryHandle|sharedmem]] (before [[#Initialize]]) with hard-coded value 0x2.
    
== BusHandle ==
 
== BusHandle ==