APT:StartApplication: Difference between revisions

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)
mNo edit summary
Line 9: Line 9:
|-
|-
| 1
| 1
| Buf0 size, max size is 0x300.
| Parameter Size (capped to 0x300)
|-
|-
| 2
| 2
| Buf1 size, max size is 0x20(can be zero).
| HMAC Size (capped to 0x20)
|-
|-
| 3
| 3
| u8 flag
| u8, Flag
|-
|-
| 4
| 4
| <nowiki>(Size0<<14) | 2</nowiki>
| <nowiki>(Parameter Size << 14) | 2</nowiki>
|-
|-
| 5
| 5
| Buf0 ptr
| void*, Parameter
|-
|-
| 6
| 6
| <nowiki>(Size1<<14) | 0x802</nowiki>
| <nowiki>(HMAC Size << 14) | 0x802</nowiki>
|-
|-
| 7
| 7
| Buf1 ptr
| void*, HMAC
|}
|}


Line 44: Line 44:


=Description=
=Description=
Buf0 is copied to NS FIRMparams+0x0, then Buf1 is copied to NS FIRMparams+0x480. Then the application is launched.
The parameter buffer is copied to NS FIRMparams+0x0, then the HMAC buffer is copied to NS FIRMparams+0x480. Then the application is launched.