iew_impl.hh (2820:7fde0b0f8f78) | iew_impl.hh (2843:19c4c6c2b5b1) |
---|---|
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 | 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>::switchOut() | 358DefaultIEW<Impl>::drain() |
359{ | 359{ |
360 // IEW is ready to switch out at any time. 361 cpu->signalSwitched(); | 360 // IEW is ready to drain at any time. 361 cpu->signalDrained(); |
362} 363 364template <class Impl> 365void | 362} 363 364template <class Impl> 365void |
366DefaultIEW<Impl>::doSwitchOut() | 366DefaultIEW<Impl>::resume() |
367{ | 367{ |
368} 369 370template <class Impl> 371void 372DefaultIEW<Impl>::switchOut() 373{ |
|
368 // Clear any state. 369 switchedOut = true; 370 371 instQueue.switchOut(); 372 ldstQueue.switchOut(); 373 fuPool->switchOut(); 374 375 for (int i = 0; i < numThreads; i++) { --- 1147 unchanged lines hidden --- | 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 --- |