On 03/01/2013 09:58 PM, Paul Brook wrote: >> +#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. >
Again I'd like to have more information. Why is it wrong to set IE when we are in big-endian? Thanks, -- Fabien Chouteau