From: Steve Reinhardt Date: Wed, 22 Oct 2014 22:53:34 +0000 (-0700) Subject: syscall_emul: minor style fix to LiveProcess constructor X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ac7f14fc021075af458404096e76225b1ea59df;p=gem5.git syscall_emul: minor style fix to LiveProcess constructor --- 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.