Changes

189 bytes added ,  21:47, 7 April 2018
no edit summary
Line 141: Line 141:  
| 0x28 (async?)
 
| 0x28 (async?)
 
| NWC24iRequestShutdown
 
| NWC24iRequestShutdown
| 32 bytes
+
| 8 bytes
| 32 bytes
+
| 4 bytes
| Input is a u32 for the event type. This shuts down all KD processes that are running, downloading, mail, NAND writing, etc.
+
| Input is a u32 for the event type.
   −
This is called by STM in the Wakeup function to "shut down KD", which can happen in the following cases:
+
Set a shutdown event flag.
 +
 
 +
If the type is 3, this simply turns off the USB keyboard LEDs and returns 0.
 +
 
 +
Otherwise, this calls KD_ForceCleanupSoCtrl internally and the flag that is set will cause all KD processes that are running (downloading, mail, NAND writing, etc.) to stop.
 +
 
 +
STM calls this ioctl in the Wakeup function to "shut down KD", which can happen in the following cases:
    
* /dev/stm/immediate ioctl 0x2005 is used.
 
* /dev/stm/immediate ioctl 0x2005 is used.
219

edits