aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-sparc/helper.c')
-rw-r--r--target-sparc/helper.c1
1 files changed, 1 insertions, 0 deletions
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;
}