RubyPort.hh (9814:7ad2b0186a32) RubyPort.hh (10012:ec5a5bfb941d)
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

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

131 virtual bool isDeadlockEventScheduled() const = 0;
132 virtual void descheduleDeadlockEvent() = 0;
133
134 //
135 // Called by the controller to give the sequencer a pointer.
136 // A pointer to the controller is needed for atomic support.
137 //
138 void setController(AbstractController* _cntrl) { m_controller = _cntrl; }
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

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

131 virtual bool isDeadlockEventScheduled() const = 0;
132 virtual void descheduleDeadlockEvent() = 0;
133
134 //
135 // Called by the controller to give the sequencer a pointer.
136 // A pointer to the controller is needed for atomic support.
137 //
138 void setController(AbstractController* _cntrl) { m_controller = _cntrl; }
139 int getId() { return m_version; }
139 uint32_t getId() { return m_version; }
140 unsigned int drain(DrainManager *dm);
141
142 protected:
143 const std::string m_name;
144 void ruby_hit_callback(PacketPtr pkt);
145 void testDrainComplete();
146 void ruby_eviction_callback(const Address& address);
147
140 unsigned int drain(DrainManager *dm);
141
142 protected:
143 const std::string m_name;
144 void ruby_hit_callback(PacketPtr pkt);
145 void testDrainComplete();
146 void ruby_eviction_callback(const Address& address);
147
148 int m_version;
148 uint32_t m_version;
149 AbstractController* m_controller;
150 MessageBuffer* m_mandatory_q_ptr;
151 PioPort pio_port;
152 bool m_usingRubyTester;
153
154 private:
155 void addToRetryList(M5Port * port)
156 {

--- 33 unchanged lines hidden ---
149 AbstractController* m_controller;
150 MessageBuffer* m_mandatory_q_ptr;
151 PioPort pio_port;
152 bool m_usingRubyTester;
153
154 private:
155 void addToRetryList(M5Port * port)
156 {

--- 33 unchanged lines hidden ---