Changes

18 bytes added ,  19:03, 2 March 2015
no edit summary
Line 1: Line 1: −
The IPC commands are written to the Thread Local Storage, at offset 0x80. Every IPC command sent to services starts with a u32 header code, and parameters, if any, are written after this header. If the kernel was able to dispatch the request, the server replies with an error code at TLS+0x84, and after this code there is the response data, if any.
+
The IPC commands are written to the Thread Local Storage, at offset 0x80. Every IPC command sent to services starts with a u32 header code, and parameters, if any, are written after this header. If the kernel was able to dispatch the request, the server reply will be written to TLS+0x80. Often the first word of the response data is the error code (or 0 if success).
    
The command header is a 32-bit integer that can be decompossed in the following parts:
 
The command header is a 32-bit integer that can be decompossed in the following parts: