Hardware/Processor interface: Difference between revisions
< Hardware
Marionumber1 (talk | contribs) →IRQ Sources: Add masks for IRQs |
Marionumber1 (talk | contribs) →IRQ Sources: Rename some DSP IRQs to be more accurate |
||
| Line 16: | Line 16: | ||
|0 || Error || Processor Interface || 0x1 | |0 || Error || Processor Interface || 0x1 | ||
|- | |- | ||
|1 || {{hw|DSP}} | |1 || {{hw|DSP}} || Processor Interface || 0x40 | ||
|- | |- | ||
|2 || {{hw|GX2}} || Processor Interface (Latte) || 0x800000 | |2 || {{hw|GX2}} || Processor Interface (Latte) || 0x800000 | ||
| Line 28: | Line 28: | ||
|6 || {{hw|Audio Interface}} (Gamepad) || {{hw|DSP}} (Latte) || 0x1000 | |6 || {{hw|Audio Interface}} (Gamepad) || {{hw|DSP}} (Latte) || 0x1000 | ||
|- | |- | ||
|7 || DSP | |7 || DSP Accelerator || {{hw|DSP}} || 0x20 | ||
|- | |- | ||
|8 || DSP DMA || {{hw|DSP}} || 0x80 | |8 || DSP DMA || {{hw|DSP}} || 0x80 | ||
Revision as of 05:18, 26 August 2015
| Processor interface | |
| Access | |
|---|---|
| Espresso | Full |
| Starbuck | None |
| Registers | |
| Base | 0x0c000000 |
| Length | 0xc0000 |
| Access size | 32 bits |
| Byte order | Big Endian |
IRQ Sources
| IRQ | Description | Connection | Mask |
|---|---|---|---|
| 0 | Error | Processor Interface | 0x1 |
| 1 | DSP | Processor Interface | 0x40 |
| 2 | GX2 | Processor Interface (Latte) | 0x800000 |
| 3 | GPIPPC (?) | AHB | 0x400 |
| 4 | I2C | AHB (Latte) | 0x2000 |
| 5 | Audio Interface (TV) | DSP | 0x8 |
| 6 | Audio Interface (Gamepad) | DSP (Latte) | 0x1000 |
| 7 | DSP Accelerator | DSP | 0x20 |
| 8 | DSP DMA | DSP | 0x80 |
| 9 | IPC (CPU0) | AHB (Latte) | 0x40000000 |
| 10 | IPC (CPU1) | AHB (Latte) | 0x10000000 |
| 11 | IPC (CPU2) | AHB (Latte) | 0x4000000 |
| 12 | Latte IRQs | Processor Interface (Latte) | 0x1000000 |
Register List
| Processor Interface | |||
|---|---|---|---|
| Address | Bits | Name | Description |
| 0x0c000000 | 32 | PI_INTSR_GLOBAL | Globally-triggered IRQs |
| 0x0c000004 | 32 | PI_INTMR_GLOBAL | Globally-allowed IRQs |
| 0x0c000078 | 32 | PI_INTSR_CPU0 | Triggered IRQs for CPU0 |
| 0x0c00007c | 32 | PI_INTMR_CPU0 | Allowed IRQs for CPU0 |
| 0x0c000080 | 32 | PI_INTSR_CPU1 | Triggered IRQs for CPU1 |
| 0x0c000084 | 32 | PI_INTMR_CPU1 | Allowed IRQs for CPU1 |
| 0x0c000088 | 32 | PI_INTSR_CPU2 | Triggered IRQs for CPU2 |
| 0x0c00008c | 32 | PI_INTMR_CPU2 | Allowed IRQs for CPU2 |