Lines Matching refs:start

343 PPCVMTranslationMap460::MaxPagesNeededToMap(addr_t start, addr_t end) const
475 PPCVMTranslationMap460::Unmap(addr_t start, addr_t end)
479 start = ROUNDDOWN(start, B_PAGE_SIZE);
482 if (start >= end)
485 TRACE("unmap_tmap: asked to free pages 0x%lx to 0x%lx\n", start, end);
487 // dprintf("vm_translation_map.unmap_tmap: start 0x%lx, end 0x%lx\n", start, end);
489 while (start < end) {
490 if (RemovePageTableEntry(start))
493 start += B_PAGE_SIZE;
500 start = ROUNDDOWN(start, B_PAGE_SIZE);
501 if (start >= end)
504 TRACE("unmap_tmap: asked to free pages 0x%lx to 0x%lx\n", start, end);
509 int index = VADDR_TO_PDENT(start);
511 // no page table here, move the start up to access the next page
513 start = ROUNDUP(start + 1, kPageTableAlignment);
523 for (index = VADDR_TO_PTENT(start); (index < 1024) && (start < end);
524 index++, start += B_PAGE_SIZE) {
530 TRACE("unmap_tmap: removing page 0x%lx\n", start);
541 InvalidatePage(start);
544 } while (start != 0 && start < end);
589 PPCVMTranslationMap460::DebugMarkRangePresent(addr_t start, addr_t end,
595 start = ROUNDDOWN(start, B_PAGE_SIZE);
596 if (start >= end)
602 int index = VADDR_TO_PDENT(start);
604 // no page table here, move the start up to access the next page
606 start = ROUNDUP(start + 1, kPageTableAlignment);
616 for (index = VADDR_TO_PTENT(start); (index < 1024) && (start < end);
617 index++, start += B_PAGE_SIZE) {
636 InvalidatePage(start);
640 } while (start != 0 && start < end);
757 addr_t start = base;
761 B_PRIxADDR ")\n", area, start, end);
770 int index = VADDR_TO_PDENT(start);
772 // no page table here, move the start up to access the next page
774 start = ROUNDUP(start + 1, kPageTableAlignment);
784 for (index = VADDR_TO_PTENT(start); (index < 1024) && (start < end);
785 index++, start += B_PAGE_SIZE) {
797 InvalidatePage(start);
852 } while (start != 0 && start < end);
1089 PPCVMTranslationMap460::Protect(addr_t start, addr_t end, uint32 attributes,
1095 start = ROUNDDOWN(start, B_PAGE_SIZE);
1096 if (start >= end)
1099 TRACE("protect_tmap: pages 0x%lx to 0x%lx, attributes %lx\n", start, end,
1114 int index = VADDR_TO_PDENT(start);
1116 // no page table here, move the start up to access the next page
1118 start = ROUNDUP(start + 1, kPageTableAlignment);
1128 for (index = VADDR_TO_PTENT(start); index < 1024 && start < end;
1129 index++, start += B_PAGE_SIZE) {
1136 TRACE("protect_tmap: protect page 0x%lx\n", start);
1159 InvalidatePage(start);
1162 } while (start != 0 && start < end);