summaryrefslogtreecommitdiff
path: root/src/sim/syscall_desc.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/syscall_desc.hh')
-rw-r--r--src/sim/syscall_desc.hh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sim/syscall_desc.hh b/src/sim/syscall_desc.hh
index 451db084b..0b226438a 100644
--- a/src/sim/syscall_desc.hh
+++ b/src/sim/syscall_desc.hh
@@ -56,7 +56,7 @@ class SyscallReturn;
class ThreadContext;
SyscallReturn unimplementedFunc(SyscallDesc *desc, int num,
- Process *p, ThreadContext *tc);
+ ThreadContext *tc);
/**
* This class provides the wrapper interface for the system call
@@ -68,7 +68,7 @@ class SyscallDesc {
public:
/** Typedef the function pointer here to clean up code below */
typedef SyscallReturn (*SyscallExecutor)(SyscallDesc*, int num,
- Process*, ThreadContext*);
+ ThreadContext*);
SyscallDesc(const char *name,
SyscallExecutor sys_exec=unimplementedFunc, int flags=0)
@@ -98,8 +98,7 @@ class SyscallDesc {
* @param proc Handle for the owning Process to pass information
* @param tc Handle for owning ThreadContext to pass information
*/
- void doSyscall(int callnum, Process *proc, ThreadContext *tc,
- Fault *fault);
+ void doSyscall(int callnum, ThreadContext *tc, Fault *fault);
/**
* Return false if WarnOnce is set and a warning has already been issued.