* armdefs.h (struct ARMul_State): Add is_StrongARM.
[deliverable/binutils-gdb.git] / sim / arm / arminit.c
index 66e6dad7af5b6742275f8f47b6eec8d0d8df5a9a..3ee4c698201a2407f9acfe885e9b271631178d40 100644 (file)
@@ -124,6 +124,8 @@ ARMul_NewState (void)
   state->lateabtSig = LOW;
   state->bigendSig = LOW;
 
+  state->is_StrongARM = LOW;
+
   ARMul_Reset (state);
   return (state);
 }
@@ -147,6 +149,8 @@ ARMul_SelectProcessor (ARMul_State * state, unsigned processor)
     }
 
   state->lateabtSig = LOW;
+
+  state->is_StrongARM = (processor & ARM_Strong_Prop) ? HIGH : LOW;
 }
 
 /***************************************************************************\
This page took 0.023262 seconds and 4 git commands to generate.