addr_mapper.hh (9814:7ad2b0186a32) addr_mapper.hh (10713:eddb533708cb)
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

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

138 mapper.recvRangeChange();
139 }
140
141 bool isSnooping() const
142 {
143 return mapper.isSnooping();
144 }
145
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

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

138 mapper.recvRangeChange();
139 }
140
141 bool isSnooping() const
142 {
143 return mapper.isSnooping();
144 }
145
146 void recvRetry()
146 void recvReqRetry()
147 {
147 {
148 mapper.recvRetryMaster();
148 mapper.recvReqRetry();
149 }
150
151 private:
152
153 AddrMapper& mapper;
154
155 };
156

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

188 return mapper.recvTimingSnoopResp(pkt);
189 }
190
191 AddrRangeList getAddrRanges() const
192 {
193 return mapper.getAddrRanges();
194 }
195
149 }
150
151 private:
152
153 AddrMapper& mapper;
154
155 };
156

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

188 return mapper.recvTimingSnoopResp(pkt);
189 }
190
191 AddrRangeList getAddrRanges() const
192 {
193 return mapper.getAddrRanges();
194 }
195
196 void recvRetry()
196 void recvRespRetry()
197 {
197 {
198 mapper.recvRetrySlave();
198 mapper.recvRespRetry();
199 }
200
201 private:
202
203 AddrMapper& mapper;
204
205 };
206

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

222 void recvTimingSnoopReq(PacketPtr pkt);
223
224 bool recvTimingSnoopResp(PacketPtr pkt);
225
226 virtual AddrRangeList getAddrRanges() const = 0;
227
228 bool isSnooping() const;
229
199 }
200
201 private:
202
203 AddrMapper& mapper;
204
205 };
206

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

222 void recvTimingSnoopReq(PacketPtr pkt);
223
224 bool recvTimingSnoopResp(PacketPtr pkt);
225
226 virtual AddrRangeList getAddrRanges() const = 0;
227
228 bool isSnooping() const;
229
230 void recvRetryMaster();
230 void recvReqRetry();
231
231
232 void recvRetrySlave();
232 void recvRespRetry();
233
234 void recvRangeChange();
235};
236
237/**
238 * Range address mapper that maps a set of original ranges to a set of
239 * remapped ranges, where a specific range is of the same size
240 * (original and remapped), only with an offset. It's useful for cases

--- 33 unchanged lines hidden ---
233
234 void recvRangeChange();
235};
236
237/**
238 * Range address mapper that maps a set of original ranges to a set of
239 * remapped ranges, where a specific range is of the same size
240 * (original and remapped), only with an offset. It's useful for cases

--- 33 unchanged lines hidden ---