cache.cc (12500:a91cf4e8b6a4) | cache.cc (12551:a5016c69f510) |
---|---|
1/* 2 * Copyright (c) 2010-2018 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 --- 1648 unchanged lines hidden (view full) --- 1657 writebacks[Request::wbMasterId]++; 1658 1659 Request *req = new Request(tags->regenerateBlkAddr(blk->tag, blk->set), 1660 blkSize, 0, Request::wbMasterId); 1661 if (blk->isSecure()) 1662 req->setFlags(Request::SECURE); 1663 1664 req->taskId(blk->task_id); | 1/* 2 * Copyright (c) 2010-2018 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 --- 1648 unchanged lines hidden (view full) --- 1657 writebacks[Request::wbMasterId]++; 1658 1659 Request *req = new Request(tags->regenerateBlkAddr(blk->tag, blk->set), 1660 blkSize, 0, Request::wbMasterId); 1661 if (blk->isSecure()) 1662 req->setFlags(Request::SECURE); 1663 1664 req->taskId(blk->task_id); |
1665 blk->task_id= ContextSwitchTaskId::Unknown; 1666 blk->tickInserted = curTick(); | |
1667 1668 PacketPtr pkt = 1669 new Packet(req, blk->isDirty() ? 1670 MemCmd::WritebackDirty : MemCmd::WritebackClean); 1671 1672 DPRINTF(Cache, "Create Writeback %s writable: %d, dirty: %d\n", 1673 pkt->print(), blk->isWritable(), blk->isDirty()); 1674 --- 62 unchanged lines hidden (view full) --- 1737 // Creating a zero sized write, a message to the snoop filter 1738 Request *req = 1739 new Request(tags->regenerateBlkAddr(blk->tag, blk->set), blkSize, 0, 1740 Request::wbMasterId); 1741 if (blk->isSecure()) 1742 req->setFlags(Request::SECURE); 1743 1744 req->taskId(blk->task_id); | 1665 1666 PacketPtr pkt = 1667 new Packet(req, blk->isDirty() ? 1668 MemCmd::WritebackDirty : MemCmd::WritebackClean); 1669 1670 DPRINTF(Cache, "Create Writeback %s writable: %d, dirty: %d\n", 1671 pkt->print(), blk->isWritable(), blk->isDirty()); 1672 --- 62 unchanged lines hidden (view full) --- 1735 // Creating a zero sized write, a message to the snoop filter 1736 Request *req = 1737 new Request(tags->regenerateBlkAddr(blk->tag, blk->set), blkSize, 0, 1738 Request::wbMasterId); 1739 if (blk->isSecure()) 1740 req->setFlags(Request::SECURE); 1741 1742 req->taskId(blk->task_id); |
1745 blk->task_id = ContextSwitchTaskId::Unknown; 1746 blk->tickInserted = curTick(); | |
1747 1748 PacketPtr pkt = new Packet(req, MemCmd::CleanEvict); 1749 pkt->allocate(); 1750 DPRINTF(Cache, "Create CleanEvict %s\n", pkt->print()); 1751 1752 return pkt; 1753} 1754 --- 1132 unchanged lines hidden --- | 1743 1744 PacketPtr pkt = new Packet(req, MemCmd::CleanEvict); 1745 pkt->allocate(); 1746 DPRINTF(Cache, "Create CleanEvict %s\n", pkt->print()); 1747 1748 return pkt; 1749} 1750 --- 1132 unchanged lines hidden --- |