50c50
< class ExecContext;
---
> class ThreadContext;
68c68
< // have we initialized an execution context from this process? If
---
> // have we initialized a thread context from this process? If
73,74c73,74
< // execution contexts associated with this process
< std::vector<ExecContext *> execContexts;
---
> // thread contexts associated with this process
> std::vector<ThreadContext *> threadContexts;
77c77
< unsigned int numCpus() { return execContexts.size(); }
---
> unsigned int numCpus() { return threadContexts.size(); }
83c83
< ExecContext *waitingContext;
---
> ThreadContext *waitingContext;
85c85
< WaitRec(Addr chan, ExecContext *ctx)
---
> WaitRec(Addr chan, ThreadContext *ctx)
146,148c146,148
< // register an execution context for this process.
< // returns xc's cpu number (index into execContexts[])
< int registerExecContext(ExecContext *xc);
---
> // register a thread context for this process.
> // returns tc's cpu number (index into threadContexts[])
> int registerThreadContext(ThreadContext *tc);
151c151
< void replaceExecContext(ExecContext *xc, int xcIndex);
---
> void replaceThreadContext(ThreadContext *tc, int tcIndex);
165c165
< virtual void syscall(int64_t callnum, ExecContext *xc) = 0;
---
> virtual void syscall(int64_t callnum, ThreadContext *tc) = 0;
187c187
< virtual void syscall(int64_t callnum, ExecContext *xc);
---
> virtual void syscall(int64_t callnum, ThreadContext *tc);