summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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__