25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: memory_rw.c,v 1.64 2005/09/22 09:06:59 debug Exp $ |
* $Id: memory_rw.c,v 1.65 2005/10/10 18:43:36 debug Exp $ |
29 |
* |
* |
30 |
* Generic memory_rw(), with special hacks for specific CPU families. |
* Generic memory_rw(), with special hacks for specific CPU families. |
31 |
* |
* |
560 |
|
|
561 |
offset = paddr & ((1 << BITS_PER_MEMBLOCK) - 1); |
offset = paddr & ((1 << BITS_PER_MEMBLOCK) - 1); |
562 |
|
|
563 |
if (cpu->update_translation_table != NULL && !bintrans_device_danger) |
if (cpu->update_translation_table != NULL && !bintrans_device_danger |
564 |
|
&& !no_exceptions) |
565 |
cpu->update_translation_table(cpu, vaddr & ~offset_mask, |
cpu->update_translation_table(cpu, vaddr & ~offset_mask, |
566 |
memblock + (offset & ~offset_mask), |
memblock + (offset & ~offset_mask), |
567 |
#if 0 |
#if 0 |