Home
last modified time | relevance | path

Searched refs:PTOV (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiosacpi.c63 PTOV((uintptr_t)rsdp->XsdtPhysicalAddress); in find_spcr()
68 ptr = PTOV((uintptr_t)xsdt->TableOffsetEntry[i]); in find_spcr()
76 rsdt = (ACPI_TABLE_RSDT *)PTOV(rsdp->RsdtPhysicalAddress); in find_spcr()
81 ptr = PTOV(rsdt->TableOffsetEntry[i]); in find_spcr()
224 addr = (uint16_t *)PTOV(0x40E); in biosacpi_find_rsdp()
245 rsdp = (ACPI_TABLE_RSDP *)PTOV(base + ofs); in biosacpi_search_rsdp()
H A Di386_copy.c197 bcopy(src, PTOV(dest), len); in i386_copyin()
209 bcopy(PTOV(src), dest, len); in i386_copyout()
222 return (read(fd, PTOV(dest), len)); in i386_readin()
H A Dlinux.c215 memset(PTOV(linux_data_tmp_addr + ((setup_sects + 1) << 9)), in linux_loadkernel()
279 PTOV(linux_data_tmp_addr); in linux_exec()
338 dst = (char *)PTOV(linux_data_tmp_addr + LINUX_CL_OFFSET); in linux_exec()
341 PTOV(linux_data_tmp_addr + LINUX_CL_END_OFFSET)) in linux_exec()
H A Dbiospnp.c117 for (sigptr = PTOV(0xf0000); sigptr < PTOV(0xfffff); sigptr += 16) in biospnp_init()
H A Dmultiboot.c255 mb_info = (struct multiboot_info *)PTOV(mb_malloc(sizeof (*mb_info))); in multiboot_exec()
305 mb_mod = (struct multiboot_mod_list *) PTOV(last_addr); in multiboot_exec()
358 mmap = (multiboot_memory_map_t *)PTOV(mb_malloc(sizeof(*mmap) * num)); in multiboot_exec()
H A Dpxe.c138 pxe_p = (pxe_t *)PTOV(pxenv_p->PXEPtr.segment * 16 + in pxe_enable()
246 bcopy(PTOV((gci_p->Buffer.segment << 4) + gci_p->Buffer.offset), in pxe_init()
522 bcopy(PTOV(frame), ptr, isr->BufferLength); in pxe_netif_receive_isr()
H A Dvidconsole.c791 to = (unsigned char *)PTOV(VGA_MEM_ADDR) + f_offset + in vidc_install_font()
845 vgatext = (uint16_t *)PTOV(VGA_MEM_ADDR + VGA_COLOR_BASE); in vidc_init()
847 vgatext = (uint16_t *)PTOV(VGA_MEM_ADDR + VGA_MONO_BASE); in vidc_init()
H A Dbiosdisk.c340 for (unit = 0; unit < *(unsigned char *)PTOV(BIOS_NUMDRIVES); unit++) { in bd_init()
1050 bbuf = PTOV(V86_IO_BUFFER); in bd_realstrategy()
1120 if (bbuf != PTOV(V86_IO_BUFFER)) in bd_realstrategy()
H A Dvbe.c295 return (PTOV((((farptr & 0xffff0000) >> 12) + (farptr & 0xffff)))); in vbe_farptr()
/illumos-gate/usr/src/boot/efi/loader/arch/i386/
H A Di386_copy.c43 bcopy(src, PTOV(dest), len); in i386_copyin()
50 bcopy(PTOV(src), dest, len); in i386_copyout()
58 return (read(fd, PTOV(dest), len)); in i386_readin()
/illumos-gate/usr/src/boot/i386/loader/
H A Dmain.c82 return (PTOV(x)); in ptov()
95 (struct bootinfo *)PTOV(kargs->bootinfo) : NULL; in main()
108 heap_top = PTOV(high_heap_base + high_heap_size); in main()
109 heap_bottom = PTOV(high_heap_base); in main()
113 heap_top = (void *)PTOV(bios_basemem); in main()
158 PTOV(kargs->pxeinfo) : NULL); in main()
H A Dchain.c98 if (*((uint16_t *)PTOV(mem + DOSMAGICOFFSET)) != DOSMAGIC) { in command_chain()
/illumos-gate/usr/src/boot/i386/isoboot/
H A Disoboot.c233 heap_end = PTOV(high_heap_base + high_heap_size); in main()
234 heap_next = PTOV(high_heap_base); in main()
238 heap_end = (char *)PTOV(bios_basemem); in main()
248 dsk.drive = *(uint8_t *)PTOV(ARGS); in main()
377 p = PTOV(addr); in load()
410 p = PTOV(ep[i].p_paddr & 0xffffff); in load()
464 if (*(uint8_t *)PTOV(0x496) & 0x10) { in parse_cmds()
/illumos-gate/usr/src/boot/i386/gptzfsboot/
H A Dzfsboot.c148 return (PTOV(x)); in ptov()
164 heap_top = PTOV(high_heap_base + high_heap_size); in main()
165 heap_bottom = PTOV(high_heap_base); in main()
169 heap_top = (char *)PTOV(bios_basemem); in main()
226 bootinfo.bi_bios_dev = *(uint8_t *)PTOV(ARGS); in main()
398 p = PTOV(addr); in load()
444 p = PTOV(ep[i].p_paddr & 0xffffff); in load()
576 if (*(uint8_t *)PTOV(0x496) & 0x10) { in parse_cmd()
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprvfsops.c253 vnode_t *vp = PTOV(pnp); in prunmount()
292 vnode_t *vp = PTOV((prnode_t *)vfsp->vfs_data); in prroot()
H A Dprvnops.c406 p->p_plist = PTOV(npnp); in propen()
408 VN_RELE(PTOV(pnp)); in propen()
411 *vpp = PTOV(pnp); in propen()
742 prgetstatus(pnp->pr_common->prc_proc, sp, VTOZONE(PTOV(pnp))); in pr_read_status()
786 prgetlwpstatus(t, sp, VTOZONE(PTOV(pnp))); in pr_read_lstatus()
1525 prgetlwpstatus(pnp->pr_common->prc_thread, sp, VTOZONE(PTOV(pnp))); in pr_read_lwpstatus()
2011 VTOZONE(PTOV(pnp))); in pr_read_status_32()
2064 prgetlwpstatus32(t, sp, VTOZONE(PTOV(pnp))); in pr_read_lstatus_32()
2665 prgetlwpstatus32(pnp->pr_common->prc_thread, sp, VTOZONE(PTOV(pnp))); in pr_read_lwpstatus_32()
3778 return (PTOV(pnp)); in pr_lookup_procdir()
[all …]
H A Dprdata.h200 #define PTOV(pnp) ((pnp)->pr_vnode) macro
H A Dprioctl.c596 vnode_t *xvp = PTOV(xpnp); in prioctl64()
2155 vnode_t *xvp = PTOV(xpnp); in prioctl32()
/illumos-gate/usr/src/boot/i386/btx/lib/
H A Dbtxv86.h60 #define PTOV(pa) ((caddr_t)(pa) - __base) macro
/illumos-gate/usr/src/boot/i386/common/
H A Dcons.c144 t1 = *(uint32_t *)PTOV(0x46c); in keyhit()
/illumos-gate/usr/src/boot/common/
H A Dmodule.c48 #define PTOV(pa) ((void *)pa) macro
281 void *ptr = PTOV(fp->f_addr); in command_lsmod()
509 module_hash(fp, PTOV(loadaddr), laddr - loadaddr); in build_environment_module()
626 module_hash(fp, PTOV(loadaddr), laddr - loadaddr); in build_font_module()
H A Dmultiboot2.c946 mbi = (multiboot2_info_header_t *)PTOV(last_addr); in multiboot2_exec()