Search
lxdream.org :: lxdream/src/aica/armmem.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/armmem.c
changeset 14:fc481a638848
prev11:0a82ef380c45
next31:495e480360d7
author nkeynes
date Mon Dec 12 10:37:41 2005 +0000 (15 years ago)
permissions -rw-r--r--
last change Use cpu-specific is_valid_page function
file annotate diff log raw
1.1 --- a/src/aica/armmem.c Sun Dec 11 12:00:09 2005 +0000
1.2 +++ b/src/aica/armmem.c Mon Dec 12 10:37:41 2005 +0000
1.3 @@ -9,6 +9,11 @@
1.4
1.5 }
1.6
1.7 +int arm_has_page( uint32_t addr ) {
1.8 + return ( addr < 0x00200000 ||
1.9 + (addr >= 0x00800000 && addr <= 0x00805000 ) );
1.10 +}
1.11 +
1.12 int32_t arm_read_long( uint32_t addr ) {
1.13 if( addr < 0x00200000 ) {
1.14 return *(int32_t *)(arm_mem + addr);
.