Uses sim callback interface for system calls in RedBoot SWI support.
[deliverable/binutils-gdb.git] / sim / arm / armvirt.c
index 15f2cb685060aadde533fed3c1f95a5f77a41381..ce1e77d8c45306515740cb59788f9837eff0ac0f 100644 (file)
@@ -64,6 +64,8 @@ GetWord (ARMul_State * state, ARMword address, int check)
   ARMword **pagetable;
   ARMword *pageptr;
 
+  XScale_check_memacc (state, &address, 0);
+
   page = address >> PAGEBITS;
   offset = (address & OFFSETBITS) >> 2;
   pagetable = (ARMword **) state->MemDataPtr;
@@ -97,6 +99,8 @@ PutWord (ARMul_State * state, ARMword address, ARMword data, int check)
   ARMword **pagetable;
   ARMword *pageptr;
 
+  XScale_check_memacc (state, &address, 1);
+
   page = address >> PAGEBITS;
   offset = (address & OFFSETBITS) >> 2;
   pagetable = (ARMword **) state->MemDataPtr;
This page took 0.029215 seconds and 4 git commands to generate.