summaryrefslogtreecommitdiff
path: root/src/sim/syscall_emul.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-03-03 03:34:55 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-03-03 03:34:55 +0000
commit23dc5099a4bca9e38a286d867c4eccd7db3c09c1 (patch)
treea9b0c8d4d195b8bb2fe52258dfd1546673aa3706 /src/sim/syscall_emul.hh
parent477afcaf5b16068cdf9577ca9e9a407fb1b191a0 (diff)
downloadgem5-23dc5099a4bca9e38a286d867c4eccd7db3c09c1.tar.xz
Implement the _llseek syscall. It's Linux only, so we'll actually use the lseek syscall.
--HG-- extra : convert_revision : cccfd5efddbba527c6fb4e07ad2ab235a2670918
Diffstat (limited to 'src/sim/syscall_emul.hh')
-rw-r--r--src/sim/syscall_emul.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh
index f57bd5272..5ca2f6be5 100644
--- a/src/sim/syscall_emul.hh
+++ b/src/sim/syscall_emul.hh
@@ -211,6 +211,10 @@ SyscallReturn writeFunc(SyscallDesc *desc, int num,
SyscallReturn lseekFunc(SyscallDesc *desc, int num,
LiveProcess *p, ThreadContext *tc);
+/// Target _llseek() handler.
+SyscallReturn _llseekFunc(SyscallDesc *desc, int num,
+ LiveProcess *p, ThreadContext *tc);
+
/// Target munmap() handler.
SyscallReturn munmapFunc(SyscallDesc *desc, int num,
LiveProcess *p, ThreadContext *tc);