|
wavelength 1.0.0
|
Go to the source code of this file.
Classes | |
| struct | dma_channel |
| The registers of a channel the simulation steps. More... | |
Enumerations | |
| enum | { DMA_CHANNEL_VIF0 = 0 , DMA_CHANNEL_VIF1 = 1 , DMA_CHANNEL_GIF = 2 , DMA_CHANNEL_FROM_IPU = 3 , DMA_CHANNEL_TO_IPU = 4 , DMA_CHANNEL_SIF0 = 5 , DMA_CHANNEL_SIF1 = 6 , DMA_CHANNEL_SIF2 = 7 , DMA_CHANNEL_FROM_SPR = 8 , DMA_CHANNEL_TO_SPR = 9 } |
| DMA controller simulation of the DMAdebug packet checker. More... | |
Functions | |
| int | DMA_step (void) |
| Move the next quadword of the channel, validating each tag a chain reads. | |
Variables | |
| int | g_nDmaChannel |
| Index of the channel being checked, one of the DMA_CHANNEL values. | |
| const unsigned int * | g_pDmaQword |
| The quadword the last step moved, or null. | |
| int | g_nDmaQwordIsTag |
| Non-zero when the quadword the last step moved is a DMA tag. | |
| anonymous enum |
DMA controller simulation of the DMAdebug packet checker.
The checker steps a copy of a channel's registers through a transfer a quadword at a time, validating and reporting each DMA tag of a chain. The routine names are inferred. EE DMA channels, in the order of their names.
| Enumerator | |
|---|---|
| DMA_CHANNEL_VIF0 | Channel 0, VIF0. |
| DMA_CHANNEL_VIF1 | Channel 1, VIF1. |
| DMA_CHANNEL_GIF | Channel 2, GIF. |
| DMA_CHANNEL_FROM_IPU | Channel 3, from the IPU. |
| DMA_CHANNEL_TO_IPU | Channel 4, to the IPU. |
| DMA_CHANNEL_SIF0 | Channel 5, SIF0. |
| DMA_CHANNEL_SIF1 | Channel 6, SIF1. |
| DMA_CHANNEL_SIF2 | Channel 7, SIF2. |
| DMA_CHANNEL_FROM_SPR | Channel 8, from the scratchpad. |
| DMA_CHANNEL_TO_SPR | Channel 9, to the scratchpad. |
| int DMA_step | ( | void | ) |
Move the next quadword of the channel, validating each tag a chain reads.
Leaves the quadword in g_pDmaQword, or null there when the step moved none.
|
extern |
Index of the channel being checked, one of the DMA_CHANNEL values.
|
extern |
The quadword the last step moved, or null.
|
extern |
Non-zero when the quadword the last step moved is a DMA tag.