sim: fix issues with pwrite(); don't enable fstatfs
authorTony Gutierrez <anthony.gutierrez@amd.com>
Fri, 5 Aug 2016 21:15:19 +0000 (17:15 -0400)
committerTony Gutierrez <anthony.gutierrez@amd.com>
Fri, 5 Aug 2016 21:15:19 +0000 (17:15 -0400)
commitfa5e64987e185c3cf586e55957ebaa78b8b891fd
tree1a47d35399b2e98c8b2c754a3d3f3192d64606c0
parent0b68475b102a9ecc769d1a3493a34055e08c2e7e
sim: fix issues with pwrite(); don't enable fstatfs

this patch fixes issues with changeset 11593

use the host's pwrite() syscall for pwrite64Func(),
as opposed to pwrite64(), because pwrite64() does
not work well on all distros.

undo the enabling of fstatfs, as we will add this
in a separate pate.
src/arch/x86/linux/process.cc
src/sim/syscall_emul.hh