Home
last modified time | relevance | path

Searched refs:VTOP (Results 1 – 8 of 8) sorted by relevance

/dragonfly/stand/boot/pc32/libi386/
H A Dx86_64_tramp.S42 #define VTOP(x) ((x) + MEM_BTX_USR) macro
60 .long VTOP(gdt) # low
92 movl $VTOP(PT4), %eax
101 movl $VTOP(gdtdesc), %eax
102 movl VTOP(entry_hi), %esi
103 movl VTOP(entry_lo), %edi
105 ljmp $0x8, $VTOP(longmode)
H A Delf64_freebsd.c98 PT4[i] = (p4_entry_t)VTOP((uintptr_t)&PT3[0]); in elf64_exec()
102 PT3[i] = (p3_entry_t)VTOP((uintptr_t)&PT2[0]); in elf64_exec()
117 __exec((void *)VTOP(x86_64_tramp), modulep, kernend); in elf64_exec()
H A Dbootinfo32.c262 bi.bi_kernelname = VTOP(kernelpath); in bi_load32()
269 *bip = VTOP(&bi); in bi_load32()
H A Dbiosdisk.c1042 if (((u_int32_t)VTOP(bbuf) & 0xffff8000) == in bd_read()
1043 ((u_int32_t)VTOP(bbuf + x * BIOSDISK_SECSIZE - 1) & 0xffff8000)) { in bd_read()
1134 x, cyl, hd, sec - 1, p, VTOP(p), result ? "failed" : "ok"); in bd_read()
1182 if (((u_int32_t)VTOP(bbuf) & 0xffff8000) == in bd_write()
1183 ((u_int32_t)VTOP(bbuf + x * BIOSDISK_SECSIZE - 1) & 0xffff8000)) { in bd_write()
1284 …DEBUG("%u sectors from %u/%u/%d to %p (0x%x) %s", x, cyl, hd, sec - 1, p, VTOP(p), result ? "faile… in bd_write()
H A Dbiosacpi.c59 sprintf(buf, "0x%08x", VTOP(rsdp)); in biosacpi_detect()
H A Dbioscd.c328 VTOP(dest), result ? "failed" : "ok"); in bc_read()
/dragonfly/stand/boot/pc32/btx/lib/
H A Dbtxv86.h57 #define VTOP(va) ((vm_offset_t)(va) + __base) macro
58 #define VTOPSEG(va) (u_int16_t)(VTOP((caddr_t)va) >> 4)
59 #define VTOPOFF(va) (u_int16_t)(VTOP((caddr_t)va) & 0xf)
/dragonfly/stand/boot/pc32/boot2/
H A Dboot2.c408 bootinfo.bi_symtab = VTOP(p); in load()
424 bootinfo.bi_esymtab = VTOP(p); in load()
430 bootinfo.bi_kernelname = VTOP(kname); in load()
434 0, 0, 0, VTOP(&bootinfo)); in load()