RubyPort.hh (10913:38dbdeea7f1f) RubyPort.hh (10919:80069a602c83)
1/*
2 * Copyright (c) 2012-2013 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

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

70 bool recvTimingResp(PacketPtr pkt);
71 void recvRangeChange() {}
72 };
73
74 class MemSlavePort : public QueuedSlavePort
75 {
76 private:
77 RespPacketQueue queue;
1/*
2 * Copyright (c) 2012-2013 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

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

70 bool recvTimingResp(PacketPtr pkt);
71 void recvRangeChange() {}
72 };
73
74 class MemSlavePort : public QueuedSlavePort
75 {
76 private:
77 RespPacketQueue queue;
78 RubySystem* ruby_system;
79 bool access_backing_store;
80
81 public:
82 MemSlavePort(const std::string &_name, RubyPort *_port,
78 bool access_backing_store;
79
80 public:
81 MemSlavePort(const std::string &_name, RubyPort *_port,
83 RubySystem*_system, bool _access_backing_store, PortID id);
82 bool _access_backing_store, PortID id);
84 void hitCallback(PacketPtr pkt);
85 void evictionCallback(const Address& address);
86
87 protected:
88 bool recvTimingReq(PacketPtr pkt);
89
90 Tick recvAtomic(PacketPtr pkt)
91 { panic("RubyPort::MemSlavePort::recvAtomic() not implemented!\n"); }

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

174 *
175 * @param pkt Response packet
176 * @param master_port_id Port id of the PIO port
177 *
178 * @return Whether successfully sent
179 */
180 bool recvTimingResp(PacketPtr pkt, PortID master_port_id);
181
83 void hitCallback(PacketPtr pkt);
84 void evictionCallback(const Address& address);
85
86 protected:
87 bool recvTimingReq(PacketPtr pkt);
88
89 Tick recvAtomic(PacketPtr pkt)
90 { panic("RubyPort::MemSlavePort::recvAtomic() not implemented!\n"); }

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

173 *
174 * @param pkt Response packet
175 * @param master_port_id Port id of the PIO port
176 *
177 * @return Whether successfully sent
178 */
179 bool recvTimingResp(PacketPtr pkt, PortID master_port_id);
180
181 RubySystem *m_ruby_system;
182 uint32_t m_version;
183 AbstractController* m_controller;
184 MessageBuffer* m_mandatory_q_ptr;
185 bool m_usingRubyTester;
186 System* system;
187
188 private:
189 void addToRetryList(MemSlavePort * port)

--- 25 unchanged lines hidden ---
182 uint32_t m_version;
183 AbstractController* m_controller;
184 MessageBuffer* m_mandatory_q_ptr;
185 bool m_usingRubyTester;
186 System* system;
187
188 private:
189 void addToRetryList(MemSlavePort * port)

--- 25 unchanged lines hidden ---