Search
lxdream.org :: lxdream :: r151:3d3135644b8e
lxdream 0.9.1
released Jun 29
Download Now
changeset151:3d3135644b8e
parent150:c728a442b43f
child152:d42a4c5cc709
authornkeynes
dateTue May 23 13:11:09 2006 +0000 (14 years ago)
Block writes to the PVRID register (and print an error for informational purposes)
src/pvr2/pvr2.c
1.1 --- a/src/pvr2/pvr2.c Tue May 23 13:10:28 2006 +0000
1.2 +++ b/src/pvr2/pvr2.c Tue May 23 13:11:09 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: pvr2.c,v 1.23 2006-05-15 08:28:52 nkeynes Exp $
1.6 + * $Id: pvr2.c,v 1.24 2006-05-23 13:11:09 nkeynes Exp $
1.7 *
1.8 * PVR2 (Video) Core module implementation and MMIO registers.
1.9 *
1.10 @@ -209,6 +209,10 @@
1.11 return;
1.12 }
1.13
1.14 + if( reg == PVRID ) {
1.15 + ERROR( "Write attempted to readonly register PVRID: ", val );
1.16 + return;
1.17 + }
1.18 INFO( "PVR2 write to %08X <= %08X [%s: %s]", reg, val,
1.19 MMIO_REGID(PVR2,reg), MMIO_REGDESC(PVR2,reg) );
1.20
.