summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-03-05 14:53:15 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-03-05 14:53:15 +0000
commit7ed7d6e80d0e30e766fbdf3b02f8e177b5a3922f (patch)
tree734154425a829c09b4dea164cf7cc9d0a7fd4dc8
parent43b8f51bb8d556b505f5916256d777ecd145ce30 (diff)
downloadgem5-7ed7d6e80d0e30e766fbdf3b02f8e177b5a3922f.tar.xz
Filled in a stub header file for setting the result of a syscall.
--HG-- extra : convert_revision : f0a2cdf7d669834b90444fc390b0aceede474737
-rw-r--r--src/arch/x86/syscallreturn.hh10
1 files changed, 9 insertions, 1 deletions
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__