By entering this site you need to consent to the use of cookies and their functional use according to this privacy policy. Cookies help us to provide the functional services of the website. Kindly read the below message of use and consent to the use.
The following cookies are stored and shared when accessing this website:
- Internal cookies for the MediaWiki site. This is used for user authentication and article modifications.
- Third-party cookies from Google providing services for Google AdSense and Google Analytics
We will never use data collected outside of the above scope.
This is "nn::aocsrv::detail::IAddOnContentManager".
This is "nn::aocsrv::detail::IAddOnContentManager".
+
+
This is only available when [[Process_Manager_services|pm:bm]] GetBootMode returns output 0 (Normal).
{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 3,684:
Line 3,686:
= Uid =
= Uid =
This is "nn::account::Uid". This is a 0x10-byte struct. This contains 2 u64s for the UserId.
This is "nn::account::Uid". This is a 0x10-byte struct. This contains 2 u64s for the UserId.
+
+
= Notes =
+
[[Process_Manager_services|pm:bm]] GetBootMode is used to determine whether aoc:u is available (see above).
+
+
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.
+
+
In the above block, InactivateContentMetaDatabase/InactivateContentStorage are only used if using ActivateContentMetaDatabase/ActivateContentStorage failed (error is only checked after using both cmds). If any of the ncm cmds prior to this fail, it will skip using the rest of the ncm cmds.