1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 341 unchanged lines hidden (view full) --- 350DefaultIEW<Impl>::setScoreboard(Scoreboard *sb_ptr) 351{ 352 DPRINTF(IEW, "Setting scoreboard pointer.\n"); 353 scoreboard = sb_ptr; 354} 355 356template <class Impl> 357void |
358DefaultIEW<Impl>::drain() |
359{ |
360 // IEW is ready to drain at any time. 361 cpu->signalDrained(); |
362} 363 364template <class Impl> 365void |
366DefaultIEW<Impl>::resume() |
367{ |
368} 369 370template <class Impl> 371void 372DefaultIEW<Impl>::switchOut() 373{ |
374 // Clear any state. 375 switchedOut = true; 376 377 instQueue.switchOut(); 378 ldstQueue.switchOut(); 379 fuPool->switchOut(); 380 381 for (int i = 0; i < numThreads; i++) { --- 1147 unchanged lines hidden --- |