Search
lxdream.org :: lxdream/src/asic.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/asic.c
changeset 975:007bf7eb944f
prev929:fd8cb0c82f5f
next1065:bc1cc0c54917
author nkeynes
date Mon Jan 26 07:26:24 2009 +0000 (13 years ago)
permissions -rw-r--r--
last change Add read_byte_for_write mem function for correct implementation of AND.B and friends
with TLB enabled.
Add read_byte and read_long MMIO stubs to do correct sign extension of IO reads
file annotate diff log raw
1.1 --- a/src/asic.c Sat Dec 20 03:01:40 2008 +0000
1.2 +++ b/src/asic.c Mon Jan 26 07:26:24 2009 +0000
1.3 @@ -445,6 +445,8 @@
1.4
1.5 }
1.6
1.7 +MMIO_REGION_READ_DEFSUBFNS(ASIC)
1.8 +
1.9 MMIO_REGION_WRITE_FN( ASIC, reg, val )
1.10 {
1.11 reg &= 0xFFF;
1.12 @@ -553,6 +555,8 @@
1.13 return val;
1.14 }
1.15 }
1.16 +MMIO_REGION_READ_DEFSUBFNS(EXTDMA)
1.17 +
1.18
1.19 MMIO_REGION_WRITE_FN( EXTDMA, reg, val )
1.20 {
.