Difference between revisions of "APT:Reboot"

From 3dbrew
Jump to navigation Jump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1-4
 
| 1-4
| 0x10-byte [[FS:GetProgramLaunchInfo|struct]] for the title which will be run under the launched [[FIRM]].
+
| [[Filesystem_services#ProgramInfo|Program Info]] for the title which will be run under the launched [[FIRM]].
 
|-
 
|-
 
| 5
 
| 5
| u8, when the FIRM TID-low is not TWL_FIRM this is written to the u8 at FIRM parambuf+0x400.
+
| u8, [[FIRM#FIRM_Launch_Parameters|FIRM Launch Memory Flags]]
 
|-
 
|-
 
| 6
 
| 6
| [[FIRM]] titleID-low which will be launched.
+
| [[FIRM]] Title ID Low
 
|}
 
|}
  
Line 32: Line 32:
  
 
=Description=
 
=Description=
This triggers a FIRM [[PMApp:LaunchFIRMSetParams|launch]]. Normally the input titleID from the 0x10-byte structure is written to the FIRM parameter buffer, however this is skipped when this titleID matches the TIDs for [[NS#AppIDs|appID]] 0x101, 0x103, or 0x104(appID 0x104 is only checked here on older NS versions however).
+
This triggers a [[FIRM]] [[PMApp:LaunchFIRMSetParams|launch]]. Normally the input Title ID from the 0x10-byte structure is written to the FIRM parameter buffer, however this is skipped when this Title ID matches the TIDs for [[NS_and_APT_Services#AppIDs|AppID]] 0x101, 0x103, or 0x104 ([[NS_and_APT_Services#AppIDs|AppID]] 0x104 is only checked here on older NS versions however).

Latest revision as of 04:23, 22 November 2015

Request[edit]

Index Word Description
0 Header code [0x00490180]
1-4 Program Info for the title which will be run under the launched FIRM.
5 u8, FIRM Launch Memory Flags
6 FIRM Title ID Low

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This triggers a FIRM launch. Normally the input Title ID from the 0x10-byte structure is written to the FIRM parameter buffer, however this is skipped when this Title ID matches the TIDs for AppID 0x101, 0x103, or 0x104 (AppID 0x104 is only checked here on older NS versions however).