diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-09-03 02:04:25 -0400 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-09-03 02:04:25 -0400 |
commit | 96dabdc9b0fbffbdf6fb7099f21924f4702d6f91 (patch) | |
tree | 1b39602f62d8ea769a46370969f05f1657190324 /src/sim/process.hh | |
parent | 14cc9baba59a7f93187933efd15f9cd1b94c25ed (diff) | |
download | gem5-96dabdc9b0fbffbdf6fb7099f21924f4702d6f91.tar.xz |
Added uid, euid, gid, egid, pid and ppid parameters to a live process.
--HG--
extra : convert_revision : 2101be8000bcdaf683730cfc079b4b78e34365d0
Diffstat (limited to 'src/sim/process.hh')
-rw-r--r-- | src/sim/process.hh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sim/process.hh b/src/sim/process.hh index 763deb100..d64cc3cf1 100644 --- a/src/sim/process.hh +++ b/src/sim/process.hh @@ -75,6 +75,16 @@ class Process : public SimObject // number of CPUs (esxec contexts, really) assigned to this process. unsigned int numCpus() { return threadContexts.size(); } + // Id of the owner of the process + uint64_t uid; + uint64_t euid; + uint64_t gid; + uint64_t egid; + + // pid of the process and it's parent + uint64_t pid; + uint64_t ppid; + // record of blocked context struct WaitRec { |