| 371 | } |
| 372 | |
| 373 | static __fi tDMA_TAG* ReadTag() |
| 374 | { |
| 375 | tDMA_TAG* ptag = dmaGetAddr(gifch.tadr, false); // Set memory pointer to TADR |
| 376 | |
| 377 | if (!(gifch.transfer("Gif", ptag))) |
| 378 | return NULL; |
| 379 | |
| 380 | gifch.madr = ptag[1]._u32; // MADR = ADDR field + SPR |
| 381 | gif.gscycles += 2; // Add 1 cycles from the QW read for the tag |
| 382 | |
| 383 | gif.gspath3done = hwDmacSrcChainWithStack(gifch, ptag->ID); |
| 384 | return ptag; |
| 385 | } |
| 386 | |
| 387 | void GIFdma() |
| 388 | { |
no test coverage detected