PTMSYSM:LaunchFIRMRebootSystem: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x04090080] |- | 1-2 | u64 passed to PMApp command 0x..."
 
Guiand (talk | contribs)
No edit summary
Line 9: Line 9:
|-
|-
| 1-2
| 1-2
| u64 passed to [[Process_Manager_Services|PMApp]] command 0x0006XXXX.
| u64 passed to [[Process_Manager_Services|PMApp]] command 0x00060082.
|}
|}


Line 26: Line 26:


=Description=
=Description=
This uses [[Process_Manager_Services|PMApp]] command 0x0006XXXX with the input u64. This then uses [[SVC|svcKernelSetState]] with Type1 and Param0-Param3 = 0. Then this uses [[SVC|svcKernelSetState]] with Type3 where Param0=1 to trigger copying the ARM11 kernel [[FIRM]] parameters buffer to FCRAM+0, then [[SVC|svcKernelSetState]] with Type7 is used to trigger a hardware system reboot via the MCU.
This uses [[Process_Manager_Services|PMApp]] command 0x00060082 with the input u64. This then uses [[SVC|svcKernelSetState]] with Type1 and Param0-Param3 = 0. Then this uses [[SVC|svcKernelSetState]] with Type3 where Param0=1 to trigger copying the ARM11 kernel [[FIRM]] parameters buffer to FCRAM+0, then [[SVC|svcKernelSetState]] with Type7 is used to trigger a hardware system reboot via the MCU.

Revision as of 03:54, 29 March 2015

Request

Index Word Description
0 Header code [0x04090080]
1-2 u64 passed to PMApp command 0x00060082.

Response

Index Word Description
0 Header code
1 Result code

Description

This uses PMApp command 0x00060082 with the input u64. This then uses svcKernelSetState with Type1 and Param0-Param3 = 0. Then this uses svcKernelSetState with Type3 where Param0=1 to trigger copying the ARM11 kernel FIRM parameters buffer to FCRAM+0, then svcKernelSetState with Type7 is used to trigger a hardware system reboot via the MCU.