diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-10-22 15:59:57 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-10-22 15:59:57 -0500 |
commit | 6523aad25c32f2443c48b114db4dab078bfb16d1 (patch) | |
tree | e25d21c77ed4a33ff9cd6680e0c91f44e04cc001 /src/sim/syscall_emul.hh | |
parent | d6f1c6ce89c16eda7d86c319cc92f551ee352496 (diff) | |
download | gem5-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.hh | 8 |
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 |