thread_context.hh (11877:5ea85692a53e) thread_context.hh (11886:43b882cada33)
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

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

125
126 System *getSystemPtr() { return actualTC->getSystemPtr(); }
127
128 TheISA::Kernel::Statistics *getKernelStats()
129 { return actualTC->getKernelStats(); }
130
131 Process *getProcessPtr() { return actualTC->getProcessPtr(); }
132
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

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

125
126 System *getSystemPtr() { return actualTC->getSystemPtr(); }
127
128 TheISA::Kernel::Statistics *getKernelStats()
129 { return actualTC->getKernelStats(); }
130
131 Process *getProcessPtr() { return actualTC->getProcessPtr(); }
132
133 void setProcessPtr(Process *p) { actualTC->setProcessPtr(p); }
134
133 PortProxy &getPhysProxy() { return actualTC->getPhysProxy(); }
134
135 FSTranslatingPortProxy &getVirtProxy()
136 { return actualTC->getVirtProxy(); }
137
138 void initMemProxies(ThreadContext *tc)
139 { actualTC->initMemProxies(tc); }
140

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

249 {
250 DPRINTF(Checker, "Changing PC to %s, old PC %s\n",
251 val, checkerTC->pcState());
252 checkerTC->pcState(val);
253 checkerCPU->recordPCChange(val);
254 return actualTC->pcState(val);
255 }
256
135 PortProxy &getPhysProxy() { return actualTC->getPhysProxy(); }
136
137 FSTranslatingPortProxy &getVirtProxy()
138 { return actualTC->getVirtProxy(); }
139
140 void initMemProxies(ThreadContext *tc)
141 { actualTC->initMemProxies(tc); }
142

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

251 {
252 DPRINTF(Checker, "Changing PC to %s, old PC %s\n",
253 val, checkerTC->pcState());
254 checkerTC->pcState(val);
255 checkerCPU->recordPCChange(val);
256 return actualTC->pcState(val);
257 }
258
259 void setNPC(Addr val)
260 {
261 checkerTC->setNPC(val);
262 actualTC->setNPC(val);
263 }
264
257 void pcStateNoRecord(const TheISA::PCState &val)
258 {
259 return actualTC->pcState(val);
260 }
261
262 /** Reads this thread's PC. */
263 Addr instAddr()
264 { return actualTC->instAddr(); }

--- 72 unchanged lines hidden ---
265 void pcStateNoRecord(const TheISA::PCState &val)
266 {
267 return actualTC->pcState(val);
268 }
269
270 /** Reads this thread's PC. */
271 Addr instAddr()
272 { return actualTC->instAddr(); }

--- 72 unchanged lines hidden ---