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; --- 148 unchanged lines hidden (view full) --- 157 * Does all the processing necessary to perform the provided request. 158 * @param pkt The memory request to perform. 159 * @param lat The latency of the access. 160 * @param writebacks List for any writebacks that need to be performed. 161 * @param update True if the replacement data should be updated. 162 * @return Pointer to the cache block touched by the request. NULL if it 163 * was a miss. 164 */ |
165 bool access(PacketPtr pkt, BlkType *&blk, 166 int &lat, PacketList &writebacks); |
167 168 /** 169 *Handle doing the Compare and Swap function for SPARC. 170 */ 171 void cmpAndSwap(BlkType *blk, PacketPtr pkt); 172 173 /** 174 * Find a block frame for new block at address addr, assuming that --- 163 unchanged lines hidden --- |