sim-se: adding pipe2 syscall
authorMatthew Sinclair <matthew.sinclair@amd.com>
Tue, 12 Mar 2019 14:37:51 +0000 (10:37 -0400)
committerBrandon Potter <Brandon.Potter@amd.com>
Tue, 6 Aug 2019 18:32:22 +0000 (18:32 +0000)
commit20428d69da186083a4fe9e97acb25e79c1857366
tree5c888cb142e845b385529b831206dde8484e9d50
parent361bc8b47260a55902764054d3ac25694ac93f8a
sim-se: adding pipe2 syscall

pipe2 builds on top of the pipe syscall implementation by
adding some extra flags for the files (to avoid have to
make separate calls to fcntl).

Change-Id: I88cf6f1387b9d14e60b33a32db412da9ed93a3e6
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/12310
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Brandon Potter <Brandon.Potter@amd.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/x86/linux/process.cc
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh