gem5  v21.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
thread_context.hh
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2011-2012, 2016-2018, 2020 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
9  * to a hardware implementation of the functionality of the software
10  * licensed hereunder. You may use the software subject to the license
11  * terms below provided that you ensure that this notice is replicated
12  * unmodified and in its entirety in all distributions of the software,
13  * modified or unmodified, in source code or in binary form.
14  *
15  * Copyright (c) 2006 The Regents of The University of Michigan
16  * All rights reserved.
17  *
18  * Redistribution and use in source and binary forms, with or without
19  * modification, are permitted provided that the following conditions are
20  * met: redistributions of source code must retain the above copyright
21  * notice, this list of conditions and the following disclaimer;
22  * redistributions in binary form must reproduce the above copyright
23  * notice, this list of conditions and the following disclaimer in the
24  * documentation and/or other materials provided with the distribution;
25  * neither the name of the copyright holders nor the names of its
26  * contributors may be used to endorse or promote products derived from
27  * this software without specific prior written permission.
28  *
29  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
30  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
31  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
32  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
33  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
34  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
35  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
36  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
37  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40  */
41 
42 #ifndef __CPU_THREAD_CONTEXT_HH__
43 #define __CPU_THREAD_CONTEXT_HH__
44 
45 #include <iostream>
46 #include <string>
47 
48 #include "arch/generic/htm.hh"
49 #include "arch/generic/isa.hh"
50 #include "arch/registers.hh"
51 #include "arch/types.hh"
52 #include "base/types.hh"
53 #include "config/the_isa.hh"
54 #include "cpu/pc_event.hh"
55 #include "cpu/reg_class.hh"
56 
57 // @todo: Figure out a more architecture independent way to obtain the ITB and
58 // DTB pointers.
59 namespace TheISA
60 {
61  class Decoder;
62 }
63 class BaseCPU;
64 class BaseMMU;
65 class BaseTLB;
66 class CheckerCPU;
67 class Checkpoint;
68 class PortProxy;
69 class Process;
70 class System;
71 
89 {
90  protected:
91  bool useForClone = false;
92 
93  public:
94 
95  bool getUseForClone() { return useForClone; }
96 
97  void setUseForClone(bool new_val) { useForClone = new_val; }
98 
99  enum Status
100  {
104 
108 
112 
117  };
118 
119  virtual ~ThreadContext() { };
120 
121  virtual BaseCPU *getCpuPtr() = 0;
122 
123  virtual int cpuId() const = 0;
124 
125  virtual uint32_t socketId() const = 0;
126 
127  virtual int threadId() const = 0;
128 
129  virtual void setThreadId(int id) = 0;
130 
131  virtual ContextID contextId() const = 0;
132 
133  virtual void setContextId(ContextID id) = 0;
134 
135  virtual BaseMMU *getMMUPtr() = 0;
136 
137  virtual CheckerCPU *getCheckerCpuPtr() = 0;
138 
139  virtual BaseISA *getIsaPtr() = 0;
140 
141  virtual TheISA::Decoder *getDecoderPtr() = 0;
142 
143  virtual System *getSystemPtr() = 0;
144 
145  virtual PortProxy &getPhysProxy() = 0;
146 
147  virtual PortProxy &getVirtProxy() = 0;
148 
155  virtual void initMemProxies(ThreadContext *tc) = 0;
156 
157  virtual Process *getProcessPtr() = 0;
158 
159  virtual void setProcessPtr(Process *p) = 0;
160 
161  virtual Status status() const = 0;
162 
163  virtual void setStatus(Status new_status) = 0;
164 
166  virtual void activate() = 0;
167 
169  virtual void suspend() = 0;
170 
172  virtual void halt() = 0;
173 
175  void quiesce();
176 
178  void quiesceTick(Tick resume);
179 
180  virtual void takeOverFrom(ThreadContext *old_context) = 0;
181 
182  virtual void regStats(const std::string &name) {};
183 
184  virtual void scheduleInstCountEvent(Event *event, Tick count) = 0;
185  virtual void descheduleInstCountEvent(Event *event) = 0;
186  virtual Tick getCurrentInstCount() = 0;
187 
188  // Not necessarily the best location for these...
189  // Having an extra function just to read these is obnoxious
190  virtual Tick readLastActivate() = 0;
191  virtual Tick readLastSuspend() = 0;
192 
193  virtual void copyArchRegs(ThreadContext *tc) = 0;
194 
195  virtual void clearArchRegs() = 0;
196 
197  //
198  // New accessors for new decoder.
199  //
200  virtual RegVal readIntReg(RegIndex reg_idx) const = 0;
201 
202  virtual RegVal readFloatReg(RegIndex reg_idx) const = 0;
203 
204  virtual const TheISA::VecRegContainer&
205  readVecReg(const RegId& reg) const = 0;
206  virtual TheISA::VecRegContainer& getWritableVecReg(const RegId& reg) = 0;
207 
211  virtual ConstVecLane8
212  readVec8BitLaneReg(const RegId& reg) const = 0;
213 
215  virtual ConstVecLane16
216  readVec16BitLaneReg(const RegId& reg) const = 0;
217 
219  virtual ConstVecLane32
220  readVec32BitLaneReg(const RegId& reg) const = 0;
221 
223  virtual ConstVecLane64
224  readVec64BitLaneReg(const RegId& reg) const = 0;
225 
227  virtual void setVecLane(const RegId& reg,
228  const LaneData<LaneSize::Byte>& val) = 0;
229  virtual void setVecLane(const RegId& reg,
230  const LaneData<LaneSize::TwoByte>& val) = 0;
231  virtual void setVecLane(const RegId& reg,
232  const LaneData<LaneSize::FourByte>& val) = 0;
233  virtual void setVecLane(const RegId& reg,
237  virtual const TheISA::VecElem& readVecElem(const RegId& reg) const = 0;
238 
240  const RegId& reg) const = 0;
242  const RegId& reg) = 0;
243 
244  virtual RegVal readCCReg(RegIndex reg_idx) const = 0;
245 
246  virtual void setIntReg(RegIndex reg_idx, RegVal val) = 0;
247 
248  virtual void setFloatReg(RegIndex reg_idx, RegVal val) = 0;
249 
250  virtual void setVecReg(const RegId& reg,
251  const TheISA::VecRegContainer& val) = 0;
252 
253  virtual void setVecElem(const RegId& reg, const TheISA::VecElem& val) = 0;
254 
255  virtual void setVecPredReg(const RegId& reg,
256  const TheISA::VecPredRegContainer& val) = 0;
257 
258  virtual void setCCReg(RegIndex reg_idx, RegVal val) = 0;
259 
260  virtual TheISA::PCState pcState() const = 0;
261 
262  virtual void pcState(const TheISA::PCState &val) = 0;
263 
264  void
266  {
267  TheISA::PCState pc_state = pcState();
268  pc_state.setNPC(val);
269  pcState(pc_state);
270  }
271 
272  virtual void pcStateNoRecord(const TheISA::PCState &val) = 0;
273 
274  virtual Addr instAddr() const = 0;
275 
276  virtual Addr nextInstAddr() const = 0;
277 
278  virtual MicroPC microPC() const = 0;
279 
280  virtual RegVal readMiscRegNoEffect(RegIndex misc_reg) const = 0;
281 
282  virtual RegVal readMiscReg(RegIndex misc_reg) = 0;
283 
284  virtual void setMiscRegNoEffect(RegIndex misc_reg, RegVal val) = 0;
285 
286  virtual void setMiscReg(RegIndex misc_reg, RegVal val) = 0;
287 
288  virtual RegId flattenRegId(const RegId& reg_id) const = 0;
289 
290  // Also not necessarily the best location for these two. Hopefully will go
291  // away once we decide upon where st cond failures goes.
292  virtual unsigned readStCondFailures() const = 0;
293 
294  virtual void setStCondFailures(unsigned sc_failures) = 0;
295 
296  // Same with st cond failures.
297  virtual Counter readFuncExeInst() const = 0;
298 
299  // This function exits the thread context in the CPU and returns
300  // 1 if the CPU has no more active threads (meaning it's OK to exit);
301  // Used in syscall-emulation mode when a thread calls the exit syscall.
302  virtual int exit() { return 1; };
303 
305  static void compare(ThreadContext *one, ThreadContext *two);
306 
319  virtual RegVal readIntRegFlat(RegIndex idx) const = 0;
320  virtual void setIntRegFlat(RegIndex idx, RegVal val) = 0;
321 
322  virtual RegVal readFloatRegFlat(RegIndex idx) const = 0;
323  virtual void setFloatRegFlat(RegIndex idx, RegVal val) = 0;
324 
325  virtual const TheISA::VecRegContainer&
326  readVecRegFlat(RegIndex idx) const = 0;
328  virtual void setVecRegFlat(RegIndex idx,
329  const TheISA::VecRegContainer& val) = 0;
330 
331  virtual const TheISA::VecElem& readVecElemFlat(RegIndex idx,
332  const ElemIndex& elem_idx) const = 0;
333  virtual void setVecElemFlat(RegIndex idx, const ElemIndex& elem_idx,
334  const TheISA::VecElem& val) = 0;
335 
336  virtual const TheISA::VecPredRegContainer &
337  readVecPredRegFlat(RegIndex idx) const = 0;
339  RegIndex idx) = 0;
340  virtual void setVecPredRegFlat(RegIndex idx,
341  const TheISA::VecPredRegContainer& val) = 0;
342 
343  virtual RegVal readCCRegFlat(RegIndex idx) const = 0;
344  virtual void setCCRegFlat(RegIndex idx, RegVal val) = 0;
347  // hardware transactional memory
348  virtual void htmAbortTransaction(uint64_t htm_uid,
349  HtmFailureFaultCause cause) = 0;
351  virtual void setHtmCheckpointPtr(BaseHTMCheckpointPtr cpt) = 0;
352 };
353 
364 void serialize(const ThreadContext &tc, CheckpointOut &cp);
366 
380 void takeOverFrom(ThreadContext &new_tc, ThreadContext &old_tc);
381 
382 #endif
ThreadContext::readMiscRegNoEffect
virtual RegVal readMiscRegNoEffect(RegIndex misc_reg) const =0
htm.hh
ThreadContext::readIntRegFlat
virtual RegVal readIntRegFlat(RegIndex idx) const =0
Flat register interfaces.
ThreadContext::descheduleInstCountEvent
virtual void descheduleInstCountEvent(Event *event)=0
ThreadContext::setUseForClone
void setUseForClone(bool new_val)
Definition: thread_context.hh:97
ThreadContext::setContextId
virtual void setContextId(ContextID id)=0
ThreadContext::getCurrentInstCount
virtual Tick getCurrentInstCount()=0
BaseMMU
Definition: mmu.hh:45
ThreadContext::activate
virtual void activate()=0
Set the status to Active.
ArmISA::VecRegContainer
VecReg::Container VecRegContainer
Definition: registers.hh:63
ThreadContext::quiesce
void quiesce()
Quiesce thread context.
Definition: thread_context.cc:129
ThreadContext::getUseForClone
bool getUseForClone()
Definition: thread_context.hh:95
Process
Definition: process.hh:65
ThreadContext::Halting
@ Halting
Trying to exit and waiting for an event to completely exit.
Definition: thread_context.hh:111
ThreadContext::useForClone
bool useForClone
Definition: thread_context.hh:91
ThreadContext::regStats
virtual void regStats(const std::string &name)
Definition: thread_context.hh:182
ThreadContext::setVecPredReg
virtual void setVecPredReg(const RegId &reg, const TheISA::VecPredRegContainer &val)=0
ThreadContext::readVec64BitLaneReg
virtual ConstVecLane64 readVec64BitLaneReg(const RegId &reg) const =0
Reads source vector 64bit operand.
ContextID
int ContextID
Globally unique thread context ID.
Definition: types.hh:237
ThreadContext::getMMUPtr
virtual BaseMMU * getMMUPtr()=0
ThreadContext::htmAbortTransaction
virtual void htmAbortTransaction(uint64_t htm_uid, HtmFailureFaultCause cause)=0
TheISA
Definition: thread_context.hh:52
ThreadContext::suspend
virtual void suspend()=0
Set the status to Suspended.
serialize
void serialize(const ThreadContext &tc, CheckpointOut &cp)
Thread context serialization helpers.
Definition: thread_context.cc:142
ThreadContext::setIntReg
virtual void setIntReg(RegIndex reg_idx, RegVal val)=0
Tick
uint64_t Tick
Tick count type.
Definition: types.hh:59
ArmISA::VecPredRegContainer
VecPredReg::Container VecPredRegContainer
Definition: registers.hh:69
ThreadContext::readFuncExeInst
virtual Counter readFuncExeInst() const =0
ThreadContext::~ThreadContext
virtual ~ThreadContext()
Definition: thread_context.hh:119
ThreadContext::flattenRegId
virtual RegId flattenRegId(const RegId &reg_id) const =0
CheckerCPU
CheckerCPU class.
Definition: cpu.hh:85
ThreadContext::getPhysProxy
virtual PortProxy & getPhysProxy()=0
ThreadContext::setVecLane
virtual void setVecLane(const RegId &reg, const LaneData< LaneSize::Byte > &val)=0
Write a lane of the destination vector register.
HtmFailureFaultCause
HtmFailureFaultCause
Definition: htm.hh:44
ThreadContext::getProcessPtr
virtual Process * getProcessPtr()=0
X86ISA::count
count
Definition: misc.hh:703
ThreadContext::readVecReg
virtual const TheISA::VecRegContainer & readVecReg(const RegId &reg) const =0
ThreadContext::setHtmCheckpointPtr
virtual void setHtmCheckpointPtr(BaseHTMCheckpointPtr cpt)=0
ThreadContext::setFloatRegFlat
virtual void setFloatRegFlat(RegIndex idx, RegVal val)=0
X86ISA::reg
Bitfield< 5, 3 > reg
Definition: types.hh:88
BaseTLB
Definition: tlb.hh:50
ThreadContext::threadId
virtual int threadId() const =0
takeOverFrom
void takeOverFrom(ThreadContext &new_tc, ThreadContext &old_tc)
Copy state between thread contexts in preparation for CPU handover.
Definition: thread_context.cc:224
RegId
Register ID: describe an architectural register with its class and index.
Definition: reg_class.hh:75
ThreadContext::halt
virtual void halt()=0
Set the status to Halted.
ThreadContext::getIsaPtr
virtual BaseISA * getIsaPtr()=0
ThreadContext::readLastSuspend
virtual Tick readLastSuspend()=0
ThreadContext::readFloatReg
virtual RegVal readFloatReg(RegIndex reg_idx) const =0
Counter
int64_t Counter
Statistics counter type.
Definition: types.hh:54
ThreadContext::readLastActivate
virtual Tick readLastActivate()=0
ThreadContext::setVecPredRegFlat
virtual void setVecPredRegFlat(RegIndex idx, const TheISA::VecPredRegContainer &val)=0
ThreadContext::readStCondFailures
virtual unsigned readStCondFailures() const =0
ArmISA::VecElem
uint32_t VecElem
Definition: registers.hh:60
ThreadContext::readVecPredRegFlat
virtual const TheISA::VecPredRegContainer & readVecPredRegFlat(RegIndex idx) const =0
cp
Definition: cprintf.cc:37
ThreadContext::setVecElem
virtual void setVecElem(const RegId &reg, const TheISA::VecElem &val)=0
ThreadContext::clearArchRegs
virtual void clearArchRegs()=0
ThreadContext::exit
virtual int exit()
Definition: thread_context.hh:302
ThreadContext::takeOverFrom
virtual void takeOverFrom(ThreadContext *old_context)=0
ThreadContext::initMemProxies
virtual void initMemProxies(ThreadContext *tc)=0
Initialise the physical and virtual port proxies and tie them to the data port of the CPU.
ThreadContext::readCCRegFlat
virtual RegVal readCCRegFlat(RegIndex idx) const =0
ThreadContext::setVecElemFlat
virtual void setVecElemFlat(RegIndex idx, const ElemIndex &elem_idx, const TheISA::VecElem &val)=0
ThreadContext
ThreadContext is the external interface to all thread state for anything outside of the CPU.
Definition: thread_context.hh:88
ThreadContext::getWritableVecRegFlat
virtual TheISA::VecRegContainer & getWritableVecRegFlat(RegIndex idx)=0
ThreadContext::microPC
virtual MicroPC microPC() const =0
Event
Definition: eventq.hh:248
VecLaneT
Vector Lane abstraction Another view of a container.
Definition: vec_reg.hh:262
ThreadContext::readVecElem
virtual const TheISA::VecElem & readVecElem(const RegId &reg) const =0
Ps2::one
Bitfield< 3 > one
Definition: types.hh:110
System
Definition: system.hh:73
ThreadContext::readVec8BitLaneReg
virtual ConstVecLane8 readVec8BitLaneReg(const RegId &reg) const =0
Vector Register Lane Interfaces.
ThreadContext::pcStateNoRecord
virtual void pcStateNoRecord(const TheISA::PCState &val)=0
ThreadContext::setIntRegFlat
virtual void setIntRegFlat(RegIndex idx, RegVal val)=0
ThreadContext::Halted
@ Halted
Permanently shut down.
Definition: thread_context.hh:116
MipsISA::event
Bitfield< 10, 5 > event
Definition: pra_constants.hh:297
ThreadContext::readVecPredReg
virtual const TheISA::VecPredRegContainer & readVecPredReg(const RegId &reg) const =0
ThreadContext::cpuId
virtual int cpuId() const =0
ThreadContext::contextId
virtual ContextID contextId() const =0
ThreadContext::setVecReg
virtual void setVecReg(const RegId &reg, const TheISA::VecRegContainer &val)=0
PCEventScope
Definition: pc_event.hh:64
ThreadContext::readFloatRegFlat
virtual RegVal readFloatRegFlat(RegIndex idx) const =0
ThreadContext::setNPC
void setNPC(Addr val)
Definition: thread_context.hh:265
X86ISA::val
Bitfield< 63 > val
Definition: misc.hh:769
ThreadContext::status
virtual Status status() const =0
Addr
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Definition: types.hh:148
ThreadContext::readVec16BitLaneReg
virtual ConstVecLane16 readVec16BitLaneReg(const RegId &reg) const =0
Reads source vector 16bit operand.
ThreadContext::Status
Status
Definition: thread_context.hh:99
BaseHTMCheckpointPtr
std::unique_ptr< BaseHTMCheckpoint > BaseHTMCheckpointPtr
Definition: htm.hh:122
ThreadContext::setStatus
virtual void setStatus(Status new_status)=0
name
const std::string & name()
Definition: trace.cc:48
ThreadContext::quiesceTick
void quiesceTick(Tick resume)
Quiesce, suspend, and schedule activate at resume.
Definition: thread_context.cc:136
ThreadContext::getWritableVecPredReg
virtual TheISA::VecPredRegContainer & getWritableVecPredReg(const RegId &reg)=0
ThreadContext::pcState
virtual TheISA::PCState pcState() const =0
ThreadContext::readCCReg
virtual RegVal readCCReg(RegIndex reg_idx) const =0
ThreadContext::getVirtProxy
virtual PortProxy & getVirtProxy()=0
BaseCPU
Definition: base.hh:104
ThreadContext::scheduleInstCountEvent
virtual void scheduleInstCountEvent(Event *event, Tick count)=0
isa.hh
ThreadContext::Suspended
@ Suspended
Temporarily inactive.
Definition: thread_context.hh:107
ThreadContext::compare
static void compare(ThreadContext *one, ThreadContext *two)
function to compare two thread contexts (for debugging)
Definition: thread_context.cc:55
PortProxy
This object is a proxy for a port or other object which implements the functional response protocol,...
Definition: port_proxy.hh:80
ThreadContext::getWritableVecReg
virtual TheISA::VecRegContainer & getWritableVecReg(const RegId &reg)=0
ThreadContext::setCCReg
virtual void setCCReg(RegIndex reg_idx, RegVal val)=0
ThreadContext::getWritableVecPredRegFlat
virtual TheISA::VecPredRegContainer & getWritableVecPredRegFlat(RegIndex idx)=0
ThreadContext::setFloatReg
virtual void setFloatReg(RegIndex reg_idx, RegVal val)=0
ThreadContext::setCCRegFlat
virtual void setCCRegFlat(RegIndex idx, RegVal val)=0
pc_event.hh
MipsISA::PCState
GenericISA::DelaySlotPCState< MachInst > PCState
Definition: types.hh:41
types.hh
RegIndex
uint16_t RegIndex
Definition: types.hh:52
ThreadContext::readMiscReg
virtual RegVal readMiscReg(RegIndex misc_reg)=0
ThreadContext::setStCondFailures
virtual void setStCondFailures(unsigned sc_failures)=0
ThreadContext::readVec32BitLaneReg
virtual ConstVecLane32 readVec32BitLaneReg(const RegId &reg) const =0
Reads source vector 32bit operand.
ThreadContext::getCheckerCpuPtr
virtual CheckerCPU * getCheckerCpuPtr()=0
ElemIndex
uint16_t ElemIndex
Logical vector register elem index type.
Definition: types.hh:55
ThreadContext::setMiscReg
virtual void setMiscReg(RegIndex misc_reg, RegVal val)=0
reg_class.hh
unserialize
void unserialize(ThreadContext &tc, CheckpointIn &cp)
Definition: thread_context.cc:182
ThreadContext::Active
@ Active
Running.
Definition: thread_context.hh:103
CheckpointOut
std::ostream CheckpointOut
Definition: serialize.hh:64
ThreadContext::getDecoderPtr
virtual TheISA::Decoder * getDecoderPtr()=0
ThreadContext::nextInstAddr
virtual Addr nextInstAddr() const =0
ThreadContext::copyArchRegs
virtual void copyArchRegs(ThreadContext *tc)=0
ThreadContext::setMiscRegNoEffect
virtual void setMiscRegNoEffect(RegIndex misc_reg, RegVal val)=0
MipsISA::p
Bitfield< 0 > p
Definition: pra_constants.hh:323
ThreadContext::getHtmCheckpointPtr
virtual BaseHTMCheckpointPtr & getHtmCheckpointPtr()=0
ThreadContext::socketId
virtual uint32_t socketId() const =0
MicroPC
uint16_t MicroPC
Definition: types.hh:150
ThreadContext::readVecElemFlat
virtual const TheISA::VecElem & readVecElemFlat(RegIndex idx, const ElemIndex &elem_idx) const =0
ThreadContext::setThreadId
virtual void setThreadId(int id)=0
ThreadContext::readIntReg
virtual RegVal readIntReg(RegIndex reg_idx) const =0
CheckpointIn
Definition: serialize.hh:68
ThreadContext::setVecRegFlat
virtual void setVecRegFlat(RegIndex idx, const TheISA::VecRegContainer &val)=0
ThreadContext::getCpuPtr
virtual BaseCPU * getCpuPtr()=0
ThreadContext::instAddr
virtual Addr instAddr() const =0
BaseISA
Definition: isa.hh:47
LaneData
LaneSize is an abstraction of a LS byte value for the execution and thread contexts to handle values ...
Definition: vec_reg.hh:458
RegVal
uint64_t RegVal
Definition: types.hh:174
ThreadContext::readVecRegFlat
virtual const TheISA::VecRegContainer & readVecRegFlat(RegIndex idx) const =0
ThreadContext::setProcessPtr
virtual void setProcessPtr(Process *p)=0
ThreadContext::getSystemPtr
virtual System * getSystemPtr()=0

Generated on Tue Mar 23 2021 19:41:18 for gem5 by doxygen 1.8.17