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 // 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 ---
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 // 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 ---