RubyPort.hh (8923:820111f58fbb) RubyPort.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

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

66 RubyPort *ruby_port;
67 RubySystem* ruby_system;
68 bool _onRetryList;
69 bool access_phys_mem;
70
71 public:
72 M5Port(const std::string &_name, RubyPort *_port,
73 RubySystem*_system, bool _access_phys_mem);
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

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

66 RubyPort *ruby_port;
67 RubySystem* ruby_system;
68 bool _onRetryList;
69 bool access_phys_mem;
70
71 public:
72 M5Port(const std::string &_name, RubyPort *_port,
73 RubySystem*_system, bool _access_phys_mem);
74 bool sendNextCycle(PacketPtr pkt);
74 bool sendNextCycle(PacketPtr pkt, bool send_as_snoop = false);
75 void hitCallback(PacketPtr pkt);
76 void evictionCallback(const Address& address);
77 unsigned deviceBlockSize() const;
78
79 bool onRetryList()
80 { return _onRetryList; }
81
82 void onRetryList(bool newVal)

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

105 RubyPort *ruby_port;
106
107 public:
108 PioPort(const std::string &_name, RubyPort *_port);
109 bool sendNextCycle(PacketPtr pkt);
110
111 protected:
112 virtual bool recvTiming(PacketPtr pkt);
75 void hitCallback(PacketPtr pkt);
76 void evictionCallback(const Address& address);
77 unsigned deviceBlockSize() const;
78
79 bool onRetryList()
80 { return _onRetryList; }
81
82 void onRetryList(bool newVal)

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

105 RubyPort *ruby_port;
106
107 public:
108 PioPort(const std::string &_name, RubyPort *_port);
109 bool sendNextCycle(PacketPtr pkt);
110
111 protected:
112 virtual bool recvTiming(PacketPtr pkt);
113 virtual Tick recvAtomic(PacketPtr pkt);
114 virtual void recvFunctional(PacketPtr pkt) { }
115 };
116
117 friend class PioPort;
118
119 struct SenderState : public Packet::SenderState
120 {
121 M5Port* port;
122 Packet::SenderState *saved;

--- 76 unchanged lines hidden ---
113 };
114
115 friend class PioPort;
116
117 struct SenderState : public Packet::SenderState
118 {
119 M5Port* port;
120 Packet::SenderState *saved;

--- 76 unchanged lines hidden ---