Changes

482 bytes added ,  00:21, 28 January 2023
no edit summary
Line 2,632: Line 2,632:     
[13.0.0+] This was moved from [[Account_services|account]].
 
[13.0.0+] This was moved from [[Account_services|account]].
 +
 +
This is only available when the output from [[Process_Manager_services|pm:bm]] GetBootMode is Normal/Maintenance.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 3,122: Line 3,124:     
[13.0.0+] This was moved from [[Account_services|account]].
 
[13.0.0+] This was moved from [[Account_services|account]].
 +
 +
This is only available when the output from [[Process_Manager_services|pm:bm]] GetBootMode is Normal/Maintenance.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 3,274: Line 3,278:     
[13.0.0+] This was moved from [[Account_services|account]].
 
[13.0.0+] This was moved from [[Account_services|account]].
 +
 +
This is only available when the output from [[Process_Manager_services|pm:bm]] GetBootMode is Normal/Maintenance.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 3,688: Line 3,694:     
= Notes =
 
= Notes =
[[Process_Manager_services|pm:bm]] GetBootMode is used to determine whether aoc:u is available (see above).
+
[[Process_Manager_services|pm:bm]] GetBootMode is used to determine whether aoc:u is available (see above). This value is also passed to thread "nn.ns.DelayedInitialization", which calls various funcs depending on the BootMode in various cases.
    
The output of GetBootMode is also written into state. This same func later enters a code block when BootMode is Maintenance/SafeMode: various [[NCM_services|ncm]] cmds are used with input StorageId=BuiltInUser (VerifyContentMetaDatabase, VerifyContentStorage, ActivateContentMetaDatabase, ActivateContentStorage, InactivateContentMetaDatabase, InactivateContentStorage) and state fields are written. Then if the BootMode is Maintenance the savedata for [[Flash_Filesystem|ns_rightsid]] (0x800000000000004A) is deleted. Then 0 is returned.
 
The output of GetBootMode is also written into state. This same func later enters a code block when BootMode is Maintenance/SafeMode: various [[NCM_services|ncm]] cmds are used with input StorageId=BuiltInUser (VerifyContentMetaDatabase, VerifyContentStorage, ActivateContentMetaDatabase, ActivateContentStorage, InactivateContentMetaDatabase, InactivateContentStorage) and state fields are written. Then if the BootMode is Maintenance the savedata for [[Flash_Filesystem|ns_rightsid]] (0x800000000000004A) is deleted. Then 0 is returned.