simple_thread.hh (10338:8bee5f4edb92) | simple_thread.hh (10407:a9023811bf9e) |
---|---|
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 --- 197 unchanged lines hidden (view full) --- 206 TheISA::Decoder *getDecoderPtr() { return &decoder; } 207 208 System *getSystemPtr() { return system; } 209 210 Status status() const { return _status; } 211 212 void setStatus(Status newStatus) { _status = newStatus; } 213 | 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 --- 197 unchanged lines hidden (view full) --- 206 TheISA::Decoder *getDecoderPtr() { return &decoder; } 207 208 System *getSystemPtr() { return system; } 209 210 Status status() const { return _status; } 211 212 void setStatus(Status newStatus) { _status = newStatus; } 213 |
214 /// Set the status to Active. Optional delay indicates number of 215 /// cycles to wait before beginning execution. 216 void activate(Cycles delay = Cycles(1)); | 214 /// Set the status to Active. 215 void activate(); |
217 218 /// Set the status to Suspended. 219 void suspend(); 220 221 /// Set the status to Halted. 222 void halt(); 223 224 virtual bool misspeculating(); --- 242 unchanged lines hidden --- | 216 217 /// Set the status to Suspended. 218 void suspend(); 219 220 /// Set the status to Halted. 221 void halt(); 222 223 virtual bool misspeculating(); --- 242 unchanged lines hidden --- |