cache.hh (4908:771ec077a955) cache.hh (4965:ad0e792a5c78)
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

67 bool prefetchAccess;
68
69 protected:
70
71 class CpuSidePort : public CachePort
72 {
73 public:
74 CpuSidePort(const std::string &_name,
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

67 bool prefetchAccess;
68
69 protected:
70
71 class CpuSidePort : public CachePort
72 {
73 public:
74 CpuSidePort(const std::string &_name,
75 Cache<TagStore> *_cache);
75 Cache<TagStore> *_cache,
76 std::vector<Range<Addr> > filterRanges);
76
77 // BaseCache::CachePort just has a BaseCache *; this function
78 // lets us get back the type info we lost when we stored the
79 // cache pointer there.
80 Cache<TagStore> *myCache() {
81 return static_cast<Cache<TagStore> *>(cache);
82 }
83

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

90
91 virtual void recvFunctional(PacketPtr pkt);
92 };
93
94 class MemSidePort : public CachePort
95 {
96 public:
97 MemSidePort(const std::string &_name,
77
78 // BaseCache::CachePort just has a BaseCache *; this function
79 // lets us get back the type info we lost when we stored the
80 // cache pointer there.
81 Cache<TagStore> *myCache() {
82 return static_cast<Cache<TagStore> *>(cache);
83 }
84

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

91
92 virtual void recvFunctional(PacketPtr pkt);
93 };
94
95 class MemSidePort : public CachePort
96 {
97 public:
98 MemSidePort(const std::string &_name,
98 Cache<TagStore> *_cache);
99 Cache<TagStore> *_cache,
100 std::vector<Range<Addr> > filterRanges);
99
100 // BaseCache::CachePort just has a BaseCache *; this function
101 // lets us get back the type info we lost when we stored the
102 // cache pointer there.
103 Cache<TagStore> *myCache() {
104 return static_cast<Cache<TagStore> *>(cache);
105 }
106

--- 223 unchanged lines hidden ---
101
102 // BaseCache::CachePort just has a BaseCache *; this function
103 // lets us get back the type info we lost when we stored the
104 // cache pointer there.
105 Cache<TagStore> *myCache() {
106 return static_cast<Cache<TagStore> *>(cache);
107 }
108

--- 223 unchanged lines hidden ---