aboutsummaryrefslogtreecommitdiff
path: root/sim/arm/arminit.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-03-20 12:25:07 +0000
committerNick Clifton <nickc@redhat.com>2003-03-20 12:25:07 +0000
commitf603c8fe448b391b8356fae23c3a0e6242fa76b5 (patch)
tree4830355da7b24008504d920656321635faa3b6f9 /sim/arm/arminit.c
parentc25cfdf8a2f50b03f4d532cfb70eecc038053a71 (diff)
downloadgdb-f603c8fe448b391b8356fae23c3a0e6242fa76b5.zip
gdb-f603c8fe448b391b8356fae23c3a0e6242fa76b5.tar.gz
gdb-f603c8fe448b391b8356fae23c3a0e6242fa76b5.tar.bz2
Add Cirrus Maverick support to arm simulator
Diffstat (limited to 'sim/arm/arminit.c')
-rw-r--r--sim/arm/arminit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/arm/arminit.c b/sim/arm/arminit.c
index c0312e9..0439990 100644
--- a/sim/arm/arminit.c
+++ b/sim/arm/arminit.c
@@ -157,6 +157,11 @@ ARMul_SelectProcessor (ARMul_State * state, unsigned properties)
state->is_v5 = (properties & ARM_v5_Prop) ? HIGH : LOW;
state->is_v5e = (properties & ARM_v5e_Prop) ? HIGH : LOW;
state->is_XScale = (properties & ARM_XScale_Prop) ? HIGH : LOW;
+ state->is_ep9312 = (properties & ARM_ep9312_Prop) ? HIGH : LOW;
+
+ /* Only initialse the coprocessor support once we
+ know what kind of chip we are dealing with. */
+ ARMul_CoProInit (state);
}
/***************************************************************************\