RubyPort.hh (11168:f98eb2da15a4) RubyPort.hh (11169:44b5c183c3cd)
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

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

138 SenderState(MemSlavePort * _port) : port(_port)
139 {}
140 };
141
142 typedef RubyPortParams Params;
143 RubyPort(const Params *p);
144 virtual ~RubyPort() {}
145
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

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

138 SenderState(MemSlavePort * _port) : port(_port)
139 {}
140 };
141
142 typedef RubyPortParams Params;
143 RubyPort(const Params *p);
144 virtual ~RubyPort() {}
145
146 void init();
146 void init() override;
147
148 BaseMasterPort &getMasterPort(const std::string &if_name,
147
148 BaseMasterPort &getMasterPort(const std::string &if_name,
149 PortID idx = InvalidPortID);
149 PortID idx = InvalidPortID) override;
150 BaseSlavePort &getSlavePort(const std::string &if_name,
150 BaseSlavePort &getSlavePort(const std::string &if_name,
151 PortID idx = InvalidPortID);
151 PortID idx = InvalidPortID) override;
152
153 virtual RequestStatus makeRequest(PacketPtr pkt) = 0;
154 virtual int outstandingCount() const = 0;
155 virtual bool isDeadlockEventScheduled() const = 0;
156 virtual void descheduleDeadlockEvent() = 0;
157
158 //
159 // Called by the controller to give the sequencer a pointer.

--- 55 unchanged lines hidden ---
152
153 virtual RequestStatus makeRequest(PacketPtr pkt) = 0;
154 virtual int outstandingCount() const = 0;
155 virtual bool isDeadlockEventScheduled() const = 0;
156 virtual void descheduleDeadlockEvent() = 0;
157
158 //
159 // Called by the controller to give the sequencer a pointer.

--- 55 unchanged lines hidden ---