Message ID | 3afc69c4f58f60aa2bbee7b91574a4eb414b1c23.1387160489.git.peter.crosthwaite@xilinx.com |
---|---|
State | New |
Headers | show |
diff --git a/target-arm/cpu.c b/target-arm/cpu.c index 9c96a9e..4c61b0a 100644 --- a/target-arm/cpu.c +++ b/target-arm/cpu.c @@ -121,6 +121,11 @@ static void arm_cpu_reset(CPUState *s) env->regs[15] = pc & ~1; } } + + if (env->cp15.c1_sys & (1 << 13)) { + env->regs[15] = 0xFFFF0000; + } + env->vfp.xregs[ARM_VFP_FPEXC] = 0; #endif set_flush_to_zero(1, &env->vfp.standard_fp_status);