Search
lxdream.org :: lxdream/src/asic.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/asic.c
changeset 100:995e42e96cc9
prev94:8d80d9c7cc7d
next125:49bf45f8210a
author nkeynes
date Wed Feb 15 13:11:50 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Split pvr2.c out to separate files for TA and renderer, minor renames
change pvrdma to use mem_copy_to_sh4
file annotate diff log raw
1.1 --- a/src/asic.c Sun Feb 05 04:05:27 2006 +0000
1.2 +++ b/src/asic.c Wed Feb 15 13:11:50 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: asic.c,v 1.11 2006-02-05 04:05:27 nkeynes Exp $
1.6 + * $Id: asic.c,v 1.12 2006-02-15 13:11:42 nkeynes Exp $
1.7 *
1.8 * Support for the miscellaneous ASIC functions (Primarily event multiplexing,
1.9 * and DMA).
1.10 @@ -83,9 +83,7 @@
1.11 uint32_t rcount = DMAC_get_buffer( 2, data, count );
1.12 if( rcount != count )
1.13 WARN( "PVR received %08X bytes from DMA, expected %08X", rcount, count );
1.14 - if( (dest_addr &0xF0000000) == 0x10000000 ) { /* TA */
1.15 - pvr2ta_write( data, rcount );
1.16 - }
1.17 + mem_copy_to_sh4( dest_addr, data, rcount );
1.18 asic_event( EVENT_PVR_DMA );
1.19 }
1.20 break;
.