diff options
author | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:40 -0600 |
---|---|---|
committer | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:40 -0600 |
commit | e3875215270220e5142a93848f74ccde9d61b244 (patch) | |
tree | b0b6c47320a35d3b7661f54932229611b4a06150 /src/sim/Process.py | |
parent | a928a438b8a005e5b6059bc5db0687bf64abcfa6 (diff) | |
download | gem5-e3875215270220e5142a93848f74ccde9d61b244.tar.xz |
syscall_emul: [patch 4/22] remove redundant M5_pid field from process
Diffstat (limited to 'src/sim/Process.py')
-rw-r--r-- | src/sim/Process.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/sim/Process.py b/src/sim/Process.py index ca9aaf5b1..fb1450107 100644 --- a/src/sim/Process.py +++ b/src/sim/Process.py @@ -43,6 +43,13 @@ class Process(SimObject): kvmInSE = Param.Bool('false', 'initialize the process for KvmCPU in SE') max_stack_size = Param.MemorySize('64MB', 'maximum size of the stack') + uid = Param.Int(100, 'user id') + euid = Param.Int(100, 'effective user id') + 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') + @classmethod def export_methods(cls, code): code('bool map(Addr vaddr, Addr paddr, int size, bool cacheable=true);') @@ -60,12 +67,6 @@ class LiveProcess(Process): cmd = VectorParam.String("command line (executable plus arguments)") env = VectorParam.String([], "environment settings") cwd = Param.String('', "current working directory") - uid = Param.Int(100, 'user id') - euid = Param.Int(100, 'effective user id') - 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') simpoint = Param.UInt64(0, 'simulation point at which to start simulation') drivers = VectorParam.EmulatedDriver([], 'Available emulated drivers') |