cache.cc (11830:79c3f6a60392) | cache.cc (11865:608f8c34f549) |
---|---|
1/* 2 * Copyright (c) 2010-2016 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 --- 1622 unchanged lines hidden (view full) --- 1631Cache::writebackVisitor(CacheBlk &blk) 1632{ 1633 if (blk.isDirty()) { 1634 assert(blk.isValid()); 1635 1636 Request request(tags->regenerateBlkAddr(blk.tag, blk.set), 1637 blkSize, 0, Request::funcMasterId); 1638 request.taskId(blk.task_id); | 1/* 2 * Copyright (c) 2010-2016 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 --- 1622 unchanged lines hidden (view full) --- 1631Cache::writebackVisitor(CacheBlk &blk) 1632{ 1633 if (blk.isDirty()) { 1634 assert(blk.isValid()); 1635 1636 Request request(tags->regenerateBlkAddr(blk.tag, blk.set), 1637 blkSize, 0, Request::funcMasterId); 1638 request.taskId(blk.task_id); |
1639 if (blk.isSecure()) { 1640 request.setFlags(Request::SECURE); 1641 } |
|
1639 1640 Packet packet(&request, MemCmd::WriteReq); 1641 packet.dataStatic(blk.data); 1642 1643 memSidePort->sendFunctional(&packet); 1644 1645 blk.status &= ~BlkDirty; 1646 } --- 1026 unchanged lines hidden --- | 1642 1643 Packet packet(&request, MemCmd::WriteReq); 1644 packet.dataStatic(blk.data); 1645 1646 memSidePort->sendFunctional(&packet); 1647 1648 blk.status &= ~BlkDirty; 1649 } --- 1026 unchanged lines hidden --- |