Home
last modified time | relevance | path

Searched refs:kpm_vbase (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/vm/
H A Dmach_kpm.c63 hat_devload(kas.a_hat, kpm_vbase + start, in mach_kpm_init()
147 vaddr = (uintptr_t)kpm_vbase + paddr; in hat_kpm_mapin_pfn()
172 vaddr = (uintptr_t)kpm_vbase + paddr; in hat_kpm_page2va()
246 hat_devload(kas.a_hat, kpm_vbase + mmu_ptob(base), in hat_kpm_addmem_mseg_update()
287 hat_unload(kas.a_hat, kpm_vbase + mmu_ptob(base), mmu_ptob(end - base), in hat_kpm_delmem_mseg_update()
311 base = ptob(pbase) + kpm_vbase; in hat_kpm_walk()
/illumos-gate/usr/src/compat/bhyve/amd64/machine/
H A Dvmparam.h20 extern caddr_t kpm_vbase;
27 return ((uintptr_t)kpm_vbase + pa); in phys_to_dmap()
33 const uintptr_t base = (uintptr_t)kpm_vbase; in dmap_to_phys()
/illumos-gate/usr/src/uts/sun4/vm/
H A Dmach_kpm.h105 r = ((vaddr) - kpm_vbase) >> (uintptr_t)kpm_size_shift; \
106 (paddr) = (vaddr) - kpm_vbase; \
119 (paddr) = (vaddr) - kpm_vbase; \
H A Dvm_dep.c258 caddr_t kpm_vbase; variable
/illumos-gate/usr/src/uts/i86pc/vm/
H A Di86_mmu.c169 extern caddr_t kpm_vbase;
184 kbm_map((uintptr_t)kpm_vbase + paddr, (paddr_t)0, 0, 1); in xen_kpm_create()
185 kbm_read_only((uintptr_t)kpm_vbase + paddr + pg_off, in xen_kpm_create()
271 kbm_map((uintptr_t)kpm_vbase + paddr, paddr, in hat_kern_alloc()
H A Dhtable.c216 if (kpm_vbase == NULL) in xen_kpm_page()
223 return (HYPERVISOR_update_va_mapping((uintptr_t)kpm_vbase + pa, in xen_kpm_page()
345 if (kpm_vbase && xen_kpm_page(pfn, PT_VALID | PT_WRITABLE) < 0) in ptable_free()
877 } else if (kpm_vbase && xen_kpm_page(ht->ht_pfn, in htable_alloc()
913 block_zero_no_xmm(kpm_vbase + pfn_to_pa(hat->hat_user_ptable), in htable_alloc()
964 if (!is_bare && kpm_vbase) { in htable_alloc()
1555 if (kpm_vbase) in htable_attach()
1947 if (kpm_vbase) in x86pte_mapin()
2013 if (kpm_vbase != NULL || !khat_running) in x86pte_mapout()
2340 if (kpm_vbase) { in x86pte_copy()
[all …]
H A Dhat_i86.c4752 vaddr = (uintptr_t)kpm_vbase + paddr; in hat_kpm_mapin_pfn()
4770 uintptr_t vaddr = (uintptr_t)kpm_vbase + mmu_ptob(pfn); in hat_kpm_pfn2va()
4796 pfn = (pfn_t)btop(vaddr - kpm_vbase); in hat_kpm_va2pfn()
4866 hat_devload(kas.a_hat, kpm_vbase + mmu_ptob(base), in hat_kpm_addmem_mseg_update()
4922 base = ptob(pbase) + kpm_vbase; in hat_kpm_walk()
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxen_mmu.c430 if (kpm_vbase != NULL && xen_kpm_page(pfn, 0) < 0) in reassign_pfn()
451 if (kpm_vbase != NULL && xen_kpm_page(pfn, PT_VALID | PT_WRITABLE) < 0) in reassign_pfn()
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dmachsystm.h172 extern caddr_t kpm_vbase;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dstartup.c236 caddr_t kpm_vbase; variable
918 ASSERT(((uintptr_t)kpm_vbase & (kpm_pgsz - 1)) == 0); in kpm_init()
923 if (seg_attach(&kas, kpm_vbase, kpm_size, segkpm) < 0) in kpm_init()
1787 kpm_vbase = (caddr_t)segkpm_base; in layout_kernel_va()
1789 if ((uintptr_t)kpm_vbase + kpm_size > (uintptr_t)valloc_base) in layout_kernel_va()
1792 PRM_DEBUG(kpm_vbase); in layout_kernel_va()
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachsystm.h365 extern caddr_t kpm_vbase;
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachsystm.h351 extern caddr_t kpm_vbase;
/illumos-gate/usr/src/uts/sun4u/vm/
H A Dmach_kpm.c197 vaddr = (uintptr_t)kpm_vbase + paddr; in hat_kpm_mapin_pfn()
238 vaddr = (uintptr_t)kpm_vbase + paddr; in hat_kpm_page2va()
583 base = ptob(pbase) + kpm_vbase + kpm_size * vcolor; in hat_kpm_walk()
1129 vaddr = kpm_vbase + paddr; in sfmmu_kpm_getvaddr()
/illumos-gate/usr/src/uts/sun4/os/
H A Dstartup.c1233 if (kmem64_aligned_end > (hole_start ? hole_start : kpm_vbase)) in startup_memlist()
1306 ASSERT(alloc_base <= (hole_start ? hole_start : kpm_vbase)); in startup_memlist()
1965 if (seg_attach(&kas, kpm_vbase, kpm_size * vac_colors, in startup_vm()
1980 va = kpm_vbase + (kpm_size * vac_colors); in startup_vm()
/illumos-gate/usr/src/uts/sun4v/os/
H A Dfillsysinfo.c485 kpm_vbase = (caddr_t)((0ull - (1ull << (va_bits - 1))) + in cpu_setup_common()
488 kpm_vbase = (caddr_t)0x8000000000000000ull; /* 8 EB */ in cpu_setup_common()
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.h2374 extern caddr_t kpm_vbase;
2387 (((vaddr) - kpm_vbase) >> (uintptr_t)kpm_size_shift > 0)
H A Dhat_sfmmu.c13056 kpmtsbmp->vbase = kpm_vbase; in sfmmu_init_tsbs()
13057 kpmtsbmp->vend = kpm_vbase + kpm_size * vac_colors; in sfmmu_init_tsbs()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_vm.c1432 return ((void *)((uintptr_t)kpm_vbase + paddr)); in vmp_ptr()
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dopl_olympus.c619 kpm_vbase = (caddr_t)0x8000000000000000ull; /* 8EB */
H A Dspitfire.c505 kpm_vbase = (caddr_t)0xfffffa0000000000ull; /* 16EB - 6TB */ in cpu_setup()
H A Dus3_common.c546 kpm_vbase = (caddr_t)0x8000000000000000ull; /* 8EB */ in cpu_setup()