RubyPort.hh (11346:64e862d3758f) | RubyPort.hh (12395:322bb93e5f06) |
---|---|
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 --- 32 unchanged lines hidden (view full) --- 41 42#ifndef __MEM_RUBY_SYSTEM_RUBYPORT_HH__ 43#define __MEM_RUBY_SYSTEM_RUBYPORT_HH__ 44 45#include <cassert> 46#include <string> 47 48#include "mem/protocol/RequestStatus.hh" | 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 --- 32 unchanged lines hidden (view full) --- 41 42#ifndef __MEM_RUBY_SYSTEM_RUBYPORT_HH__ 43#define __MEM_RUBY_SYSTEM_RUBYPORT_HH__ 44 45#include <cassert> 46#include <string> 47 48#include "mem/protocol/RequestStatus.hh" |
49#include "mem/ruby/common/MachineID.hh" |
|
49#include "mem/ruby/network/MessageBuffer.hh" 50#include "mem/ruby/system/RubySystem.hh" 51#include "mem/mem_object.hh" 52#include "mem/tport.hh" 53#include "params/RubyPort.hh" 54 55class AbstractController; 56 --- 26 unchanged lines hidden (view full) --- 83 bool _access_backing_store, 84 PortID id, bool _no_retry_on_stall); 85 void hitCallback(PacketPtr pkt); 86 void evictionCallback(Addr address); 87 88 protected: 89 bool recvTimingReq(PacketPtr pkt); 90 | 50#include "mem/ruby/network/MessageBuffer.hh" 51#include "mem/ruby/system/RubySystem.hh" 52#include "mem/mem_object.hh" 53#include "mem/tport.hh" 54#include "params/RubyPort.hh" 55 56class AbstractController; 57 --- 26 unchanged lines hidden (view full) --- 84 bool _access_backing_store, 85 PortID id, bool _no_retry_on_stall); 86 void hitCallback(PacketPtr pkt); 87 void evictionCallback(Addr address); 88 89 protected: 90 bool recvTimingReq(PacketPtr pkt); 91 |
91 Tick recvAtomic(PacketPtr pkt) 92 { panic("RubyPort::MemSlavePort::recvAtomic() not implemented!\n"); } | 92 Tick recvAtomic(PacketPtr pkt); |
93 94 void recvFunctional(PacketPtr pkt); 95 96 AddrRangeList getAddrRanges() const 97 { AddrRangeList ranges; return ranges; } 98 99 void addToRetryList(); 100 --- 21 unchanged lines hidden (view full) --- 122 RespPacketQueue queue; 123 124 public: 125 PioSlavePort(const std::string &_name, RubyPort *_port); 126 127 protected: 128 bool recvTimingReq(PacketPtr pkt); 129 | 93 94 void recvFunctional(PacketPtr pkt); 95 96 AddrRangeList getAddrRanges() const 97 { AddrRangeList ranges; return ranges; } 98 99 void addToRetryList(); 100 --- 21 unchanged lines hidden (view full) --- 122 RespPacketQueue queue; 123 124 public: 125 PioSlavePort(const std::string &_name, RubyPort *_port); 126 127 protected: 128 bool recvTimingReq(PacketPtr pkt); 129 |
130 Tick recvAtomic(PacketPtr pkt) 131 { panic("recvAtomic not supported with ruby!"); } | 130 Tick recvAtomic(PacketPtr pkt); |
132 133 void recvFunctional(PacketPtr pkt) 134 { panic("recvFunctional should never be called on pio slave port!"); } 135 136 AddrRangeList getAddrRanges() const; 137 }; 138 139 struct SenderState : public Packet::SenderState --- 89 unchanged lines hidden --- | 131 132 void recvFunctional(PacketPtr pkt) 133 { panic("recvFunctional should never be called on pio slave port!"); } 134 135 AddrRangeList getAddrRanges() const; 136 }; 137 138 struct SenderState : public Packet::SenderState --- 89 unchanged lines hidden --- |