summaryrefslogtreecommitdiff
path: root/src/sim/syscall_emul.hh
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2014-10-22 15:59:57 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2014-10-22 15:59:57 -0500
commit6523aad25c32f2443c48b114db4dab078bfb16d1 (patch)
treee25d21c77ed4a33ff9cd6680e0c91f44e04cc001 /src/sim/syscall_emul.hh
parentd6f1c6ce89c16eda7d86c319cc92f551ee352496 (diff)
downloadgem5-6523aad25c32f2443c48b114db4dab078bfb16d1.tar.xz
sim: revert 6709bbcf564d
The identifier SYS_getdents is not available on Mac OS X. Therefore, its use results in compilation failure. It seems there is no straight forward way to implement the system call getdents using readdir() or similar C functions. Hence the commit 6709bbcf564d is being rolled back.
Diffstat (limited to 'src/sim/syscall_emul.hh')
-rw-r--r--src/sim/syscall_emul.hh8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh
index f793bc41f..dff34982d 100644
--- a/src/sim/syscall_emul.hh
+++ b/src/sim/syscall_emul.hh
@@ -439,14 +439,6 @@ futexFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
}
-/// Target getdents() handler.
-SyscallReturn getdentsFunc(SyscallDesc *desc, int num,
- LiveProcess *process, ThreadContext *tc);
-
-/// Target getdents64() handler.
-SyscallReturn getdents64Func(SyscallDesc *desc, int num,
- LiveProcess *process, ThreadContext *tc);
-
/// Pseudo Funcs - These functions use a different return convension,
/// returning a second value in a register other than the normal return register