Searched refs:VTOP (Results 1 - 21 of 21) sorted by relevance

/freebsd-9.3-release/sys/boot/i386/libi386/
H A Damd64_tramp.S41 #define VTOP(x) ((x) + VPBASE) define
59 .long VTOP(gdt) # low
91 movl $VTOP(PT4), %eax
100 movl $VTOP(gdtdesc), %eax
101 movl VTOP(entry_hi), %esi
102 movl VTOP(entry_lo), %edi
104 ljmp $0x8, $VTOP(longmode)
H A Delf64_freebsd.c98 PT4[i] = (p4_entry_t)VTOP((uintptr_t)&PT3[0]);
102 PT3[i] = (p3_entry_t)VTOP((uintptr_t)&PT2[0]);
117 __exec((void *)VTOP(amd64_tramp), modulep, kernend);
H A Dbiosacpi.c64 sprintf(buf, "%u", VTOP(rsdp));
H A Dbiosdisk.c498 if (VTOP(dest) >> 20 != 0 || (BD(dev).bd_unit < 0x80 &&
499 (VTOP(dest) >> 16) != (VTOP(dest +
512 if (((u_int32_t)VTOP(bbuf) & 0xffff0000) ==
513 ((u_int32_t)VTOP(bbuf + x * BD(dev).bd_sectorsize) & 0xffff0000)) {
568 p, VTOP(p), dblk, result ? "failed" : "ok");
571 dblk, p, VTOP(p), result ? "failed" : "ok");
H A Dbioscd.c283 if (VTOP(dest) >> 20 != 0) {
345 VTOP(p), result ? "failed" : "ok");
H A Dbootinfo32.c264 bi.bi_kernelname = VTOP(kernelpath);
271 *bip = VTOP(&bi);
/freebsd-9.3-release/sys/boot/i386/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)
/freebsd-9.3-release/sys/boot/pc98/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)
/freebsd-9.3-release/sys/amd64/include/xen/
H A Dxenvar.h100 #define VTOP(x) ((((uintptr_t)(x))) - KERNBASE) macro
103 #define VTOPFN(x) (VTOP(x) >> PAGE_SHIFT)
/freebsd-9.3-release/sys/i386/include/xen/
H A Dxenvar.h80 #define VTOP(x) ((((uintptr_t)(x))) - KERNBASE) macro
83 #define VTOPFN(x) (VTOP(x) >> PAGE_SHIFT)
/freebsd-9.3-release/sys/boot/i386/libfirewire/
H A Ddconsole.c98 dcons_paddr = VTOP(dbuf);
H A Dfwohci.c255 OWRITE(sc, OHCI_CROMPTR, VTOP(sc->config_rom));
/freebsd-9.3-release/sys/boot/i386/gptboot/
H A Dgptboot.c282 bootinfo.bi_symtab = VTOP(p);
313 bootinfo.bi_symtab = VTOP(p);
330 bootinfo.bi_esymtab = VTOP(p);
331 bootinfo.bi_kernelname = VTOP(kname);
335 0, 0, 0, VTOP(&bootinfo));
/freebsd-9.3-release/sys/boot/pc98/libpc98/
H A Dbioscd.c278 if (VTOP(dest) >> 20 != 0) {
336 VTOP(p), result ? "failed" : "ok");
H A Dbiosdisk.c844 if (VTOP(dest) >> 20 != 0 ||
845 ((VTOP(dest) >> 16) != (VTOP(dest + blks * BIOSDISK_SECSIZE) >> 16))) {
857 if (((u_int32_t)VTOP(bbuf) & 0xffff0000) ==
858 ((u_int32_t)VTOP(bbuf + x * BIOSDISK_SECSIZE) & 0xffff0000)) {
909 p, VTOP(p), dblk, result ? "failed" : "ok");
912 dblk, p, VTOP(p), result ? "failed" : "ok");
/freebsd-9.3-release/sys/boot/i386/zfsboot/
H A Dzfsboot.c643 bootinfo.bi_symtab = VTOP(p);
674 bootinfo.bi_symtab = VTOP(p);
691 bootinfo.bi_esymtab = VTOP(p);
692 bootinfo.bi_kernelname = VTOP(kname);
706 VTOP(&bootinfo),
/freebsd-9.3-release/sys/boot/i386/boot2/
H A Dboot2.c346 bootinfo.bi_symtab = VTOP(p);
362 bootinfo.bi_esymtab = VTOP(p);
368 bootinfo.bi_kernelname = VTOP(kname);
372 0, 0, 0, VTOP(&bootinfo));
/freebsd-9.3-release/sys/boot/pc98/boot2/
H A Dboot2.c485 bootinfo.bi_symtab = VTOP(p);
501 bootinfo.bi_esymtab = VTOP(p);
507 bootinfo.bi_kernelname = VTOP(kname);
511 0, 0, 0, VTOP(&bootinfo));
/freebsd-9.3-release/sys/i386/xen/
H A Dxen_machdep.c1048 xen_load_cr3(VTOP(IdlePDPTnew));
1151 physfree = VTOP(cur_space);
1153 IdlePTD = (pd_entry_t *)VTOP(IdlePTD);
1154 IdlePDPT = (pd_entry_t *)VTOP(IdlePDPT);
/freebsd-9.3-release/sys/i386/include/
H A Dpmap.h225 #define VTOM(va) xpmap_ptom(VTOP(va))
/freebsd-9.3-release/sys/i386/i386/
H A Dmachdep.c2597 PT_SET_MA(gdt, xpmap_ptom(VTOP(gdt)) | PG_V | PG_RW);
2605 PT_SET_MA(gdt, xpmap_ptom(VTOP(gdt)) | PG_V);
2647 PT_SET_MA(ldt, xpmap_ptom(VTOP(ldt)) | PG_V | PG_RW);

Completed in 162 milliseconds