simple_thread.hh (13865:cca49fc49c57) simple_thread.hh (13875:656d633621fa)
1/*
2 * Copyright (c) 2011-2012, 2016-2018 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

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

208
209 TheISA::ISA *getIsaPtr() override { return isa; }
210
211 TheISA::Decoder *getDecoderPtr() override { return &decoder; }
212
213 System *getSystemPtr() override { return system; }
214
215 TheISA::Kernel::Statistics *
1/*
2 * Copyright (c) 2011-2012, 2016-2018 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

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

208
209 TheISA::ISA *getIsaPtr() override { return isa; }
210
211 TheISA::Decoder *getDecoderPtr() override { return &decoder; }
212
213 System *getSystemPtr() override { return system; }
214
215 TheISA::Kernel::Statistics *
216 getKernelStats()
216 getKernelStats() override
217 {
218 return ThreadState::getKernelStats();
219 }
220
217 {
218 return ThreadState::getKernelStats();
219 }
220
221 PortProxy &getPhysProxy() { return ThreadState::getPhysProxy(); }
221 PortProxy &getPhysProxy() override { return ThreadState::getPhysProxy(); }
222 FSTranslatingPortProxy &
222 FSTranslatingPortProxy &
223 getVirtProxy()
223 getVirtProxy() override
224 {
225 return ThreadState::getVirtProxy();
226 }
227
224 {
225 return ThreadState::getVirtProxy();
226 }
227
228 void initMemProxies(ThreadContext *tc) { ThreadState::initMemProxies(tc); }
228 void initMemProxies(ThreadContext *tc) override
229 {
230 ThreadState::initMemProxies(tc);
231 }
232
229 SETranslatingPortProxy &
233 SETranslatingPortProxy &
230 getMemProxy()
234 getMemProxy() override
231 {
232 return ThreadState::getMemProxy();
233 }
234
235 {
236 return ThreadState::getMemProxy();
237 }
238
235 Process *getProcessPtr() { return ThreadState::getProcessPtr(); }
239 Process *getProcessPtr() override { return ThreadState::getProcessPtr(); }
236 void setProcessPtr(Process *p) override { ThreadState::setProcessPtr(p); }
237
238 Status status() const override { return _status; }
239
240 void setStatus(Status newStatus) override { _status = newStatus; }
241
242 /// Set the status to Active.
243 void activate() override;

--- 456 unchanged lines hidden ---
240 void setProcessPtr(Process *p) override { ThreadState::setProcessPtr(p); }
241
242 Status status() const override { return _status; }
243
244 void setStatus(Status newStatus) override { _status = newStatus; }
245
246 /// Set the status to Active.
247 void activate() override;

--- 456 unchanged lines hidden ---