diff options
author | Nick Clifton <nickc@redhat.com> | 2003-04-13 08:54:06 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-04-13 08:54:06 +0000 |
commit | c88931b0edd04397d59574c2708a10135eb7cd04 (patch) | |
tree | b1b1ea06295d700b15c545a6b939228750b867ef /sim/arm/armvirt.c | |
parent | bd013d5471895f9434b17cc7387ca3065508a2b6 (diff) | |
download | gdb-c88931b0edd04397d59574c2708a10135eb7cd04.zip gdb-c88931b0edd04397d59574c2708a10135eb7cd04.tar.gz gdb-c88931b0edd04397d59574c2708a10135eb7cd04.tar.bz2 |
Only call XScale_check_memacc if in XScale mode.
Diffstat (limited to 'sim/arm/armvirt.c')
-rw-r--r-- | sim/arm/armvirt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/arm/armvirt.c b/sim/arm/armvirt.c index 26fd905..23038a1 100644 --- a/sim/arm/armvirt.c +++ b/sim/arm/armvirt.c @@ -64,7 +64,7 @@ GetWord (ARMul_State * state, ARMword address, int check) ARMword **pagetable; ARMword *pageptr; - if (check) + if (check && state->is_XScale) XScale_check_memacc (state, &address, 0); page = address >> PAGEBITS; @@ -100,7 +100,7 @@ PutWord (ARMul_State * state, ARMword address, ARMword data, int check) ARMword **pagetable; ARMword *pageptr; - if (check) + if (check && state->is_XScale) XScale_check_memacc (state, &address, 1); page = address >> PAGEBITS; |