mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 05:12:33 +08:00
Only call XScale_check_memacc if in XScale mode.
This commit is contained in:
@ -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>
|
2003-03-30 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* configure.in (CON_FLAGS): Remove.
|
* configure.in (CON_FLAGS): Remove.
|
||||||
|
@ -64,7 +64,7 @@ GetWord (ARMul_State * state, ARMword address, int check)
|
|||||||
ARMword **pagetable;
|
ARMword **pagetable;
|
||||||
ARMword *pageptr;
|
ARMword *pageptr;
|
||||||
|
|
||||||
if (check)
|
if (check && state->is_XScale)
|
||||||
XScale_check_memacc (state, &address, 0);
|
XScale_check_memacc (state, &address, 0);
|
||||||
|
|
||||||
page = address >> PAGEBITS;
|
page = address >> PAGEBITS;
|
||||||
@ -100,7 +100,7 @@ PutWord (ARMul_State * state, ARMword address, ARMword data, int check)
|
|||||||
ARMword **pagetable;
|
ARMword **pagetable;
|
||||||
ARMword *pageptr;
|
ARMword *pageptr;
|
||||||
|
|
||||||
if (check)
|
if (check && state->is_XScale)
|
||||||
XScale_check_memacc (state, &address, 1);
|
XScale_check_memacc (state, &address, 1);
|
||||||
|
|
||||||
page = address >> PAGEBITS;
|
page = address >> PAGEBITS;
|
||||||
|
Reference in New Issue
Block a user