Changeset 105d8d6 in mainline
- Timestamp:
- 2014-09-11T19:19:25Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 15d0046, 5441670, 8e7c9fe
- Parents:
- c4f67c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/qfs/qfs.sh
rc4f67c8 r105d8d6 28 28 # 29 29 30 VERSION=2.1. 030 VERSION=2.1.1 31 31 BASENAME=qemu-${VERSION} 32 32 TARBALL=${BASENAME}.tar.bz2 33 33 SOURCEDIR=${BASENAME} 34 34 URL=http://wiki.qemu-project.org/download/${TARBALL} 35 MD5=" 6726977292b448cbc7f89998fac6983b"35 MD5="78b1b51bfa2eee424e1bfdf3b66daa64" 36 36 37 37 if [ ! -f ${TARBALL} ]; … … 50 50 cd ${SOURCEDIR} 51 51 52 patch -p 1 <<EOF53 diff --git a/target-arm/cpu.h b/target-arm/cpu.h54 index 8098b8d..659b104 10064455 --- a/target-arm/cpu.h56 +++ b/target-arm/cpu.h57 @@ -1255,7 +1255,14 @@ static inline bool arm_singlestep_active(CPUARMState *env)58 static inline void cpu_get_tb_cpu_state(CPUARMState *env, target_ulong *pc,59 target_ulong *cs_base, int *flags)60 {61 - int fpen = extract32(env->cp15.c1_coproc, 20, 2);62 + int fpen;63 +64 + if (arm_feature(env, ARM_FEATURE_V6)) {65 + fpen = extract32(env->cp15.c1_coproc, 20, 2);66 + } else {67 + /* CPACR doesn't exist before v6, so VFP is always accessible */68 + fpen = 3;69 + }70 71 if (is_a64(env)) {72 *pc = env->pc;73 EOF74 75 52 ./configure --target-list=i386-softmmu,x86_64-softmmu,arm-softmmu,ppc-softmmu,sparc-softmmu,sparc64-softmmu,mips-softmmu,mipsel-softmmu --audio-drv-list=pa 76 53
Note:
See TracChangeset
for help on using the changeset viewer.