Lines Matching defs:ThreadContext
76 * ThreadContext is the external interface to all thread state for
80 * base class; the CPU can create its own ThreadContext by
83 * The ThreadContext is slightly different than the ExecContext. The
84 * ThreadContext provides access to an individual thread's state; an
91 class ThreadContext
121 virtual ~ThreadContext() { };
159 * tc ThreadContext for the virtual-to-physical translation
161 virtual void initMemProxies(ThreadContext *tc) = 0;
188 virtual void takeOverFrom(ThreadContext *old_context) = 0;
202 virtual void copyArchRegs(ThreadContext *tc) = 0;
313 static void compare(ThreadContext *one, ThreadContext *two);
359 * ThreadContext. They are provided as separate helper function since
360 * implementing them as members of the ThreadContext interface would
361 * be confusing when the ThreadContext is exported via a proxy.
364 void serialize(const ThreadContext &tc, CheckpointOut &cp);
365 void unserialize(ThreadContext &tc, CheckpointIn &cp);
377 * @param new_tc Destination ThreadContext.
378 * @param old_tc Source ThreadContext.
380 void takeOverFrom(ThreadContext &new_tc, ThreadContext &old_tc);