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. */
140 virtual void activate();
141
142 /** Set the status to Suspended. */
143 virtual void suspend();
144
145 /** Set the status to Halted. */
146 virtual void halt();
147
148 /** Dumps the function profiling information.
149 * @todo: Implement.
150 */
151 virtual void dumpFuncProfile();
152
153 /** Takes over execution of a thread from another CPU. */
154 virtual void takeOverFrom(ThreadContext *old_context);
--- 150 unchanged lines hidden ---
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. */
140 virtual void activate();
141
142 /** Set the status to Suspended. */
143 virtual void suspend();
144
145 /** Set the status to Halted. */
146 virtual void halt();
147
148 /** Dumps the function profiling information.
149 * @todo: Implement.
150 */
151 virtual void dumpFuncProfile();
152
153 /** Takes over execution of a thread from another CPU. */
154 virtual void takeOverFrom(ThreadContext *old_context);
--- 150 unchanged lines hidden ---