Changes

309 bytes added ,  22:54, 3 September 2022
added the message structure
Line 1: Line 1: −
PXI is the inter-processor communication interface between the ARM7 and ARM9.  Most user code runs on the ARM9 and makes requests to the ARM7 to access various hardware (SD, NAND, AES, etc).   Each module is identified by a tag.
+
PXI is the inter-processor communication interface between the ARM7 and ARM9.  Most user code runs on the ARM9 and makes requests to the ARM7 to access various hardware (SD, NAND, AES, etc). Each module is identified by a tag.
    +
== IPC message structure ==
 +
IPC messages are stored in a single integer, and are sent to the IPC FIFO.
 +
 +
{| class="wikitable"
 +
! Bit(s)
 +
! Description
 +
|-
 +
| 31-6
 +
| Arguments
 +
|-
 +
| 5
 +
| No handler (when no handler exists, the message is sent back with this bit enabled)
 +
|-
 +
| 4-0
 +
| Service
 +
|}
 +
 +
== Known PXI services ==
 
* PXI 0x2: Boot (used by [[boot2]])
 
* PXI 0x2: Boot (used by [[boot2]])
 
** subcommand 1: send 8 times to halt
 
** subcommand 1: send 8 times to halt
322

edits