Home
last modified time | relevance | path

Searched refs:paddr_t (Results 1 – 25 of 43) sorted by relevance

12

/titanic_50/usr/src/uts/i86pc/sys/
H A Dmach_mmu.h148 x86pte_t get_pteval(paddr_t, uint_t);
149 void set_pteval(paddr_t, uint_t, uint_t, x86pte_t);
150 paddr_t make_ptable(x86pte_t *, uint_t);
151 x86pte_t *find_pte(uint64_t, paddr_t *, uint_t, uint_t);
152 x86pte_t *map_pte(paddr_t, uint_t);
160 extern paddr_t top_page_table;
H A Dfastboot.h115 paddr_t fb_pte_list_pa; /* PA for PTE list */
137 paddr_t fi_pagetable_pa;
138 paddr_t fi_last_table_pa;
139 paddr_t fi_new_mbi_pa; /* new multiboot info PA */
142 paddr_t fi_next_table_pa;
H A Dpsm.h68 extern caddr_t psm_map_new(paddr_t, size_t, int);
H A Dsmp_impldefs.h106 extern caddr_t psm_map_phys_new(paddr_t, size_t, int);
/titanic_50/usr/src/uts/i86pc/vm/
H A Dkboot_mmu.c131 kbm_remap_window(paddr_t physaddr, int writeable) in kbm_remap_window()
158 kbm_map(uintptr_t va, paddr_t pa, uint_t level, uint_t is_kernel) in kbm_map()
161 paddr_t pte_physaddr; in kbm_map()
210 paddr_t pte_physaddr; in kbm_map_ma()
252 paddr_t pte_physaddr; in kbm_probe()
404 kbm_read_only(uintptr_t va, paddr_t pa) in kbm_read_only()
434 kbm_push(paddr_t pa) in kbm_push()
467 get_pteval(paddr_t table, uint_t index) in get_pteval()
478 set_pteval(paddr_t table, uint_t index, uint_t level, x86pte_t pteval) in set_pteval()
490 paddr_t
[all …]
H A Dkboot_mmu.h50 extern void *kbm_remap_window(paddr_t physaddr, int writeable);
64 extern void kbm_map(uintptr_t va, paddr_t pa, uint_t level, uint_t is_kernel);
84 extern void kbm_read_only(uintptr_t va, paddr_t pa);
90 extern void *kbm_push(paddr_t pa);
H A Dhat_pte.h202 paddr_t pwin_pte_pa;
281 ((paddr_t)(p) + ((x) << mmu.pte_size_shift))
286 #define pfn_to_pa(pfn) (mmu_ptob((paddr_t)(pfn)))
H A Di86_mmu.c260 xen_kpm_create(paddr_t paddr, level_t lvl) in xen_kpm_create()
265 kbm_map((uintptr_t)kpm_vbase + paddr, (paddr_t)0, 0, 1); in xen_kpm_create()
/titanic_50/usr/src/uts/i86pc/boot/
H A Dboot_mmu.c53 paddr_t top_page_table;
70 find_pte(uint64_t va, paddr_t *pa, uint_t level, uint_t probe_only) in find_pte()
74 paddr_t table; in find_pte()
90 paddr_t new_table; in find_pte()
/titanic_50/usr/src/uts/i86pc/dboot/
H A Ddboot_startkern.c98 paddr_t ktext_phys;
111 static paddr_t next_avail_addr = 0;
121 static paddr_t scratch_end = 0; /* we can't write all of mem here */
122 static paddr_t mfn_base; /* addr corresponding to mfn_list[0] */
151 static paddr_t max_mem; /* maximum memory address */
336 paddr_t
341 paddr_t pa; in ma_to_pa()
344 return (-(paddr_t)1); in ma_to_pa()
345 pa = mfn_base + mmu_ptob((paddr_t)pfn) + pgoff; in ma_to_pa()
358 pa_to_ma(paddr_t pa) in pa_to_ma()
[all …]
H A Ddboot_elfload.c80 paddr_t src; in dboot_elfload64()
81 paddr_t dst; in dboot_elfload64()
82 paddr_t next_addr; in dboot_elfload64()
H A Ddboot_xboot.h47 extern paddr_t ktext_phys;
H A Ddboot_multiboot2.c337 paddr_t
340 return ((paddr_t)(uintptr_t)mbi + mbi->mbi_total_size); in dboot_multiboot2_highest_addr()
/titanic_50/usr/src/uts/i86pc/os/
H A Dpci_cfgacc_x86.c47 extern uintptr_t alloc_vaddr(size_t, paddr_t);
61 pci_cfgacc_map(paddr_t phys_addr) in pci_cfgacc_map()
84 paddr_t pa_base = P2ALIGN(phys_addr, MMU_PAGESIZE); in pci_cfgacc_map()
160 paddr_t paddr; in pci_cfgacc_mmio()
162 paddr = (paddr_t)req->bdf << 12; in pci_cfgacc_mmio()
H A Dmp_implfuncs.c205 psm_map_phys_new(paddr_t addr, size_t len, int prot) in psm_map_phys_new()
208 paddr_t base; in psm_map_phys_new()
257 psm_map_new(paddr_t addr, size_t len, int prot) in psm_map_new()
274 return (psm_map_phys_new((paddr_t)(addr & 0xffffffff), len, prot)); in psm_map_phys()
280 return (psm_map_new((paddr_t)(addr & 0xffffffff), len, prot)); in psm_map()
H A Dfakebop.c103 static paddr_t next_phys; /* next available physical address from dboot */
104 static paddr_t high_phys = -(paddr_t)1; /* last used physical address */
192 paddr_t
195 paddr_t pa = 0; in do_bop_phys_alloc()
196 paddr_t start; in do_bop_phys_alloc()
197 paddr_t end; in do_bop_phys_alloc()
260 alloc_vaddr(size_t size, paddr_t align) in alloc_vaddr()
279 paddr_t a = align; /* same type as pa for masking */ in do_bsys_alloc()
281 paddr_t pa; in do_bsys_alloc()
1990 vmap_phys(size_t length, paddr_t pa) in vmap_phys()
[all …]
H A Dibft.c679 va = (void *)psm_map((paddr_t)(start&0xffffffff), in iscsi_scan_ibft_tbl()
691 (paddr_t)((start+\ in iscsi_scan_ibft_tbl()
703 va = psm_map((paddr_t)(start&0xffffffff), in iscsi_scan_ibft_tbl()
H A Dfastboot.c245 paddr_t, size_t, int);
282 fastboot_map_with_size(fastboot_info_t *nk, uintptr_t vstart, paddr_t pstart, in fastboot_map_with_size()
287 paddr_t paddr; in fastboot_map_with_size()
317 ((uintptr_t)(((paddr_t)table[index] & MMU_PAGEMASK) in fastboot_map_with_size()
523 nk->fi_new_mbi_pa = (paddr_t)start_addr_pa; in fastboot_build_mbi()
/titanic_50/usr/src/uts/common/xen/io/
H A Dxnf.h53 paddr_t buf_phys;
145 paddr_t xnf_tx_ring_phys_addr;
159 paddr_t xnf_rx_ring_phys_addr;
/titanic_50/usr/src/uts/i86xpv/sys/
H A Dxen_mmu.h69 paddr_t ma_to_pa(maddr_t);
70 maddr_t pa_to_ma(paddr_t);
/titanic_50/usr/src/uts/common/sys/
H A Dmultiboot2_impl.h47 extern paddr_t dboot_multiboot2_highest_addr(multiboot2_info_header_t *);
/titanic_50/usr/src/uts/i86xpv/os/
H A Dxen_mmu.c118 set_pteval(paddr_t table, uint_t index, uint_t level, x86pte_t pteval) in set_pteval()
375 pa_to_ma(paddr_t pa) in pa_to_ma()
387 paddr_t
/titanic_50/usr/src/cmd/mdb/i86pc/modules/unix/
H A Di86mmu.c320 static paddr_t
325 return (-(paddr_t)1); in mdb_ma_to_pa()
327 return (mmu_ptob((paddr_t)pfn) | (ma & (MMU_PAGESIZE - 1))); in mdb_ma_to_pa()
548 paddr_t paddr = mmu_ptob((paddr_t)htable->ht_pfn); in get_pte()
/titanic_50/usr/src/uts/i86pc/io/gfx_private/
H A Dgfx_private.h77 extern gfx_maddr_t gfxp_convert_addr(paddr_t paddr);
/titanic_50/usr/src/uts/intel/sys/
H A Dbootconf.h249 extern paddr_t do_bop_phys_alloc(uint64_t, uint64_t);

12