> +#ifdef TARGET_WORDS_BIGENDIAN > + if (arm_feature(env, ARM_FEATURE_V6) > + || arm_feature(env, ARM_FEATURE_V7)) { > + /* IE and EE bits stay set for big-endian */ > + env->cp15.c1_sys |= (1 << 31) | (1 << 25); > + } > +#endif
This is wrong for all the CPUs QEMU crrently supports. SCTLR.IE is defined to be zero. Paul