summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xtensa-semi.c')
-rw-r--r--xtensa-semi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xtensa-semi.c b/xtensa-semi.c
index b7c8c3456..44b7dc3a1 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;
}
}