filename | test/testspu.c |
changeset | 812:8cc61d5ea1f8 |
prev | 278:a66aaa522d31 |
author | nkeynes |
date | Wed May 27 08:46:29 2015 +1000 (8 years ago) |
permissions | -rw-r--r-- |
last change | Add support for extracting the ELF symbol table and printing symbol names alongside the SH4 disassembly |
file | annotate | diff | log | raw |
1.1 --- a/test/testspu.c Sun Jan 14 02:53:11 2007 +00001.2 +++ b/test/testspu.c Wed May 27 08:46:29 2015 +10001.3 @@ -38,7 +38,7 @@1.5 long_write( SPUDMACTL1(chan), 1 );1.6 long_write( SPUDMACTL2(chan), 1 );1.7 - if( asic_wait( EVENT_SPU_DMA0 + chan ) != 0 ) {1.8 + if( asic_wait( EVENT_G2_DMA0 + chan ) != 0 ) {1.9 fprintf( stderr, "Timeout waiting for DMA event\n" );1.10 dump_spu_regs();1.11 return -1;1.12 @@ -60,7 +60,7 @@1.14 long_write( SPUDMACTL1(chan), 1 );1.15 long_write( SPUDMACTL2(chan), 1 );1.16 - if( asic_wait( EVENT_SPU_DMA0 + chan ) != 0 ) {1.17 + if( asic_wait( EVENT_G2_DMA0 + chan ) != 0 ) {1.18 fprintf( stderr, "Timeout waiting for DMA event\n" );1.19 dump_spu_regs();1.20 return -1;
.