summaryrefslogtreecommitdiff
path: root/arch/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/alpha_tru64_process.cc10
-rw-r--r--arch/alpha/ev5.cc2
-rw-r--r--arch/alpha/pseudo_inst.cc2
3 files changed, 7 insertions, 7 deletions
diff --git a/arch/alpha/alpha_tru64_process.cc b/arch/alpha/alpha_tru64_process.cc
index aece4de5a..f411e594d 100644
--- a/arch/alpha/alpha_tru64_process.cc
+++ b/arch/alpha/alpha_tru64_process.cc
@@ -892,7 +892,7 @@ class Tru64 {
ec->regs.pc = attrp->registers.pc;
ec->regs.npc = attrp->registers.pc + sizeof(MachInst);
- ec->setStatus(ExecContext::Active);
+ ec->activate();
}
/// Create thread.
@@ -1098,7 +1098,7 @@ class Tru64 {
// found waiting process: make it active
ExecContext *newCtx = i->waitingContext;
assert(newCtx->status() == ExecContext::Suspended);
- newCtx->setStatus(ExecContext::Active);
+ newCtx->activate();
// get rid of this record
i = process->waitList.erase(i);
@@ -1127,7 +1127,7 @@ class Tru64 {
} else {
// lock is busy: disable until free
process->waitList.push_back(Process::WaitRec(uaddr, xc));
- xc->setStatus(ExecContext::Suspended);
+ xc->suspend();
}
}
@@ -1239,7 +1239,7 @@ class Tru64 {
m5_unlock_mutex(lock_addr, process, xc);
process->waitList.push_back(Process::WaitRec(cond_addr, xc));
- xc->setStatus(ExecContext::Suspended);
+ xc->suspend();
return 0;
}
@@ -1250,7 +1250,7 @@ class Tru64 {
ExecContext *xc)
{
assert(xc->status() == ExecContext::Active);
- xc->setStatus(ExecContext::Unallocated);
+ xc->deallocate();
return 0;
}
diff --git a/arch/alpha/ev5.cc b/arch/alpha/ev5.cc
index 826a1ab02..6759fdbf9 100644
--- a/arch/alpha/ev5.cc
+++ b/arch/alpha/ev5.cc
@@ -552,7 +552,7 @@ ExecContext::simPalCheck(int palFunc)
switch (palFunc) {
case PAL::halt:
if (!misspeculating()) {
- setStatus(Halted);
+ halt();
if (--System::numSystemsRunning == 0)
new SimExitEvent("all cpus halted");
}
diff --git a/arch/alpha/pseudo_inst.cc b/arch/alpha/pseudo_inst.cc
index c62de3ce6..c5d82bd21 100644
--- a/arch/alpha/pseudo_inst.cc
+++ b/arch/alpha/pseudo_inst.cc
@@ -52,7 +52,7 @@ namespace AlphaPseudo
return;
Annotate::QUIESCE(xc);
- xc->setStatus(ExecContext::Suspended);
+ xc->suspend();
xc->kernelStats.quiesce();
}