1/* 2 * Copyright (c) 2013-2014 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 --- 79 unchanged lines hidden (view full) --- 88 bool is_secure = pkt->isSecure(); 89 90 if (pkt->req->isUncacheable()) return false; 91 if (fetch && !onInst) return false; 92 if (!fetch && !onData) return false; 93 if (!fetch && read && !onRead) return false; 94 if (!fetch && !read && !onWrite) return false; 95 if (!fetch && !read && inv) return false; |
96 if (pkt->cmd == MemCmd::CleanEvict) return false; |
97 98 if (onMiss) { 99 return !inCache(addr, is_secure) && 100 !inMissQueue(addr, is_secure); 101 } 102 103 return true; 104} --- 26 unchanged lines hidden --- |