summaryrefslogtreecommitdiff
path: root/arch/mips/isa_traits.hh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/isa_traits.hh')
-rw-r--r--arch/mips/isa_traits.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/isa_traits.hh b/arch/mips/isa_traits.hh
index 1a982c237..8363f42f3 100644
--- a/arch/mips/isa_traits.hh
+++ b/arch/mips/isa_traits.hh
@@ -589,7 +589,8 @@ extern const Addr PageOffset;
static inline void setSyscallReturn(SyscallReturn return_value, RegFile *regs)
{
- panic("Returning from syscall\n");
+ regs->intRegFile[ReturnValueReg1] = 1;
+ //panic("Returning from syscall\n");
}
// Machine operations