diff options
author | Nick Clifton <nickc@redhat.com> | 2000-09-15 23:55:50 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-09-15 23:55:50 +0000 |
commit | 3943c96b075b8584c9d9417c319371394b928bd6 (patch) | |
tree | c2e8ea4de595f6582fa9833a2f2d62d69a6f6df1 /sim/arm/armemu.h | |
parent | f7c9d7b6986678dc1be12199492d97ff2624c2d8 (diff) | |
download | gdb-3943c96b075b8584c9d9417c319371394b928bd6.zip gdb-3943c96b075b8584c9d9417c319371394b928bd6.tar.gz gdb-3943c96b075b8584c9d9417c319371394b928bd6.tar.bz2 |
Replace StrongARM property with v4 and v5 properties.
Diffstat (limited to 'sim/arm/armemu.h')
-rw-r--r-- | sim/arm/armemu.h | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/sim/arm/armemu.h b/sim/arm/armemu.h index 7bca8d3..81ecd52 100644 --- a/sim/arm/armemu.h +++ b/sim/arm/armemu.h @@ -230,15 +230,29 @@ extern ARMword isize; #define RESUME 8 #define NORMALCYCLE state->NextInstr = 0 -#define BUSUSEDN state->NextInstr |= 1 /* the next fetch will be an N cycle */ -#define BUSUSEDINCPCS do { if (! state->is_StrongARM) { \ - state->Reg[15] += isize ; /* a standard PC inc and an S cycle */ \ - state->NextInstr = (state->NextInstr & 0xff) | 2; \ - } } while (0) -#define BUSUSEDINCPCN do { if (state->is_StrongARM) BUSUSEDN; else { \ - state->Reg[15] += isize ; /* a standard PC inc and an N cycle */ \ - state->NextInstr |= 3; \ - } } while (0) +#define BUSUSEDN state->NextInstr |= 1 /* The next fetch will be an N cycle. */ +#define BUSUSEDINCPCS \ + do \ + { \ + if (! state->is_v4) \ + { \ + state->Reg[15] += isize ; /* A standard PC inc and an S cycle. */ \ + state->NextInstr = (state->NextInstr & 0xff) | 2; \ + } \ + } \ + while (0) +#define BUSUSEDINCPCN \ + do \ + { \ + if (state->is_v4) \ + BUSUSEDN; \ + else \ + { \ + state->Reg[15] += isize ; /* A standard PC inc and an N cycle. */ \ + state->NextInstr |= 3; \ + } \ + } \ + while (0) #define INCPC state->Reg[15] += isize ; /* a standard PC inc */ \ state->NextInstr |= 2 #define FLUSHPIPE state->NextInstr |= PRIMEPIPE |