Search
lxdream.org :: lxdream/src/asic.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/asic.c
changeset 186:79bfebd5e0ff
prev163:cf6b5e87f58d
next188:91ee93613faa
author nkeynes
date Tue Jul 11 21:51:03 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Clear PVR DMA control + size to 0 following transfer (as per hardware)
file annotate diff log raw
1.1 --- a/src/asic.c Sun Jun 18 11:58:47 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:
.