aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xtensa-semi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xtensa-semi.c b/xtensa-semi.c
index b7c8c34564..44b7dc3a12 100644
--- a/xtensa-semi.c
+++ b/xtensa-semi.c
@@ -219,6 +219,8 @@ void HELPER(simcall)(CPUXtensaState *env)
default:
qemu_log("%s(%d): not implemented\n", __func__, regs[2]);
+ regs[2] = -1;
+ regs[3] = ENOSYS;
break;
}
}