tlb.cc (7629:0f0c231e3e97) | tlb.cc (7720:65d338a8dba4) |
---|---|
1/* 2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company 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 --- 595 unchanged lines hidden (view full) --- 604 delayedResponse = true; 605 return fault; 606 } 607 entry = lookup(vaddr); 608 assert(entry); 609#else 610 DPRINTF(TLB, "Handling a TLB miss for " 611 "address %#x at pc %#x.\n", | 1/* 2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company 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 --- 595 unchanged lines hidden (view full) --- 604 delayedResponse = true; 605 return fault; 606 } 607 entry = lookup(vaddr); 608 assert(entry); 609#else 610 DPRINTF(TLB, "Handling a TLB miss for " 611 "address %#x at pc %#x.\n", |
612 vaddr, tc->readPC()); | 612 vaddr, tc->instAddr()); |
613 614 Process *p = tc->getProcessPtr(); 615 TlbEntry newEntry; 616 bool success = p->pTable->lookup(vaddr, newEntry); 617 if (!success && mode != Execute) { 618 p->checkAndAllocNextPage(vaddr); 619 success = p->pTable->lookup(vaddr, newEntry); 620 } --- 122 unchanged lines hidden --- | 613 614 Process *p = tc->getProcessPtr(); 615 TlbEntry newEntry; 616 bool success = p->pTable->lookup(vaddr, newEntry); 617 if (!success && mode != Execute) { 618 p->checkAndAllocNextPage(vaddr); 619 success = p->pTable->lookup(vaddr, newEntry); 620 } --- 122 unchanged lines hidden --- |