IPC: Difference between revisions
Socram8888 (talk | contribs) No edit summary |
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 | 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: |