25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: memory.c,v 1.175 2005/08/14 15:47:36 debug Exp $ |
* $Id: memory.c,v 1.176 2005/08/28 20:16:23 debug Exp $ |
29 |
* |
* |
30 |
* Functions for handling the memory of an emulated machine. |
* Functions for handling the memory of an emulated machine. |
31 |
*/ |
*/ |
294 |
for (s=0; s<mem->dev_length[i]; |
for (s=0; s<mem->dev_length[i]; |
295 |
s+=cpu->machine->arch_pagesize) |
s+=cpu->machine->arch_pagesize) |
296 |
cpu->invalidate_translation_caches_paddr |
cpu->invalidate_translation_caches_paddr |
297 |
(cpu, mem->dev_baseaddr[i] + s); |
(cpu, mem->dev_baseaddr[i] + s, |
298 |
|
JUST_MARK_AS_NON_WRITABLE); |
299 |
} |
} |
300 |
|
|
301 |
if (cpu->machine->arch == ARCH_MIPS) { |
if (cpu->machine->arch == ARCH_MIPS) { |