Deleted Added
sdiff udiff text old ( 13551:f352df8e2863 ) new ( 13624:3d8220c2d41d )
full compact
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

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

209 bool observeAccess(const PacketPtr &pkt) const;
210
211 /** Determine if address is in cache */
212 bool inCache(Addr addr, bool is_secure) const;
213
214 /** Determine if address is in cache miss queue */
215 bool inMissQueue(Addr addr, bool is_secure) const;
216
217 /** Determine if addresses are on the same page */
218 bool samePage(Addr a, Addr b) const;
219 /** Determine the address of the block in which a lays */
220 Addr blockAddress(Addr a) const;
221 /** Determine the address of a at block granularity */
222 Addr blockIndex(Addr a) const;
223 /** Determine the address of the page in which a lays */
224 Addr pageAddress(Addr a) const;
225 /** Determine the page-offset of a */
226 Addr pageOffset(Addr a) const;
227 /** Build the address of the i-th block inside the page */
228 Addr pageIthBlockAddress(Addr page, uint32_t i) const;
229
230 Stats::Scalar pfIssued;
231
232 public:
233
234 BasePrefetcher(const BasePrefetcherParams *p);
235
236 virtual ~BasePrefetcher() {}
237
238 void setCache(BaseCache *_cache);
239

--- 34 unchanged lines hidden ---