sim-se: add new getpgrp system call
authorBrandon Potter <brandon.potter@amd.com>
Mon, 11 Mar 2019 18:24:33 +0000 (14:24 -0400)
committerBrandon Potter <Brandon.Potter@amd.com>
Tue, 6 Aug 2019 20:47:28 +0000 (20:47 +0000)
commit598f704d51ddfc7c1abd0afdbb99e4cbafbe8813
treebef0f217232fda275e0e468dba3e38d7c92895fc
parent20428d69da186083a4fe9e97acb25e79c1857366
sim-se: add new getpgrp system call

This changeset adds new (relatively simple) system call
support. The getpgrp call returns a thread context's
pgid.

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