diff options
author | Brandon Potter <brandon.potter@amd.com> | 2017-02-27 14:10:02 -0500 |
---|---|---|
committer | Brandon Potter <brandon.potter@amd.com> | 2017-02-27 14:10:02 -0500 |
commit | 073cb266079edddec64ea8cd5169dd2cbef8f812 (patch) | |
tree | 63de367b090c3aae3e4c3ea5b43949c899c8e811 /src/sim/Process.py | |
parent | f5656738dc3ded25ba8a269efff70e8f12fc22ee (diff) | |
download | gem5-073cb266079edddec64ea8cd5169dd2cbef8f812.tar.xz |
syscall_emul: [patch 14/22] adds identifier system calls
This changeset add fields to the process object and adds the following
three system calls: setpgid, gettid, getpid.
Diffstat (limited to 'src/sim/Process.py')
-rw-r--r-- | src/sim/Process.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sim/Process.py b/src/sim/Process.py index 2d7c7d22c..9c4ee4760 100644 --- a/src/sim/Process.py +++ b/src/sim/Process.py @@ -47,7 +47,8 @@ class Process(SimObject): gid = Param.Int(100, 'group id') egid = Param.Int(100, 'effective group id') pid = Param.Int(100, 'process id') - ppid = Param.Int(99, 'parent process id') + ppid = Param.Int(0, 'parent process id') + pgid = Param.Int(100, 'process group id') executable = Param.String('', "executable (overrides cmd[0] if set)") cmd = VectorParam.String("command line (executable plus arguments)") |