From 9ca03a2183350783d61499c3975f68d95fa4fcbd Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 10 Mar 2006 15:12:46 -0500 Subject: [PATCH 1/2] Wrapped setSysCallReturn in !FULL_SYSTEM. --HG-- extra : convert_revision : c6d3a5af04731a92eaca2337424ba10926f0d879 --- arch/alpha/isa_traits.hh | 2 ++ 1 file changed, 2 insertions(+) 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 From 918b3f59c2822605e8959fb7195c3da59baaa528 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Sun, 12 Mar 2006 01:05:01 -0500 Subject: [PATCH 2/2] Get rid of obsolete header that had only one declaration of an obsolete function that doesn't exist. arch/alpha/tru64/process.cc: sim/process.cc: Don't include useless header. --HG-- extra : convert_revision : 1dd5edeb0703e2190b89ea5ff563df4c95b7cf59 --- arch/alpha/tru64/process.cc | 1 - sim/process.cc | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/alpha/tru64/process.cc b/arch/alpha/tru64/process.cc index c3a203587..ae83bb649 100644 --- a/arch/alpha/tru64/process.cc +++ b/arch/alpha/tru64/process.cc @@ -31,7 +31,6 @@ #include "cpu/exec_context.hh" #include "kern/tru64/tru64.hh" #include "mem/functional/functional.hh" -#include "sim/fake_syscall.hh" #include "sim/process.hh" #include "sim/syscall_emul.hh" diff --git a/sim/process.cc b/sim/process.cc index f02ca8bfd..df76e4ddc 100644 --- a/sim/process.cc +++ b/sim/process.cc @@ -44,7 +44,6 @@ #include "encumbered/eio/eio.hh" #include "encumbered/mem/functional/main.hh" #include "sim/builder.hh" -#include "sim/fake_syscall.hh" #include "sim/process.hh" #include "sim/stats.hh" #include "sim/syscall_emul.hh"