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
--- 132 unchanged lines hidden (view full) ---
141
142 /** If the port is currently waiting for a retry before it can send whatever
143 * it is that it's sending. */
144 bool inRetry;
145
146 /** Port accesses a cache which requires snooping */
147 bool recvSnoops;
148
149 virtual bool recvTiming(PacketPtr pkt);
150
151 virtual bool recvTimingSnoop(PacketPtr pkt)
152 {
153 if (!recvSnoops)
154 panic("%s was not expecting a snoop\n", name());
155 return true;
156 }
157
158 virtual Tick recvAtomicSnoop(PacketPtr pkt)
159 {
160 if (!recvSnoops)
161 panic("%s was not expecting a snoop\n", name());
162 return 0;
163 }
--- 164 unchanged lines hidden ---
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
--- 132 unchanged lines hidden (view full) ---
141
142 /** If the port is currently waiting for a retry before it can send whatever
143 * it is that it's sending. */
144 bool inRetry;
145
146 /** Port accesses a cache which requires snooping */
147 bool recvSnoops;
148
149 virtual bool recvTiming(PacketPtr pkt);
150
151 virtual bool recvTimingSnoop(PacketPtr pkt)
152 {
153 if (!recvSnoops)
154 panic("%s was not expecting a snoop\n", name());
155 return true;
156 }
157
158 virtual Tick recvAtomicSnoop(PacketPtr pkt)
159 {
160 if (!recvSnoops)
161 panic("%s was not expecting a snoop\n", name());
162 return 0;
163 }
--- 164 unchanged lines hidden ---