1/*
2 * Copyright (c) 2002-2005 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;
--- 265 unchanged lines hidden (view full) ---
274
275 /**
276 * Create a writeback request for the given block.
277 * @param blk The block to writeback.
278 * @return The writeback request for the block.
279 */
280 PacketPtr writebackBlk(BlkType *blk);
281
282 public:
283
284 class Params
285 {
286 public:
287 TagStore *tags;
288 MissBuffer *missQueue;
289 Coherence *coherence;
--- 89 unchanged lines hidden (view full) ---
379 * Snoops bus transactions to maintain coherence.
380 * @param pkt The current bus transaction.
381 */
382 void snoop(PacketPtr &pkt);
383
384 void snoopResponse(PacketPtr &pkt);
385
386 /**
387 * Squash all requests associated with specified thread.
388 * intended for use by I-cache.
389 * @param threadNum The thread to squash.
390 */
391 void squash(int threadNum)
392 {
393 missQueue->squash(threadNum);
394 }
--- 45 unchanged lines hidden ---
2 * Copyright (c) 2002-2005 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;
--- 265 unchanged lines hidden (view full) ---
274
275 /**
276 * Create a writeback request for the given block.
277 * @param blk The block to writeback.
278 * @return The writeback request for the block.
279 */
280 PacketPtr writebackBlk(BlkType *blk);
281
282 public:
283
284 class Params
285 {
286 public:
287 TagStore *tags;
288 MissBuffer *missQueue;
289 Coherence *coherence;
--- 89 unchanged lines hidden (view full) ---
379 * Snoops bus transactions to maintain coherence.
380 * @param pkt The current bus transaction.
381 */
382 void snoop(PacketPtr &pkt);
383
384 void snoopResponse(PacketPtr &pkt);
385
386 /**
387 * Squash all requests associated with specified thread.
388 * intended for use by I-cache.
389 * @param threadNum The thread to squash.
390 */
391 void squash(int threadNum)
392 {
393 missQueue->squash(threadNum);
394 }
--- 45 unchanged lines hidden ---