cache.hh (5494:85c8d296c1cb) | cache.hh (5699:ab3067124402) |
---|---|
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; --- 130 unchanged lines hidden (view full) --- 139 /** 140 * Can this cache should allocate a block on a line-sized write miss. 141 */ 142 const bool doFastWrites; 143 144 const bool prefetchMiss; 145 146 /** | 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; --- 130 unchanged lines hidden (view full) --- 139 /** 140 * Can this cache should allocate a block on a line-sized write miss. 141 */ 142 const bool doFastWrites; 143 144 const bool prefetchMiss; 145 146 /** |
147 * Handle a replacement for the given request. 148 * @param blk A pointer to the block, usually NULL 149 * @param pkt The memory request to satisfy. 150 * @param new_state The new state of the block. 151 * @param writebacks A list to store any generated writebacks. 152 */ 153 BlkType* doReplacement(BlkType *blk, PacketPtr pkt, 154 CacheBlk::State new_state, PacketList &writebacks); 155 156 /** | |
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 */ --- 173 unchanged lines hidden --- | 147 * Does all the processing necessary to perform the provided request. 148 * @param pkt The memory request to perform. 149 * @param lat The latency of the access. 150 * @param writebacks List for any writebacks that need to be performed. 151 * @param update True if the replacement data should be updated. 152 * @return Pointer to the cache block touched by the request. NULL if it 153 * was a miss. 154 */ --- 173 unchanged lines hidden --- |