process.hh (2715:4032e02b525e) process.hh (3066:254e37051d65)
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 61 unchanged lines hidden (view full) ---

70 bool initialContextLoaded;
71
72 // thread contexts associated with this process
73 std::vector<ThreadContext *> threadContexts;
74
75 // number of CPUs (esxec contexts, really) assigned to this process.
76 unsigned int numCpus() { return threadContexts.size(); }
77
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 61 unchanged lines hidden (view full) ---

70 bool initialContextLoaded;
71
72 // thread contexts associated with this process
73 std::vector<ThreadContext *> threadContexts;
74
75 // number of CPUs (esxec contexts, really) assigned to this process.
76 unsigned int numCpus() { return threadContexts.size(); }
77
78 // Id of the owner of the process
79 uint64_t uid;
80 uint64_t euid;
81 uint64_t gid;
82 uint64_t egid;
83
84 // pid of the process and it's parent
85 uint64_t pid;
86 uint64_t ppid;
87
78 // record of blocked context
79 struct WaitRec
80 {
81 Addr waitChan;
82 ThreadContext *waitingContext;
83
84 WaitRec(Addr chan, ThreadContext *ctx)
85 : waitChan(chan), waitingContext(ctx)

--- 119 unchanged lines hidden ---
88 // record of blocked context
89 struct WaitRec
90 {
91 Addr waitChan;
92 ThreadContext *waitingContext;
93
94 WaitRec(Addr chan, ThreadContext *ctx)
95 : waitChan(chan), waitingContext(ctx)

--- 119 unchanged lines hidden ---