virt 298 bsp/drv/dev/base/kd.c (long)vi.virt, (long)vi.phys, virt 250 bsp/hal/arm/arch/mmu.c mmu_extract(pgd_t pgd, vaddr_t virt, size_t size) virt 256 bsp/hal/arm/arch/mmu.c start = trunc_page(virt); virt 257 bsp/hal/arm/arch/mmu.c end = trunc_page(virt + size - 1); virt 271 bsp/hal/arm/arch/mmu.c return pa + (paddr_t)(virt - start); virt 278 bsp/hal/arm/arch/mmu.c mmu_premap(paddr_t phys, vaddr_t virt) virt 283 bsp/hal/arm/arch/mmu.c boot_pgd[PAGE_DIR(virt)] = (uint32_t)kvtop(pte) | PDE_PRESENT; virt 284 bsp/hal/arm/arch/mmu.c pte[PAGE_TABLE(virt)] = (uint32_t)phys | PTE_PRESENT | PTE_SYSTEM; virt 316 bsp/hal/arm/arch/mmu.c if (mmu_map(boot_pgd, map->phys, map->virt, virt 62 bsp/hal/arm/include/mmu.h #define PAGE_DIR(virt) (int)((((vaddr_t)(virt)) >> 20) & 0xfff) virt 63 bsp/hal/arm/include/mmu.h #define PAGE_TABLE(virt) (int)((((vaddr_t)(virt)) >> 12) & 0xff) virt 65 bsp/hal/arm/include/mmu.h #define pte_present(pgd, virt) (pgd[PAGE_DIR(virt)] & PDE_PRESENT) virt 67 bsp/hal/arm/include/mmu.h #define page_present(pte, virt) (pte[PAGE_TABLE(virt)] & PTE_PRESENT) virt 69 bsp/hal/arm/include/mmu.h #define vtopte(pgd, virt) \ virt 70 bsp/hal/arm/include/mmu.h (pte_t)ptokv((pgd)[PAGE_DIR(virt)] & PDE_ADDRESS) virt 72 bsp/hal/arm/include/mmu.h #define ptetopg(pte, virt) \ virt 73 bsp/hal/arm/include/mmu.h ((pte)[PAGE_TABLE(virt)] & PTE_ADDRESS) virt 63 bsp/hal/ppc/include/mmu.h #define PAGE_DIR(virt) virt 64 bsp/hal/ppc/include/mmu.h #define PAGE_TABLE(virt) virt 66 bsp/hal/ppc/include/mmu.h #define pte_present(pgd, virt) virt 68 bsp/hal/ppc/include/mmu.h #define page_present(pte, virt) virt 70 bsp/hal/ppc/include/mmu.h #define vtopte(pgd, virt) virt 72 bsp/hal/ppc/include/mmu.h #define ptetopg(pte, virt) virt 277 bsp/hal/x86/arch/mmu.c if (mmu_map(boot_pgd, map->phys, map->virt, virt 67 bsp/hal/x86/include/mmu.h #define PAGE_DIR(virt) (int)((((vaddr_t)(virt)) >> 22) & 0x3ff) virt 68 bsp/hal/x86/include/mmu.h #define PAGE_TABLE(virt) (int)((((vaddr_t)(virt)) >> 12) & 0x3ff) virt 70 bsp/hal/x86/include/mmu.h #define pte_present(pgd, virt) (pgd[PAGE_DIR(virt)] & PDE_PRESENT) virt 72 bsp/hal/x86/include/mmu.h #define page_present(pte, virt) (pte[PAGE_TABLE(virt)] & PTE_PRESENT) virt 74 bsp/hal/x86/include/mmu.h #define vtopte(pgd, virt) \ virt 75 bsp/hal/x86/include/mmu.h (pte_t)ptokv(((uint32_t *)pgd)[PAGE_DIR(virt)] & PDE_ADDRESS) virt 77 bsp/hal/x86/include/mmu.h #define ptetopg(pte, virt) \ virt 78 bsp/hal/x86/include/mmu.h ((pte)[PAGE_TABLE(virt)] & PTE_ADDRESS) virt 118 include/sys/sysinfo.h vaddr_t virt; /* virtual address */ virt 64 sys/include/hal.h vaddr_t virt; /* virtual address */ virt 759 sys/mem/vm.c info->virt = seg->addr; virt 519 sys/mem/vm_nommu.c info->virt = seg->addr;