Search
lxdream.org :: lxdream/src/sh4/pmm.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/pmm.c
changeset 929:fd8cb0c82f5f
prev841:808d64b05073
next975:007bf7eb944f
author nkeynes
date Sat Dec 20 03:01:40 2008 +0000 (12 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change First pass experiment using cached decoding.
file annotate diff log raw
1.1 --- a/src/sh4/pmm.c Tue Sep 02 11:53:16 2008 +0000
1.2 +++ b/src/sh4/pmm.c Sat Dec 20 03:01:40 2008 +0000
1.3 @@ -131,8 +131,8 @@
1.4 }
1.5 }
1.6
1.7 -int32_t mmio_region_PMM_read( uint32_t reg )
1.8 -{
1.9 +MMIO_REGION_READ_FN( PMM, reg )
1.10 +{
1.11 switch( reg & 0x1F ) {
1.12 case 0: return 0; /* not a register */
1.13 case PMCTR1H:
1.14 @@ -150,7 +150,7 @@
1.15 }
1.16 }
1.17
1.18 -void mmio_region_PMM_write( uint32_t reg, uint32_t val )
1.19 +MMIO_REGION_WRITE_FN( PMM, reg, val )
1.20 {
1.21 /* Read-only */
1.22 }
.