Filled in a stub header file for setting the result of a syscall.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 5 Mar 2007 14:53:15 +0000 (14:53 +0000)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 5 Mar 2007 14:53:15 +0000 (14:53 +0000)
--HG--
extra : convert_revision : f0a2cdf7d669834b90444fc390b0aceede474737

src/arch/x86/syscallreturn.hh

index 5c50bac9d19cc334dfbdf04c7489529674b0ed4d..9f0d20e2a609ed57c0d04be98cdf8377fce3ac60 100644 (file)
 #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__