From: Gabe Black Date: Fri, 10 Mar 2006 20:12:46 +0000 (-0500) Subject: Wrapped setSysCallReturn in !FULL_SYSTEM. X-Git-Tag: m5_2.0_beta1~87^2~21 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ca03a2183350783d61499c3975f68d95fa4fcbd;p=gem5.git Wrapped setSysCallReturn in !FULL_SYSTEM. --HG-- extra : convert_revision : c6d3a5af04731a92eaca2337424ba10926f0d879 --- 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