diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2014-10-22 15:53:34 -0700 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2014-10-22 15:53:34 -0700 |
commit | 9ac7f14fc021075af458404096e76225b1ea59df (patch) | |
tree | d7487d86e8baf75115aac9a8cb133fc4d3002233 /src/sim | |
parent | df7f0892ed5f4522a4582aaed7e49622e3a33d9f (diff) | |
download | gem5-9ac7f14fc021075af458404096e76225b1ea59df.tar.xz |
syscall_emul: minor style fix to LiveProcess constructor
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/process.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc index 15dc8c3e8..d1fb22029 100644 --- a/src/sim/process.cc +++ b/src/sim/process.cc @@ -566,17 +566,14 @@ Process::map(Addr vaddr, Addr paddr, int size) //////////////////////////////////////////////////////////////////////// -LiveProcess::LiveProcess(LiveProcessParams * params, ObjectFile *_objFile) +LiveProcess::LiveProcess(LiveProcessParams *params, ObjectFile *_objFile) : Process(params), objFile(_objFile), argv(params->cmd), envp(params->env), cwd(params->cwd), + __uid(params->uid), __euid(params->euid), + __gid(params->gid), __egid(params->egid), + __pid(params->pid), __ppid(params->ppid), drivers(params->drivers) { - __uid = params->uid; - __euid = params->euid; - __gid = params->gid; - __egid = params->egid; - __pid = params->pid; - __ppid = params->ppid; // load up symbols, if any... these may be used for debugging or // profiling. |