summaryrefslogtreecommitdiff
path: root/src/cpu/o3/mips
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-07-26 18:47:06 -0400
committerKorey Sewell <ksewell@umich.edu>2006-07-26 18:47:06 -0400
commit95561dc138243b1fda266ed4ef4ffdc64700c353 (patch)
treee08ac81c9d7db5930ef459ccaf4e3308a8d0f510 /src/cpu/o3/mips
parent36e9ca5611b3fb38cba2fc190836c022d99973e4 (diff)
downloadgem5-95561dc138243b1fda266ed4ef4ffdc64700c353.tar.xz
MIPS ISA runs 'hello world' in O3CPU ...
src/arch/mips/isa/base.isa: special case syscall disasembly... maybe give own instruction class? src/arch/mips/isa/decoder.isa: add 'IsSerializeAfter' flag for syscall src/cpu/o3/commit.hh: Add skidBuffer to commit src/cpu/o3/commit_impl.hh: Use skidbuffer in MIPS ISA src/cpu/o3/fetch_impl.hh: Print name out when there is a fault src/cpu/o3/mips/cpu_impl.hh: change comment --HG-- extra : convert_revision : d032549e07102bdd50aa09f044fce8de6f0239b5
Diffstat (limited to 'src/cpu/o3/mips')
-rw-r--r--src/cpu/o3/mips/cpu_impl.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cpu/o3/mips/cpu_impl.hh b/src/cpu/o3/mips/cpu_impl.hh
index 6b9f3ae10..72b64943b 100644
--- a/src/cpu/o3/mips/cpu_impl.hh
+++ b/src/cpu/o3/mips/cpu_impl.hh
@@ -237,9 +237,7 @@ template <class Impl>
void
MipsO3CPU<Impl>::setSyscallReturn(SyscallReturn return_value, int tid)
{
- // check for error condition. Mips syscall convention is to
- // indicate success/failure in reg a3 (r19) and put the
- // return value itself in the standard return value reg (v0).
+ // check for error condition.
if (return_value.successful()) {
// no error
this->setArchIntReg(SyscallSuccessReg, 0, tid);