summaryrefslogtreecommitdiff
path: root/arch/mips/isa_traits.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-03-18 10:51:28 -0500
committerKorey Sewell <ksewell@umich.edu>2006-03-18 10:51:28 -0500
commit8ddd509c7c98c44b43e481260e915e858c11c659 (patch)
tree71f99aa89eb09728ecf432c052a050470e07ab2c /arch/mips/isa_traits.hh
parentfc5d25bdb63bd47e51a47111258d9edf1232a23b (diff)
downloadgem5-8ddd509c7c98c44b43e481260e915e858c11c659.tar.xz
steps toward making syscalls work
arch/mips/isa/decoder.isa: arch/mips/isa_traits.hh: sim/syscall_emul.cc: make syscall instruction functional arch/mips/linux_process.cc: add all MIPS/Linux syscalls to descriptor list --HG-- extra : convert_revision : 5455a345e76be921e9f63b248aef874b6358e465
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