From fafa83ed32933fe250d34dfca23fba348429b176 Mon Sep 17 00:00:00 2001 From: Mitch Hayenga Date: Wed, 30 Sep 2015 11:14:19 -0500 Subject: cpu: Add per-thread monitors Adds per-thread address monitors to support FullSystem SMT. --- src/cpu/simple/base.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cpu/simple/base.cc') diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index 673cadd77..6e8845bf7 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -418,9 +418,8 @@ BaseSimpleCPU::dbg_vtophys(Addr addr) void BaseSimpleCPU::wakeup() { - getCpuAddrMonitor()->gotWakeup = true; - for (ThreadID tid = 0; tid < numThreads; tid++) { + getCpuAddrMonitor(tid)->gotWakeup = true; if (threadInfo[tid]->thread->status() == ThreadContext::Suspended) { DPRINTF(Quiesce,"Suspended Processor awoke\n"); threadInfo[tid]->thread->activate(); -- cgit v1.2.3