Wrapped setSysCallReturn in !FULL_SYSTEM.
--HG-- extra : convert_revision : c6d3a5af04731a92eaca2337424ba10926f0d879
This commit is contained in:
parent
7b283dbc09
commit
9ca03a2183
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue