fetch_impl.hh (2843:19c4c6c2b5b1) | fetch_impl.hh (2863:2592e056dc5c) |
---|---|
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; --- 371 unchanged lines hidden (view full) --- 380 381 // Reset the mem req to NULL. 382 delete pkt->req; 383 delete pkt; 384 memReq[tid] = NULL; 385} 386 387template <class Impl> | 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; --- 371 unchanged lines hidden (view full) --- 380 381 // Reset the mem req to NULL. 382 delete pkt->req; 383 delete pkt; 384 memReq[tid] = NULL; 385} 386 387template <class Impl> |
388void | 388bool |
389DefaultFetch<Impl>::drain() 390{ 391 // Fetch is ready to drain at any time. 392 cpu->signalDrained(); 393 drainPending = true; | 389DefaultFetch<Impl>::drain() 390{ 391 // Fetch is ready to drain at any time. 392 cpu->signalDrained(); 393 drainPending = true; |
394 return true; |
|
394} 395 396template <class Impl> 397void 398DefaultFetch<Impl>::resume() 399{ 400 drainPending = false; 401} --- 898 unchanged lines hidden --- | 395} 396 397template <class Impl> 398void 399DefaultFetch<Impl>::resume() 400{ 401 drainPending = false; 402} --- 898 unchanged lines hidden --- |