Search
lxdream.org :: lxdream/src/pvr2/pvr2.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.c
changeset 56:3224dceaf2a3
prev35:21a4be098304
next65:9f124c245fc6
author nkeynes
date Sun Jan 01 08:09:42 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Implement PVR DMA channel
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.c Mon Dec 26 03:54:55 2005 +0000
1.2 +++ b/src/pvr2/pvr2.c Sun Jan 01 08:09:42 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: pvr2.c,v 1.10 2005-12-26 03:54:52 nkeynes Exp $
1.6 + * $Id: pvr2.c,v 1.11 2006-01-01 08:09:42 nkeynes Exp $
1.7 *
1.8 * PVR2 (Video) MMIO and supporting functions.
1.9 *
1.10 @@ -22,6 +22,7 @@
1.11 #include "mem.h"
1.12 #include "asic.h"
1.13 #include "pvr2.h"
1.14 +#include "sh4/sh4core.h"
1.15 #define MMIO_IMPL
1.16 #include "pvr2.h"
1.17
1.18 @@ -38,6 +39,7 @@
1.19 void pvr2_init( void )
1.20 {
1.21 register_io_region( &mmio_region_PVR2 );
1.22 + register_io_region( &mmio_region_PVR2TA );
1.23 video_base = mem_get_region_by_name( MEM_REGION_VIDEO );
1.24 }
1.25
1.26 @@ -139,3 +141,21 @@
1.27 {
1.28 mmio_region_PVR2_write( DISPADDR1, base );
1.29 }
1.30 +
1.31 +
1.32 +int32_t mmio_region_PVR2TA_read( uint32_t reg )
1.33 +{
1.34 + return 0xFFFFFFFF;
1.35 +}
1.36 +
1.37 +char pvr2ta_remainder[8];
1.38 +
1.39 +void mmio_region_PVR2TA_write( uint32_t reg, uint32_t val )
1.40 +{
1.41 +
1.42 +}
1.43 +
1.44 +void pvr2ta_write( char *buf, uint32_t length )
1.45 +{
1.46 +
1.47 +}
.