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

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

152 Status status() const { return actualTC->status(); }
153
154 void setStatus(Status new_status)
155 {
156 actualTC->setStatus(new_status);
157 checkerTC->setStatus(new_status);
158 }
159
160 /// Set the status to Active. Optional delay indicates number of
161 /// cycles to wait before beginning execution.
162 void activate(Cycles delay = Cycles(1))
163 { actualTC->activate(delay); }
164
165 /// Set the status to Suspended.
166 void suspend(Cycles delay) { actualTC->suspend(delay); }
167
168 /// Set the status to Halted.
169 void halt(Cycles delay) { actualTC->halt(delay); }
170
171 void dumpFuncProfile() { actualTC->dumpFuncProfile(); }
172
173 void takeOverFrom(ThreadContext *oldContext)
174 {
175 actualTC->takeOverFrom(oldContext);
176 checkerTC->copyState(oldContext);
177 }

--- 168 unchanged lines hidden ---