Search
lxdream.org :: lxdream :: r186:79bfebd5e0ff
lxdream 0.9.1
released Jun 29
Download Now
changeset186:79bfebd5e0ff
parent185:6755a04c447f
child187:f6ce97841afc
authornkeynes
dateTue Jul 11 21:51:03 2006 +0000 (13 years ago)
Clear PVR DMA control + size to 0 following transfer (as per hardware)
src/asic.c
1.1 --- a/src/asic.c Tue Jul 11 01:35:27 2006 +0000
1.2 +++ b/src/asic.c Tue Jul 11 21:51:03 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: asic.c,v 1.17 2006-06-18 11:58:47 nkeynes Exp $
1.6 + * $Id: asic.c,v 1.18 2006-07-11 21:51:03 nkeynes Exp $
1.7 *
1.8 * Support for the miscellaneous ASIC functions (Primarily event multiplexing,
1.9 * and DMA).
1.10 @@ -233,6 +233,8 @@
1.11 WARN( "PVR received %08X bytes from DMA, expected %08X", rcount, count );
1.12 mem_copy_to_sh4( dest_addr, data, rcount );
1.13 asic_event( EVENT_PVR_DMA );
1.14 + MMIO_WRITE( ASIC, PVRDMACTL, 0 );
1.15 + MMIO_WRITE( ASIC, PVRDMACNT, 0 );
1.16 }
1.17 break;
1.18 case PVRDMADEST: case PVRDMACNT: case MAPLE_DMA:
.