Home Menu: Difference between revisions
| Line 755: | Line 755: | ||
== Home Menu startup == | == Home Menu startup == | ||
The following what Home Menu does at startup(converted from cmd-logs), from [[9.4.0-21]], in the same order Home Menu does it. | The following is what Home Menu does at startup(converted from cmd-logs), from [[9.4.0-21]], in the same order Home Menu does it. | ||
Originally Home Menu mounted sdmc in main(), starting(?) with [[6.0.0-11]] Home Menu only has sdmc mounted while handling [[SD_Savedata_Backups]]. | Originally Home Menu mounted sdmc in main(), starting(?) with [[6.0.0-11]] Home Menu only has sdmc mounted while handling [[SD_Savedata_Backups]]. | ||
| Line 769: | Line 769: | ||
| | | | ||
| | | | ||
| srv_init(), then srv_GetServiceHandle is used to initialize the service handles for the following services: [[NS_and_APT_Services|ns:s]], [[ | | srv_init(), then srv_GetServiceHandle is used to initialize the service handles for the following services: [[NS_and_APT_Services|ns:s]], [[PTM_Services|ptm:sysm]], and [[Config_Services|cfg:s]]. | ||
|- | |- | ||
| | | | ||
| Line 789: | Line 789: | ||
| | | | ||
| | | | ||
| Home Menu initializes [[Filesystem_services|fs:USER]] here. Home Menu then | | Home Menu initializes [[Filesystem_services|fs:USER]] here. Home Menu then mounts the Home Menu CXI RomFS. Then Home Menu uses [[Filesystem_services|FSUSER:GetPriority]]. | ||
|- | |||
| | |||
| | |||
| | |||
| Home Menu starts APT initialization / using APT service commands here. Eventually Home Menu then [[NSS:LaunchTitle|launches]] various system-modules. | |||
|- | |||
| | |||
| | |||
| | |||
| Here Home Menu attempts to open NAND shared-[[extdata]] 0xe0000000, which will normally fail since it doesn't exist. | |||
|- | |||
| | |||
| | |||
| | |||
| Here Home Menu uses [[Application_Manager_Services|AM]] command 0x00130040, with input u8 = value 0x0. Home Menu continues using APT commands after this. | |||
|- | |||
| | |||
| | |||
| | |||
| [[HID_Services|hid:SPVR]] service initialization is done here. | |||
|- | |||
| | |||
| | |||
| | |||
| [[PTM_Services|PTMSYSM:GetShellStatus]] is used here. | |||
|- | |||
| | |||
| | |||
| | |||
| [[Filesystem_services|FSUSER:GetCardType]] is used here. AM commands are then used to check whether a gamecard is inserted, when a gamecard is inserted the gamecard ExeFS:/icon is then read to check the auto-boot flag(see the auto-boot section on this page). | |||
|- | |- | ||
| Home Menu [[System_SaveData]] | | Home Menu [[System_SaveData]] | ||