base.cc (11522:348411ec525a) base.cc (11793:ef606668d247)
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

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

41 * Mitch Hayenga
42 */
43
44/**
45 * @file
46 * Hardware Prefetcher Definition.
47 */
48
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

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

41 * Mitch Hayenga
42 */
43
44/**
45 * @file
46 * Hardware Prefetcher Definition.
47 */
48
49#include "mem/cache/prefetch/base.hh"
50
49#include <list>
50
51#include "base/intmath.hh"
51#include <list>
52
53#include "base/intmath.hh"
52#include "mem/cache/prefetch/base.hh"
53#include "mem/cache/base.hh"
54#include "sim/system.hh"
55
56BasePrefetcher::BasePrefetcher(const BasePrefetcherParams *p)
57 : ClockedObject(p), cache(nullptr), blkSize(0), lBlkSize(0),
58 system(p->sys), onMiss(p->on_miss), onRead(p->on_read),
59 onWrite(p->on_write), onData(p->on_data), onInst(p->on_inst),
60 masterId(system->getMasterId(name())),

--- 103 unchanged lines hidden ---
54#include "mem/cache/base.hh"
55#include "sim/system.hh"
56
57BasePrefetcher::BasePrefetcher(const BasePrefetcherParams *p)
58 : ClockedObject(p), cache(nullptr), blkSize(0), lBlkSize(0),
59 system(p->sys), onMiss(p->on_miss), onRead(p->on_read),
60 onWrite(p->on_write), onData(p->on_data), onInst(p->on_inst),
61 masterId(system->getMasterId(name())),

--- 103 unchanged lines hidden ---