tlb.cc (7436:b578349f9371) tlb.cc (7437:5853fbdfba9b)
1/*
2 * Copyright (c) 2010 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

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

403 TlbEntry *te = lookup(vaddr, context_id);
404 if (te == NULL) {
405 // start translation table walk, pass variables rather than
406 // re-retreaving in table walker for speed
407 DPRINTF(TLB, "TLB Miss: Starting hardware table walker for %#x(%d)\n",
408 vaddr, context_id);
409 fault = tableWalker->walk(req, tc, context_id, mode, translation,
410 timing);
1/*
2 * Copyright (c) 2010 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

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

403 TlbEntry *te = lookup(vaddr, context_id);
404 if (te == NULL) {
405 // start translation table walk, pass variables rather than
406 // re-retreaving in table walker for speed
407 DPRINTF(TLB, "TLB Miss: Starting hardware table walker for %#x(%d)\n",
408 vaddr, context_id);
409 fault = tableWalker->walk(req, tc, context_id, mode, translation,
410 timing);
411 if (timing)
411 if (timing) {
412 delay = true;
412 delay = true;
413 // for timing mode, return and wait for table walk
414 return fault;
415 }
413 if (fault)
414 return fault;
415
416 te = lookup(vaddr, context_id);
417 if (!te)
418 printTlb();
419 assert(te);
420 }

--- 145 unchanged lines hidden ---
416 if (fault)
417 return fault;
418
419 te = lookup(vaddr, context_id);
420 if (!te)
421 printTlb();
422 assert(te);
423 }

--- 145 unchanged lines hidden ---