tlb.cc (9535:508aebb47ca6) | tlb.cc (9738:304a37519d11) |
---|---|
1/* 2 * Copyright (c) 2010-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 --- 80 unchanged lines hidden (view full) --- 89 updateMiscReg(tc); 90 TlbEntry *e = lookup(va, contextId, true); 91 if (!e) 92 return false; 93 pa = e->pAddr(va); 94 return true; 95} 96 | 1/* 2 * Copyright (c) 2010-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 --- 80 unchanged lines hidden (view full) --- 89 updateMiscReg(tc); 90 TlbEntry *e = lookup(va, contextId, true); 91 if (!e) 92 return false; 93 pa = e->pAddr(va); 94 return true; 95} 96 |
97Fault 98TLB::finalizePhysical(RequestPtr req, ThreadContext *tc, Mode mode) const 99{ 100 return NoFault; 101} 102 |
|
97TlbEntry* 98TLB::lookup(Addr va, uint8_t cid, bool functional) 99{ 100 101 TlbEntry *retval = NULL; 102 103 // Maitaining LRU array 104 --- 640 unchanged lines hidden --- | 103TlbEntry* 104TLB::lookup(Addr va, uint8_t cid, bool functional) 105{ 106 107 TlbEntry *retval = NULL; 108 109 // Maitaining LRU array 110 --- 640 unchanged lines hidden --- |