Changes

819 bytes added ,  21:56, 14 August 2016
no edit summary
Line 343: Line 343:  
|<code>int OSShutdown(int status)</code>
 
|<code>int OSShutdown(int status)</code>
 
|Shuts down the console. Behaves identical to holding down the power button. Returns 1 on success
 
|Shuts down the console. Behaves identical to holding down the power button. Returns 1 on success
 +
|}
 +
 +
===Boot=== <!-- TODO: Find better name?? -->
 +
 +
{| class="wikitable"
 +
!Name
 +
!Prototype
 +
!Description
 +
|-
 +
|OSIsColdBoot
 +
|<code>int OSIsColdBoot(void)</code>
 +
|Probably allows for [https://en.wikipedia.org/wiki/Cold_boot_attack cold boot attacks]. Default is 0.
 +
|-
 +
|OSIsSelfRefreshBoot
 +
|<code>int OSIsSelfRefreshBoot(void)</code>
 +
|Probably handles [https://en.wikipedia.org/wiki/Memory_refresh memory refreshing]. Default is 0.
 +
|-
 +
|OSIsNormalBoot
 +
|<code>int OSIsNormalBoot(void)</code>
 +
|Determines the boot type (normal and ?). Default is 1.
 +
|-
 +
|OSIsECOBoot
 +
|<code>int OSIsECOBoot(void)</code>
 +
|Whether to save energy (at the expense of processing power). Default is 0.
 +
|-
 +
|OSIsStandbyBoot
 +
|<code>int OSIsStandbyBoot(void)</code>
 +
|Whether the boot is in [https://en.wikipedia.org/wiki/Sleep_mode sleep mode]. Default is 0.
 
|}
 
|}