protected:
- /**
- * A snooping DMA port that currently does nothing besides
- * extending the DMA port to accept snoops without
- * complaining. Currently we take no action on any snoops.
- */
- class SnoopingDmaPort : public DmaPort
- {
-
- protected:
-
- virtual void recvTimingSnoopReq(PacketPtr pkt)
- { }
-
- virtual Tick recvAtomicSnoop(PacketPtr pkt)
- { return 0; }
-
- virtual void recvFunctionalSnoop(PacketPtr pkt)
- { }
-
- virtual bool isSnooping() const { return true; }
-
- public:
-
- /**
- * A snooping DMA port merely calls the construtor of the DMA
- * port.
- */
- SnoopingDmaPort(MemObject *dev, System *s) :
- DmaPort(dev, s)
- { }
- };
-
/** Port to issue translation requests from */
- SnoopingDmaPort port;
+ DmaPort port;
/** Request id for requests generated by this MMU */
MasterID masterId;
Walker *walker;
bool recvTimingResp(PacketPtr pkt);
-
- /**
- * Snooping a coherence request, do nothing.
- */
- void recvTimingSnoopReq(PacketPtr pkt) { }
- Tick recvAtomicSnoop(PacketPtr pkt) { return 0; }
- void recvFunctionalSnoop(PacketPtr pkt) { }
void recvReqRetry();
- bool isSnooping() const { return true; }
};
friend class WalkerPort;