From 7ed7d6e80d0e30e766fbdf3b02f8e177b5a3922f Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 5 Mar 2007 14:53:15 +0000 Subject: [PATCH] Filled in a stub header file for setting the result of a syscall. --HG-- extra : convert_revision : f0a2cdf7d669834b90444fc390b0aceede474737 --- src/arch/x86/syscallreturn.hh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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__ -- 2.30.2