Deleted Added
sdiff udiff text old ( 10190:fb83d025d1c3 ) new ( 10407:a9023811bf9e )
full compact
1/*
2 * Copyright (c) 2011-2012 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

131
132 /** Returns this thread's status. */
133 virtual Status status() const { return thread->status(); }
134
135 /** Sets this thread's status. */
136 virtual void setStatus(Status new_status)
137 { thread->setStatus(new_status); }
138
139 /** Set the status to Active. Optional delay indicates number of
140 * cycles to wait before beginning execution. */
141 virtual void activate(Cycles delay = Cycles(1));
142
143 /** Set the status to Suspended. */
144 virtual void suspend(Cycles delay = Cycles(0));
145
146 /** Set the status to Halted. */
147 virtual void halt(Cycles delay = Cycles(0));
148
149 /** Dumps the function profiling information.
150 * @todo: Implement.
151 */
152 virtual void dumpFuncProfile();
153
154 /** Takes over execution of a thread from another CPU. */
155 virtual void takeOverFrom(ThreadContext *old_context);

--- 150 unchanged lines hidden ---