summaryrefslogtreecommitdiff
path: root/cpu/exec_context.cc
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2004-02-02 18:14:11 -0800
committerSteve Reinhardt <stever@eecs.umich.edu>2004-02-02 18:14:11 -0800
commitb79f6b3273057d99809aced133333552778fd055 (patch)
tree4b0270ff2751e544984f5d8e6c79f52268e02f05 /cpu/exec_context.cc
parent548b4a1cb045c6675692e8ed7c6375ebb808c803 (diff)
downloadgem5-b79f6b3273057d99809aced133333552778fd055.tar.xz
insn->inst
--HG-- extra : convert_revision : fcc556fb7e65855ec3c04ef272177c8e7a38fff9
Diffstat (limited to 'cpu/exec_context.cc')
-rw-r--r--cpu/exec_context.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpu/exec_context.cc b/cpu/exec_context.cc
index 23ae7eda8..6a5f463cd 100644
--- a/cpu/exec_context.cc
+++ b/cpu/exec_context.cc
@@ -51,7 +51,7 @@ ExecContext::ExecContext(BaseCPU *_cpu, int _thread_num, System *_sys,
#ifdef FS_MEASURE
swCtx(NULL),
#endif
- func_exe_insn(0), storeCondFailures(0)
+ func_exe_inst(0), storeCondFailures(0)
{
memset(&regs, 0, sizeof(RegFile));
}
@@ -61,14 +61,14 @@ ExecContext::ExecContext(BaseCPU *_cpu, int _thread_num,
: _status(ExecContext::Unallocated),
cpu(_cpu), thread_num(_thread_num), cpu_id(-1),
process(_process), mem(process->getMemory()), asid(_asid),
- func_exe_insn(0), storeCondFailures(0)
+ func_exe_inst(0), storeCondFailures(0)
{
}
ExecContext::ExecContext(BaseCPU *_cpu, int _thread_num,
FunctionalMemory *_mem, int _asid)
: cpu(_cpu), thread_num(_thread_num), process(0), mem(_mem), asid(_asid),
- func_exe_insn(0), storeCondFailures(0)
+ func_exe_inst(0), storeCondFailures(0)
{
}
#endif
@@ -92,7 +92,7 @@ ExecContext::takeOverFrom(ExecContext *oldContext)
#endif
regs = oldContext->regs;
cpu_id = oldContext->cpu_id;
- func_exe_insn = oldContext->func_exe_insn;
+ func_exe_inst = oldContext->func_exe_inst;
storeCondFailures = 0;
@@ -106,7 +106,7 @@ ExecContext::serialize(ostream &os)
SERIALIZE_ENUM(_status);
regs.serialize(os);
// thread_num and cpu_id are deterministic from the config
- SERIALIZE_SCALAR(func_exe_insn);
+ SERIALIZE_SCALAR(func_exe_inst);
}
@@ -116,7 +116,7 @@ ExecContext::unserialize(Checkpoint *cp, const std::string &section)
UNSERIALIZE_ENUM(_status);
regs.unserialize(cp, section);
// thread_num and cpu_id are deterministic from the config
- UNSERIALIZE_SCALAR(func_exe_insn);
+ UNSERIALIZE_SCALAR(func_exe_inst);
}