sce_main.c Fixing address used (line 100): DMA_D1_MADR -> DMA_D1_TADR
authorJillian Ye <jillian@cygnus>
Wed, 8 Apr 1998 19:46:08 +0000 (19:46 +0000)
committerJillian Ye <jillian@cygnus>
Wed, 8 Apr 1998 19:46:08 +0000 (19:46 +0000)
sim/testsuite/sky/sce_main.c

index d6a74754c8d2d0b3e0daf499afd57c4c3a0cdf69..522673d312891797bef5905264b2100db282fc62 100644 (file)
@@ -97,7 +97,7 @@ void DMA_enable(void) {
 void start_DMA_ch1_source_chain(void* data) {
     *DMA_D_CTRL  = 0x01; /* DMA enable */
     *DMA_D1_QWC  = 0x00;
-    *DMA_D1_MADR = (int)data; 
+    *DMA_D1_TADR = (int)data; 
     *DMA_D1_CHCR = MODE_CHAIN | DMA_START | DMA_Dn_CHCR__TTE;
 
 }