Home
last modified time | relevance | path

Searched refs:MMU_PAGEOFFSET (Results 1 – 25 of 56) sorted by relevance

123

/titanic_50/usr/src/lib/libbc/inc/include/sun4/
H A Dparam.h102 #define MMU_PAGEOFFSET (MMU_PAGESIZE-1)/* Mask of address bits in page */ macro
103 #define MMU_PAGEMASK (~MMU_PAGEOFFSET)
124 #define mmu_btopr(x) ((((unsigned)(x) + MMU_PAGEOFFSET) >> MMU_PAGESHIFT))
193 #define PGOFSET MMU_PAGEOFFSET
/titanic_50/usr/src/uts/sun4u/starfire/os/
H A Dcpu_sgnblk.c111 MMU_PAGEOFFSET) + sizeof (cpu_sgnblk_t))); in cpu_sgn_mapin()
122 (uint32_t)(cpu_sgnblk_offset & MMU_PAGEOFFSET))); in cpu_sgn_mapin()
137 cvaddr &= ~MMU_PAGEOFFSET; in cpu_sgn_mapout()
173 MMU_PAGEOFFSET) + sizeof (cpu_sgnblk_t))); in cpu_sgn_mapout()
H A Dpda.c564 cpu_p2o_offset = (uint32_t)(cpu_p2o_physaddr & MMU_PAGEOFFSET); in cpu_p2o_mapin()
606 MMU_PAGEOFFSET); in cpu_p2o_mapout()
611 if (cvaddr & MMU_PAGEOFFSET) { in cpu_p2o_mapout()
/titanic_50/usr/src/uts/i86pc/sys/
H A Dmachparam.h98 #define MMU_PAGEOFFSET (MMU_PAGESIZE-1) /* Mask of address bits in page */ macro
100 #define MMU_PAGEOFFSET _CONST(MMU_PAGESIZE-1) /* assembler lameness */
103 #define MMU_PAGEMASK (~MMU_PAGEOFFSET)
/titanic_50/usr/src/psm/stand/boot/sparc/sun4/sys/
H A Dmachparam.h56 #define MMU_PAGEOFFSET (MMU_PAGESIZE - 1) macro
57 #define MMU_PAGEMASK (~MMU_PAGEOFFSET)
/titanic_50/usr/src/uts/i86xpv/boot/
H A Dboot_xconsole.c74 vaddr = (vaddr + MMU_PAGEOFFSET) & MMU_PAGEMASK; in bcons_init_xen()
124 vaddr = (vaddr + MMU_PAGEOFFSET) & MMU_PAGEMASK; in bcons_init_xen()
133 vaddr = (vaddr + MMU_PAGEOFFSET) & MMU_PAGEMASK; in bcons_init_xen()
/titanic_50/usr/src/uts/i86pc/vm/
H A Dhat_kdi.c121 return (pfn_to_pa(mfn) | (pa & MMU_PAGEOFFSET)); in kdi_ptom()
140 return (pfn_to_pa(pfn) | (ma & MMU_PAGEOFFSET)); in kdi_mtop()
171 *pap = pfn_to_pa(pfn) + (vaddr & MMU_PAGEOFFSET); in kdi_vtop()
227 pgoff = pa & MMU_PAGEOFFSET; in kdi_prw()
H A Dhat_i86.h172 #define IS_PAGEALIGNED(a) (((uintptr_t)(a) & MMU_PAGEOFFSET) == 0)
/titanic_50/usr/src/uts/i86pc/os/
H A Dmp_implfuncs.c215 pgoffset = addr & MMU_PAGEOFFSET; in psm_map_phys_new()
223 (addr & MMU_PAGEOFFSET); in psm_map_phys_new()
249 pgoffset = (uintptr_t)addr & MMU_PAGEOFFSET; in psm_unmap_phys()
293 pgoffset = (uintptr_t)addr & MMU_PAGEOFFSET; in psm_unmap()
H A Dpci_cfgacc_x86.c65 (phys_addr & MMU_PAGEOFFSET); in pci_cfgacc_map()
93 return (pci_cfgacc_virt_base + (phys_addr & MMU_PAGEOFFSET)); in pci_cfgacc_map()
H A Dsmb_dev.c86 startoff = startaddr & MMU_PAGEOFFSET; in smbios_open()
/titanic_50/usr/src/uts/sun4v/sys/
H A Dmachparam.h99 #define MMU_PAGEOFFSET (MMU_PAGESIZE - 1) macro
100 #define MMU_PAGEMASK (~MMU_PAGEOFFSET)
/titanic_50/usr/src/uts/sun4/io/
H A Drootnex.c191 static const int mmu_pageoffset = MMU_PAGEOFFSET;
338 base = (uint64_t)rp->regspec_addr & (~MMU_PAGEOFFSET); /* base addr */ in rootnex_map_regspec()
362 pgoffset = (ulong_t)rp->regspec_addr & MMU_PAGEOFFSET; in rootnex_map_regspec()
405 pgoffset = (uintptr_t)addr & MMU_PAGEOFFSET; in rootnex_unmap_regspec()
476 hp->ah_pfn = mmu_btop((ulong_t)rp->regspec_addr & (~MMU_PAGEOFFSET)); in rootnex_map_handle()
478 (ulong_t)rp->regspec_addr & MMU_PAGEOFFSET); in rootnex_map_handle()
/titanic_50/usr/src/uts/sun4u/sys/
H A Dmachparam.h139 #define MMU_PAGEOFFSET (MMU_PAGESIZE - 1) macro
140 #define MMU_PAGEMASK (~MMU_PAGEOFFSET)
/titanic_50/usr/src/uts/i86pc/io/
H A Drootnex.c154 { "MMU_PAGEOFFSET", MMU_PAGEOFFSET },
1108 (ulong_t)rp->regspec_addr & MMU_PAGEOFFSET); in rootnex_map_regspec()
1167 pgoffset = (ulong_t)rp->regspec_addr & MMU_PAGEOFFSET; in rootnex_map_regspec()
1253 pgoffset = (uintptr_t)addr & MMU_PAGEOFFSET; in rootnex_unmap_regspec()
1337 (~(rootnex_addr_t)MMU_PAGEOFFSET); in rootnex_map_handle()
1338 pgoffset = (ulong_t)rp->regspec_addr & MMU_PAGEOFFSET; in rootnex_map_handle()
1350 (rbase & MMU_PAGEOFFSET); in rootnex_map_handle()
2574 poff = dma->dp_dma.dmao_obj.pp_obj.pp_offset & MMU_PAGEOFFSET; in rootnex_verify_buffer()
2577 poff = (uintptr_t)vaddr & MMU_PAGEOFFSET; in rootnex_verify_buffer()
2683 if ((attr->dma_attr_seg < MMU_PAGEOFFSET) || in rootnex_valid_alloc_parms()
[all …]
/titanic_50/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_cpu.c408 if ((bbsram_pa & MMU_PAGEOFFSET) != 0) { in sbdp_cpu_poweroff()
655 ASSERT((bbsram_pa & MMU_PAGEOFFSET) == 0); in sbdp_cpu_stop_self()
741 base = (uint64_t)SBDP_CPU_SRAM_ADDR & (~MMU_PAGEOFFSET); in cpusram_map()
750 pgoffset = (ulong_t)SBDP_CPU_SRAM_ADDR & MMU_PAGEOFFSET; in cpusram_map()
778 pgoffset = (ulong_t)SBDP_CPU_SRAM_ADDR & MMU_PAGEOFFSET; in cpusram_unmap()
/titanic_50/usr/src/uts/sfmmu/vm/
H A Dhat_kdi.c52 (va & MMU_PAGEOFFSET); in kdi_vtop()
/titanic_50/usr/src/uts/i86xpv/os/
H A Dxen_mmu.c199 if (((j * sizeof (mfn_t)) & MMU_PAGEOFFSET) == 0) { in xen_relocate_start_info()
381 return (mfn_to_ma(mfn) + (pa & MMU_PAGEOFFSET)); in pa_to_ma()
394 return (pfn_to_pa(pfn) + (ma & MMU_PAGEOFFSET)); in ma_to_pa()
/titanic_50/usr/src/uts/common/sys/
H A Dparam.h388 #define MMU_PAGEOFFSET _mmu_pageoffset macro
414 #define mmu_btopr(x) ((((x) + MMU_PAGEOFFSET) >> MMU_PAGESHIFT))
/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_param.h125 #define MMU_PAGEOFFSET _mdb_ks_mmu_pageoffset macro
/titanic_50/usr/src/uts/sun4u/starfire/cvc/
H A Dcvc.c1159 & MMU_PAGEOFFSET) + sizeof (sigb_cvc_t))); in cvc_iobuf_mapin()
1170 & MMU_PAGEOFFSET))); in cvc_iobuf_mapin()
1190 num_pages = mmu_btopr(((size_t)((uint64_t)cvaddr & MMU_PAGEOFFSET) + in cvc_iobuf_mapout()
/titanic_50/usr/src/psm/stand/cpr/common/
H A Dsupport.c217 mem_term = (ctrm_t *)(mapva + (file_term->va & MMU_PAGEOFFSET)); in cpr_update_terminator()
/titanic_50/usr/src/uts/sun4/io/efcode/
H A Dfc_ddi.c79 (uint_t)(((uintptr_t)bp->b_un.b_addr) & MMU_PAGEOFFSET); in fc_ddi_dma_buf_bind_handle()
/titanic_50/usr/src/cmd/mdb/sparc/kmdb/kctl/
H A Dkctl_isadep.c111 ASSERT((sz & MMU_PAGEOFFSET) == 0); in kctl_ttable_tlb_modify()
/titanic_50/usr/src/uts/i86pc/io/pci/
H A Dpci_tools.c858 uint64_t page_base = phys_addr & ~MMU_PAGEOFFSET; in pcitool_map()
859 uint64_t offset = phys_addr & MMU_PAGEOFFSET; in pcitool_map()
922 void *base_virt_addr = (void *)(uintptr_t)(virt_addr & ~MMU_PAGEOFFSET); in pcitool_unmap()

123