NFC Services: Difference between revisions
Socram8888 (talk | contribs) mNo edit summary  | 
				Socram8888 (talk | contribs)  | 
				||
| Line 34: | Line 34: | ||
Commands for post-9.3.0-21 have been extracted by analyzing the amiibo Settings applet. Therefore this table may be missing commands.  | Commands for post-9.3.0-21 have been extracted by analyzing the amiibo Settings applet. Therefore this table may be missing commands.  | ||
Command header is stored at [[Thread Local Storage|TLS]]+0x80. Input and output parameters, if any, are set at TLS+0x84 onwards. If the command specifies has a parameter named "pid", this value has to be set to 0x20, as the kernel will replace the next word ("pidPlaceholder") with the process' real PID (see [[IPC_Command_Structure]]).  | Command header is stored at [[Thread Local Storage|TLS]]+0x80. Input and output parameters, if any, are set at TLS+0x84 onwards. If the command specifies has a parameter named "pid", this value has to be set to 0x20, as the kernel will replace the next word ("pidPlaceholder" - which can be left uninitialized) with the process' real PID (see [[IPC_Command_Structure]]).  | ||
Note that the function name is actually a nickname for easeness of reading, as original function names have been stripped off the binaries.  | Note that the function name is actually a nickname for easeness of reading, as original function names have been stripped off the binaries.  | ||