sim: Provide an implementation for the pread64 system call.
authorGabe Black <gabeblack@google.com>
Thu, 12 Mar 2020 01:05:25 +0000 (18:05 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 16 Mar 2020 21:57:01 +0000 (21:57 +0000)
commit0fedeb873d16fb3eee4d847bbe76111e44d701fd
treed150e82e3b9dc872fc07bca1d4f73c9b00f2122f
parent5af26353b532d7b5988cf0f6f3d0fbc5087dd1df
sim: Provide an implementation for the pread64 system call.

This implementation is very similar to the pwrite64 system call, just
with data going the other direction as you'd expect.

Change-Id: I4f8ec9d83bf2339f9c84e31f25309c58e6157304
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26603
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/sim/syscall_emul.hh