From: Gabe Black Date: Mon, 5 Mar 2007 14:53:15 +0000 (+0000) Subject: Filled in a stub header file for setting the result of a syscall. X-Git-Tag: m5_2.0_beta3~156 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ed7d6e80d0e30e766fbdf3b02f8e177b5a3922f;p=gem5.git Filled in a stub header file for setting the result of a syscall. --HG-- extra : convert_revision : f0a2cdf7d669834b90444fc390b0aceede474737 --- diff --git a/src/arch/x86/syscallreturn.hh b/src/arch/x86/syscallreturn.hh index 5c50bac9d..9f0d20e2a 100644 --- a/src/arch/x86/syscallreturn.hh +++ b/src/arch/x86/syscallreturn.hh @@ -58,10 +58,18 @@ #ifndef __ARCH_X86_SYSCALLRETURN_HH__ #define __ARCH_X86_SYSCALLRETURN_HH__ -#error X86 is not yet supported! +#include "base/misc.hh" +#include "sim/syscallreturn.hh" + +class ThreadContext; namespace X86ISA { + static inline void setSyscallReturn(SyscallReturn return_value, + ThreadContext * tc) + { + panic("setSyscallReturn not implemented!\n"); + } }; #endif // __ARCH_X86_SYSCALLRETURN_HH__