summaryrefslogtreecommitdiff
path: root/arch/alpha
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-03-10 15:12:46 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-03-10 15:12:46 -0500
commit9ca03a2183350783d61499c3975f68d95fa4fcbd (patch)
treed1101b9673ae98968acef13cb42c01a174095c8b /arch/alpha
parent7b283dbc090d1197593b00fd1279b92f7c2e693e (diff)
downloadgem5-9ca03a2183350783d61499c3975f68d95fa4fcbd.tar.xz
Wrapped setSysCallReturn in !FULL_SYSTEM.
--HG-- extra : convert_revision : c6d3a5af04731a92eaca2337424ba10926f0d879
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/isa_traits.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/alpha/isa_traits.hh b/arch/alpha/isa_traits.hh
index 0cf31cb50..878193881 100644
--- a/arch/alpha/isa_traits.hh
+++ b/arch/alpha/isa_traits.hh
@@ -344,6 +344,7 @@ extern const int reg_redir[NumIntRegs];
const Addr MaxAddr = (Addr)-1;
+#if !FULL_SYSTEM
static inline void setSyscallReturn(SyscallReturn return_value, RegFile *regs)
{
// check for error condition. Alpha syscall convention is to
@@ -359,6 +360,7 @@ extern const int reg_redir[NumIntRegs];
regs->intRegFile[ReturnValueReg] = -return_value.value();
}
}
+#endif
};
static inline AlphaISA::ExtMachInst