0x80.
Header bits 31:16 are the command ID, 11:6 normal-word count, 5:0 translated-word
count; bits 15:12 must be zero. Header plus both regions must fit 64 words.0x200-aligned TLS slot.
Full RAM read/write permissions are checked before invoking handlers or
allocating output handles. MMIO is never used for command-buffer transfers.
Serialization makes the write preflight stable through response publication.hle_ipc.cpp) takes any well-formed descriptor and
classifies buffers before handles: copied (0x00) and moved (0x10) handles,
up to 8 in all, the calling PID (0x20, the kernel writes the real PID over the
client's word), static buffers (2) the service reads, PXI buffers (6 the
service reads, 4 it also writes, as libctru's IPC_Desc_PXIBuffer), and
mapped buffers (0xA read, 0xC write, 0xE both). Every buffer is checked
against the caller's memory for the access it grants before any handler runs,
and handlers still check the exact form each command takes. A request with more
than 8 handles stops the run, since the runtime does not translate it. Switch
descriptors are never used.--ctr-auto-stub-ipc=0 they
stop the run, unless --ipc-stubs names their service (all, or srv, fs,
apt, ptm, hid, gsp, cfg, dsp, system, am, where fs covers file
sessions too).srv: and 32 FS sessions. These are bounded implementation quotas, not
complete hardware resource-limit/ExHeader capability enforcement. APT/PTM/HID
session caps are 2 each. Threads and the other kernel objects follow the
APPLICATION resource limit (32 threads including the initial one).
Read-only FSFILE objects have a separate 64-object cap.Made from docs/platforms/3ds/ipc.md at 69237645142c. GPL-3.0-or-later.