cache.cc (11136:3fd483cdd458) cache.cc (11137:0229c7b15ca1)
1/*
2 * Copyright (c) 2010-2015 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

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

1652 // don't clear block status... if block is already dirty we
1653 // don't want to lose that
1654 }
1655
1656 if (is_secure)
1657 blk->status |= BlkSecure;
1658 blk->status |= BlkValid | BlkReadable;
1659
1/*
2 * Copyright (c) 2010-2015 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

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

1652 // don't clear block status... if block is already dirty we
1653 // don't want to lose that
1654 }
1655
1656 if (is_secure)
1657 blk->status |= BlkSecure;
1658 blk->status |= BlkValid | BlkReadable;
1659
1660 // sanity check for whole-line writes, which should always be
1661 // marked as writable as part of the fill, and then later marked
1662 // dirty as part of satisfyCpuSideRequest
1663 if (pkt->cmd == MemCmd::WriteLineReq) {
1664 assert(!pkt->sharedAsserted());
1665 // at the moment other caches do not respond to the
1666 // invalidation requests corresponding to a whole-line write
1667 assert(!pkt->memInhibitAsserted());
1668 }
1669
1660 if (!pkt->sharedAsserted()) {
1661 // we could get non-shared responses from memory (rather than
1662 // a cache) even in a read-only cache, note that we set this
1663 // bit even for a read-only cache as we use it to represent
1664 // the exclusive state
1665 blk->status |= BlkWritable;
1666
1667 // If we got this via cache-to-cache transfer (i.e., from a

--- 867 unchanged lines hidden ---
1670 if (!pkt->sharedAsserted()) {
1671 // we could get non-shared responses from memory (rather than
1672 // a cache) even in a read-only cache, note that we set this
1673 // bit even for a read-only cache as we use it to represent
1674 // the exclusive state
1675 blk->status |= BlkWritable;
1676
1677 // If we got this via cache-to-cache transfer (i.e., from a

--- 867 unchanged lines hidden ---