cache.hh (8922:17f037ad8918) cache.hh (8948:e95ee70f876c)
1/*
2 * Copyright (c) 2012 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

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

85 {
86 private:
87
88 // a pointer to our specific cache implementation
89 Cache<TagStore> *cache;
90
91 protected:
92
1/*
2 * Copyright (c) 2012 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

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

85 {
86 private:
87
88 // a pointer to our specific cache implementation
89 Cache<TagStore> *cache;
90
91 protected:
92
93 virtual bool recvTimingSnoop(PacketPtr pkt);
94
93 virtual bool recvTiming(PacketPtr pkt);
94
95 virtual Tick recvAtomic(PacketPtr pkt);
96
97 virtual void recvFunctional(PacketPtr pkt);
98
99 virtual unsigned deviceBlockSize() const
100 { return cache->getBlockSize(); }

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

147 /** The cache-specific queue. */
148 MemSidePacketQueue _queue;
149
150 // a pointer to our specific cache implementation
151 Cache<TagStore> *cache;
152
153 protected:
154
95 virtual bool recvTiming(PacketPtr pkt);
96
97 virtual Tick recvAtomic(PacketPtr pkt);
98
99 virtual void recvFunctional(PacketPtr pkt);
100
101 virtual unsigned deviceBlockSize() const
102 { return cache->getBlockSize(); }

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

149 /** The cache-specific queue. */
150 MemSidePacketQueue _queue;
151
152 // a pointer to our specific cache implementation
153 Cache<TagStore> *cache;
154
155 protected:
156
157 virtual bool recvTimingSnoop(PacketPtr pkt);
158
155 virtual bool recvTiming(PacketPtr pkt);
156
159 virtual bool recvTiming(PacketPtr pkt);
160
157 virtual Tick recvAtomic(PacketPtr pkt);
161 virtual Tick recvAtomicSnoop(PacketPtr pkt);
158
162
159 virtual void recvFunctional(PacketPtr pkt);
163 virtual void recvFunctionalSnoop(PacketPtr pkt);
160
161 virtual unsigned deviceBlockSize() const
162 { return cache->getBlockSize(); }
163
164 public:
165
166 MemSidePort(const std::string &_name, Cache<TagStore> *_cache,
167 const std::string &_label);

--- 204 unchanged lines hidden ---
164
165 virtual unsigned deviceBlockSize() const
166 { return cache->getBlockSize(); }
167
168 public:
169
170 MemSidePort(const std::string &_name, Cache<TagStore> *_cache,
171 const std::string &_label);

--- 204 unchanged lines hidden ---