summaryrefslogtreecommitdiff
path: root/src/sim/process.hh
diff options
context:
space:
mode:
authorMichael Adler <Michael.Adler@intel.com>2008-07-23 14:41:33 -0700
committerMichael Adler <Michael.Adler@intel.com>2008-07-23 14:41:33 -0700
commit2cd04fd6da67d874fd4e563ed05707a42ff0598f (patch)
tree6baf6938bfc7539ef3d1ba1cf4c253cb7e08d4c2 /src/sim/process.hh
parent8c4f18f6f5e5dd9ccc4ef54590a11d70ba001264 (diff)
downloadgem5-2cd04fd6da67d874fd4e563ed05707a42ff0598f.tar.xz
syscalls: Add a bunch of missing system calls.
readlink, umask, truncate, ftruncate, mkdir, and getcwd.
Diffstat (limited to 'src/sim/process.hh')
-rw-r--r--src/sim/process.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/process.hh b/src/sim/process.hh
index 29d6e5aae..55bae2542 100644
--- a/src/sim/process.hh
+++ b/src/sim/process.hh
@@ -303,6 +303,8 @@ class LiveProcess : public Process
return full + filename;
}
+ std::string getcwd() const { return cwd; }
+
virtual void syscall(int64_t callnum, ThreadContext *tc);
virtual SyscallDesc* getDesc(int callnum) = 0;