cache.cc (13860:8f8df5b68439) cache.cc (13945:a573bed35a8b)
1/*
2 * Copyright (c) 2010-2019 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 1115 unchanged lines hidden (view full) ---

1124 doTimingSupplyResponse(pkt, blk->data, is_deferred, pending_inval);
1125 } else {
1126 pkt->makeAtomicResponse();
1127 // packets such as upgrades do not actually have any data
1128 // payload
1129 if (pkt->hasData())
1130 pkt->setDataFromBlock(blk->data, blkSize);
1131 }
1/*
2 * Copyright (c) 2010-2019 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 1115 unchanged lines hidden (view full) ---

1124 doTimingSupplyResponse(pkt, blk->data, is_deferred, pending_inval);
1125 } else {
1126 pkt->makeAtomicResponse();
1127 // packets such as upgrades do not actually have any data
1128 // payload
1129 if (pkt->hasData())
1130 pkt->setDataFromBlock(blk->data, blkSize);
1131 }
1132
1133 // When a block is compressed, it must first be decompressed before
1134 // being read, and this increases the snoop delay.
1135 if (compressor && pkt->isRead()) {
1136 snoop_delay += compressor->getDecompressionLatency(blk);
1137 }
1132 }
1133
1134 if (!respond && is_deferred) {
1135 assert(pkt->needsResponse());
1136 delete pkt;
1137 }
1138
1139 // Do this last in case it deallocates block data or something

--- 255 unchanged lines hidden ---
1138 }
1139
1140 if (!respond && is_deferred) {
1141 assert(pkt->needsResponse());
1142 delete pkt;
1143 }
1144
1145 // Do this last in case it deallocates block data or something

--- 255 unchanged lines hidden ---