APT:StartApplication: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 Created page with "=Request= {| class="wikitable" border="1" |- !  Index Word !  Description |- | 0 | Header code [0x001B00C4] |- | 1 | Buf0 size, max size is 0x300. |- | 2 | Buf1 size, max size is..."  | 
				Steveice10 (talk | contribs) m →Request  | 
				||
| (One intermediate revision by the same user not shown) | |||
| Line 9: | Line 9: | ||
|-  | |-  | ||
| 1  | | 1  | ||
|   | | Parameter Size (capped to 0x300)  | ||
|-  | |-  | ||
| 2  | | 2  | ||
|   | | HMAC Size (capped to 0x20)  | ||
|-  | |-  | ||
| 3  | | 3  | ||
| u8   | | u8, Paused (0 = not paused, 1 = paused)  | ||
|-  | |-  | ||
| 4  | | 4  | ||
| <nowiki>(  | | <nowiki>(Parameter Size << 14) | 2</nowiki>  | ||
|-  | |-  | ||
| 5  | | 5  | ||
|   | | void*, Parameter  | ||
|-  | |-  | ||
| 6  | | 6  | ||
| <nowiki>(  | | <nowiki>(HMAC Size << 14) | 0x802</nowiki>  | ||
|-  | |-  | ||
| 7  | | 7  | ||
|   | | void*, HMAC  | ||
|}  | |}  | ||
| Line 44: | Line 44: | ||
=Description=  | =Description=  | ||
The parameter buffer is copied to NS FIRMparams+0x0, then the HMAC buffer is copied to NS FIRMparams+0x480. Then the application is launched.  | |||
Latest revision as of 08:25, 22 November 2015
Request
| Index Word | Description | 
|---|---|
| 0 | Header code [0x001B00C4] | 
| 1 | Parameter Size (capped to 0x300) | 
| 2 | HMAC Size (capped to 0x20) | 
| 3 | u8, Paused (0 = not paused, 1 = paused) | 
| 4 | (Parameter Size << 14) | 2 | 
| 5 | void*, Parameter | 
| 6 | (HMAC Size << 14) | 0x802 | 
| 7 | void*, HMAC | 
Response
| Index Word | Description | 
|---|---|
| 0 | Header code | 
| 1 | Result code | 
Description
The parameter buffer is copied to NS FIRMparams+0x0, then the HMAC buffer is copied to NS FIRMparams+0x480. Then the application is launched.