sim: revert 6709bbcf564d
authorNilay Vaish <nilay@cs.wisc.edu>
Wed, 22 Oct 2014 20:59:57 +0000 (15:59 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Wed, 22 Oct 2014 20:59:57 +0000 (15:59 -0500)
commit6523aad25c32f2443c48b114db4dab078bfb16d1
treee25d21c77ed4a33ff9cd6680e0c91f44e04cc001
parentd6f1c6ce89c16eda7d86c319cc92f551ee352496
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.
src/arch/alpha/linux/process.cc
src/arch/arm/linux/process.cc
src/arch/mips/linux/process.cc
src/arch/power/linux/process.cc
src/arch/sparc/linux/syscalls.cc
src/arch/x86/linux/process.cc
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh