translation.hh (9258:baa17ba80e06) translation.hh (10020:2f33cb012383)
1/*
2 * Copyright (c) 2011 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

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

251 void
252 finish(Fault fault, RequestPtr req, ThreadContext *tc,
253 BaseTLB::Mode mode)
254 {
255 assert(state);
256 assert(mode == state->mode);
257 if (state->finish(fault, index)) {
258 xc->finishTranslation(state);
1/*
2 * Copyright (c) 2011 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

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

251 void
252 finish(Fault fault, RequestPtr req, ThreadContext *tc,
253 BaseTLB::Mode mode)
254 {
255 assert(state);
256 assert(mode == state->mode);
257 if (state->finish(fault, index)) {
258 xc->finishTranslation(state);
259 req->setTranslateLatency();
259 }
260 delete this;
261 }
262
263 bool
264 squashed() const
265 {
266 return xc->isSquashed();
267 }
268};
269
270#endif // __CPU_TRANSLATION_HH__
260 }
261 delete this;
262 }
263
264 bool
265 squashed() const
266 {
267 return xc->isSquashed();
268 }
269};
270
271#endif // __CPU_TRANSLATION_HH__