2c2
< * Copyright (c) 2010 ARM Limited
---
> * Copyright (c) 2010-2011 ARM Limited
88,129d87
< /** IcachePort class for DefaultFetch. Handles doing the
< * communication with the cache/memory.
< */
< class IcachePort : public Port
< {
< protected:
< /** Pointer to fetch. */
< DefaultFetch<Impl> *fetch;
<
< public:
< /** Default constructor. */
< IcachePort(DefaultFetch<Impl> *_fetch)
< : Port(_fetch->name() + "-iport", _fetch->cpu), fetch(_fetch)
< { }
<
< bool snoopRangeSent;
<
< virtual void setPeer(Port *port);
<
< protected:
< /** Atomic version of receive. Panics. */
< virtual Tick recvAtomic(PacketPtr pkt);
<
< /** Functional version of receive. Panics. */
< virtual void recvFunctional(PacketPtr pkt);
<
< /** Receives status change. Other than range changing, panics. */
< virtual void recvStatusChange(Status status);
<
< /** Returns the address ranges of this device. */
< virtual void getDeviceAddressRanges(AddrRangeList &resp,
< bool &snoop)
< { resp.clear(); snoop = true; }
<
< /** Timing version of receive. Handles setting fetch to the
< * proper status to start fetching. */
< virtual bool recvTiming(PacketPtr pkt);
<
< /** Handles doing a retry of a failed fetch. */
< virtual void recvRetry();
< };
<
251,253d208
< /** Returns the icache port. */
< Port *getIcachePort() { return icachePort; }
<
268a224,226
> /** Handles retrying the fetch access. */
> void recvRetry();
>
392,394d349
< /** Handles retrying the fetch access. */
< void recvRetry();
<
443,445d397
< /** Icache interface. */
< IcachePort *icachePort;
<