Only call XScale_check_memacc if in XScale mode.

This commit is contained in:
Nick Clifton 2003-04-13 08:54:06 +00:00
parent bd013d5471
commit c88931b0ed
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-04-13 Nick Clifton <nickc@redhat.com>
* armvirt.c (GetWord): Only call XScale_check_memacc if in XScale
mode.
(PutWord): Likewise.
2003-03-30 Nick Clifton <nickc@redhat.com>
* configure.in (CON_FLAGS): Remove.

View File

@ -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;