projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b8f51
)
Filled in a stub header file for setting the result of a syscall.
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 5 Mar 2007 14:53:15 +0000
(14:53 +0000)
committer
Gabe 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
patch
|
blob
|
history
diff --git
a/src/arch/x86/syscallreturn.hh
b/src/arch/x86/syscallreturn.hh
index 5c50bac9d19cc334dfbdf04c7489529674b0ed4d..9f0d20e2a609ed57c0d04be98cdf8377fce3ac60 100644
(file)
--- 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__