RubyPort.hh (9090:e4e22240398f) RubyPort.hh (9163:3b5e13ac1940)
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, 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)

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

101 private:
102
103 MasterPacketQueue queue;
104
105 RubyPort *ruby_port;
106
107 public:
108 PioPort(const std::string &_name, RubyPort *_port);
74 void hitCallback(PacketPtr pkt);
75 void evictionCallback(const Address& address);
76 unsigned deviceBlockSize() const;
77
78 bool onRetryList()
79 { return _onRetryList; }
80
81 void onRetryList(bool newVal)

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

100 private:
101
102 MasterPacketQueue queue;
103
104 RubyPort *ruby_port;
105
106 public:
107 PioPort(const std::string &_name, RubyPort *_port);
109 bool sendNextCycle(PacketPtr pkt);
110
111 protected:
112 virtual bool recvTimingResp(PacketPtr pkt);
113 };
114
115 friend class PioPort;
116
117 struct SenderState : public Packet::SenderState

--- 79 unchanged lines hidden ---
108
109 protected:
110 virtual bool recvTimingResp(PacketPtr pkt);
111 };
112
113 friend class PioPort;
114
115 struct SenderState : public Packet::SenderState

--- 79 unchanged lines hidden ---