diff options
Diffstat (limited to 'cpu/ozone/front_end_impl.hh')
-rw-r--r-- | cpu/ozone/front_end_impl.hh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpu/ozone/front_end_impl.hh b/cpu/ozone/front_end_impl.hh index a3eb809d0..8ae9ec696 100644 --- a/cpu/ozone/front_end_impl.hh +++ b/cpu/ozone/front_end_impl.hh @@ -240,6 +240,9 @@ template <class Impl> void FrontEnd<Impl>::tick() { + if (switchedOut) + return; + // @todo: Maybe I want to just have direct communication... if (fromCommit->doneSeqNum) { branchPred.update(fromCommit->doneSeqNum, 0); @@ -828,6 +831,13 @@ void FrontEnd<Impl>::switchOut() { switchedOut = true; + cpu->signalSwitched(); +} + +template <class Impl> +void +FrontEnd<Impl>::doSwitchOut() +{ memReq = NULL; squash(0, 0); instBuffer.clear(); |