/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | biosacpi.c | 63 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 D | i386_copy.c | 197 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 D | linux.c | 215 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 D | biospnp.c | 117 for (sigptr = PTOV(0xf0000); sigptr < PTOV(0xfffff); sigptr += 16) in biospnp_init()
|
H A D | multiboot.c | 255 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 D | pxe.c | 138 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 D | vidconsole.c | 791 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 D | biosdisk.c | 340 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 D | vbe.c | 295 return (PTOV((((farptr & 0xffff0000) >> 12) + (farptr & 0xffff)))); in vbe_farptr()
|
/illumos-gate/usr/src/boot/efi/loader/arch/i386/ |
H A D | i386_copy.c | 43 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 D | main.c | 82 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 D | chain.c | 98 if (*((uint16_t *)PTOV(mem + DOSMAGICOFFSET)) != DOSMAGIC) { in command_chain()
|
/illumos-gate/usr/src/boot/i386/isoboot/ |
H A D | isoboot.c | 233 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 D | zfsboot.c | 148 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 D | prvfsops.c | 253 vnode_t *vp = PTOV(pnp); in prunmount() 292 vnode_t *vp = PTOV((prnode_t *)vfsp->vfs_data); in prroot()
|
H A D | prvnops.c | 406 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 D | prdata.h | 200 #define PTOV(pnp) ((pnp)->pr_vnode) macro
|
H A D | prioctl.c | 596 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 D | btxv86.h | 60 #define PTOV(pa) ((caddr_t)(pa) - __base) macro
|
/illumos-gate/usr/src/boot/i386/common/ |
H A D | cons.c | 144 t1 = *(uint32_t *)PTOV(0x46c); in keyhit()
|
/illumos-gate/usr/src/boot/common/ |
H A D | module.c | 48 #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 D | multiboot2.c | 946 mbi = (multiboot2_info_header_t *)PTOV(last_addr); in multiboot2_exec()
|