tlb.cc (7774:6246338ac1e9) | tlb.cc (7775:8e8fa2f28f2e) |
---|---|
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 --- 639 unchanged lines hidden (view full) --- 648 } 649 650 651 DPRINTF(TLB, "Entry found with paddr %#x, " 652 "doing protection checks.\n", entry->paddr); 653 Addr paddr = entry->paddr | (vaddr & (entry->size-1)); 654 DPRINTF(TLB, "Translated %#x -> %#x.\n", vaddr, paddr); 655 req->setPaddr(paddr); | 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 --- 639 unchanged lines hidden (view full) --- 648 } 649 650 651 DPRINTF(TLB, "Entry found with paddr %#x, " 652 "doing protection checks.\n", entry->paddr); 653 Addr paddr = entry->paddr | (vaddr & (entry->size-1)); 654 DPRINTF(TLB, "Translated %#x -> %#x.\n", vaddr, paddr); 655 req->setPaddr(paddr); |
656 if (entry->uncacheable) 657 req->setFlags(Request::UNCACHEABLE); |
|
656 } else { 657 //Use the address which already has segmentation applied. 658 DPRINTF(TLB, "Paging disabled.\n"); 659 DPRINTF(TLB, "Translated %#x -> %#x.\n", vaddr, vaddr); 660 req->setPaddr(vaddr); 661 } 662 } else { 663 // Real mode --- 81 unchanged lines hidden --- | 658 } else { 659 //Use the address which already has segmentation applied. 660 DPRINTF(TLB, "Paging disabled.\n"); 661 DPRINTF(TLB, "Translated %#x -> %#x.\n", vaddr, vaddr); 662 req->setPaddr(vaddr); 663 } 664 } else { 665 // Real mode --- 81 unchanged lines hidden --- |