diff --git a/target-sparc/helper.c b/target-sparc/helper.c index cac6cadcd0..0ba7c9ff13 100644 --- a/target-sparc/helper.c +++ b/target-sparc/helper.c @@ -444,6 +444,7 @@ static int get_physical_address_data(CPUState *env, context = env->dmmu.mmu_secondary_context & 0x1fff; break; case MMU_NUCLEUS_IDX: + default: context = 0; break; }