/freebsd-9.3-release/sys/boot/pc98/libpc98/ |
H A D | biosmem.c | 49 bios_basemem = ((*(u_char *)PTOV(0xA1501) & 0x07) + 1) * 128 * 1024; 50 bios_extmem = *(u_char *)PTOV(0xA1401) * 128 * 1024 + 51 *(u_int16_t *)PTOV(0xA1594) * 1024 * 1024;
|
H A D | pc98_sys.c | 46 ret = ((*(u_char *)PTOV(0xA1501)) & 0x08) >> 3; 58 data += *((u_long *)PTOV(0xA4000) + i); /* 0xa4000 */ 66 if ((*(u_char *)PTOV(0xA1400)) & 0x80) 70 if ((*(u_char *)PTOV(0xA1458)) & 0x80) 77 (*(u_long *)PTOV(0xA1620)) = ret;
|
H A D | biosdisk.c | 192 if (*(u_char *)PTOV(0xA15AE) & (1<<(unit & 0xf))) { 194 if ((*(u_char *)PTOV(0xA1584) & 0xf0) != 0x90) 227 if ( *(u_char *)PTOV(addr) & (1<<(bd->bd_unit & 0x0f))) { 232 int media = ((unsigned *)PTOV(0xA1460))[bd->bd_unit & 0x0F] & 0x1F; 992 if (*(u_char *)PTOV(addr) & (1 << (unit & 0x0f))) 997 int media = ((unsigned *)PTOV(0xA1460))[unit & 0x0F] & 0x1F;
|
H A D | vidconsole.c | 150 Crtat = (unsigned short *)PTOV(0xA0000); 594 return (*(u_char *)PTOV(0xA1481) & 0x48);
|
H A D | bioscd.c | 158 if ((((uint32_t *)PTOV(0xA1460))[biosdev & 0x0f] & 0x1f) != 5)
|
/freebsd-9.3-release/sys/boot/i386/efi/ |
H A D | i386_copy.c | 43 bcopy(src, PTOV(dest), len); 50 bcopy(PTOV(src), dest, len); 58 return (read(fd, PTOV(dest), len));
|
/freebsd-9.3-release/sys/boot/i386/libi386/ |
H A D | i386_copy.c | 48 bcopy(src, PTOV(dest), len); 60 bcopy(PTOV(src), dest, len); 74 return (read(fd, PTOV(dest), len));
|
H A D | biosacpi.c | 95 addr = (uint16_t *)PTOV(0x40E); 115 rsdp = (ACPI_TABLE_RSDP *)PTOV(base + ofs);
|
H A D | biospnp.c | 118 for (sigptr = PTOV(0xf0000); sigptr < PTOV(0xfffff); sigptr += 16)
|
H A D | smbios.c | 307 smbios = smbios_sigsearch(PTOV(SMBIOS_START), SMBIOS_LENGTH); 328 addr = PTOV(paddr);
|
H A D | pxe.c | 144 pxe_p = (pxe_t *)PTOV(pxenv_p->PXEPtr.segment * 16 + 237 bcopy(PTOV((gci_p->Buffer.segment << 4) + gci_p->Buffer.offset),
|
H A D | biosdisk.c | 166 (nfd >= *(unsigned char *)PTOV(BIOS_NUMDRIVES)))
|
/freebsd-9.3-release/tools/tools/ncpus/ |
H A D | biosmptable.c | 50 #define PTOV(pa) ((off_t)(pa)) macro 85 mpcth = biosmptable_check_mpcth(PTOV(mpfps->pap)); 171 if (!memread(PTOV(0x40E), &addr, sizeof(addr))) 173 mpfps = biosmptable_search_mpfps(PTOV(addr << 4), 0x400); 178 mpfps = biosmptable_search_mpfps(PTOV(0xf0000), 0x10000);
|
/freebsd-9.3-release/sys/amd64/include/xen/ |
H A D | xenvar.h | 101 #define PTOV(x) (((uintptr_t)(x)) + KERNBASE) macro 104 #define PFNTOV(x) PTOV((vm_paddr_t)(x) << PAGE_SHIFT)
|
/freebsd-9.3-release/sys/i386/include/xen/ |
H A D | xenvar.h | 81 #define PTOV(x) (((uintptr_t)(x)) + KERNBASE) macro 84 #define PFNTOV(x) PTOV((vm_paddr_t)(x) << PAGE_SHIFT)
|
/freebsd-9.3-release/sys/boot/i386/loader/ |
H A D | main.c | 92 initial_bootinfo = kargs->bootinfo ? (struct bootinfo *)PTOV(kargs->bootinfo) : NULL; 106 heap_top = PTOV(high_heap_base + high_heap_size); 107 heap_bottom = PTOV(high_heap_base); 113 heap_top = (void *)PTOV(bios_basemem); 152 pxe_enable(kargs->pxeinfo ? PTOV(kargs->pxeinfo) : NULL);
|
/freebsd-9.3-release/sys/boot/pc98/loader/ |
H A D | main.c | 104 initial_bootinfo = kargs->bootinfo ? (struct bootinfo *)PTOV(kargs->bootinfo) : NULL; 117 heap_top = PTOV(high_heap_base + high_heap_size); 118 heap_bottom = PTOV(high_heap_base); 124 heap_top = (void *)PTOV(bios_basemem); 163 pxe_enable(kargs->pxeinfo ? PTOV(kargs->pxeinfo) : NULL);
|
/freebsd-9.3-release/sys/boot/i386/btx/lib/ |
H A D | btxv86.h | 56 #define PTOV(pa) ((caddr_t)(pa) - __base) macro
|
/freebsd-9.3-release/sys/boot/pc98/btx/lib/ |
H A D | btxv86.h | 56 #define PTOV(pa) ((caddr_t)(pa) - __base) macro
|
/freebsd-9.3-release/sys/boot/i386/zfsboot/ |
H A D | zfsboot.c | 449 heap_end = PTOV(high_heap_base + high_heap_size); 450 heap_next = PTOV(high_heap_base); 453 heap_end = (char *) PTOV(bios_basemem); 457 dsk->drive = *(uint8_t *)PTOV(ARGS); 460 dsk->slice = *(uint8_t *)PTOV(ARGS + 1) + 1; 493 for (i = 0; i < *(unsigned char *)PTOV(BIOS_NUMDRIVES); i++) 498 if ((i | DRV_HARD) == *(uint8_t *)PTOV(ARGS)) 635 p = PTOV(addr); 668 p = PTOV(ep[i].p_paddr & 0xffffff); 763 if (*(uint8_t *)PTOV( [all...] |
/freebsd-9.3-release/sys/boot/pc98/boot2/ |
H A D | boot2.c | 229 if ((*(u_char *)PTOV(0x482) >> dsk.unit) & 0x01) 240 p = (u_char *)PTOV(0x460 + dsk.unit * 4); /* SCSI equipment parameter */ 295 if (*(u_char *)PTOV(addr) & (1 << (unit & 0x0f))) 300 int media = ((unsigned *)PTOV(0x460))[unit & 0x0F] & 0x1F; 329 cyl = *(uint16_t *)PTOV(ARGS); 360 dsk.daua = *(uint8_t *)PTOV(0x584); 463 p = PTOV(addr); 479 p = PTOV(ep[i].p_paddr & 0xffffff); 533 if (*(uint8_t *)PTOV(0x481) & 0x48) {
|
/freebsd-9.3-release/sys/boot/i386/common/ |
H A D | cons.c | 112 t1 = *(uint32_t *)PTOV(0x46c);
|
/freebsd-9.3-release/sys/boot/i386/boot2/ |
H A D | boot2.c | 231 dsk.drive = *(uint8_t *)PTOV(ARGS); 234 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1; 324 p = PTOV(addr); 340 p = PTOV(ep[i].p_paddr & 0xffffff); 394 if (*(uint8_t *)PTOV(0x496) & 0x10) { 619 t1 = *(uint32_t *)PTOV(0x46c);
|
/freebsd-9.3-release/sys/boot/i386/gptboot/ |
H A D | gptboot.c | 146 dsk.drive = *(uint8_t *)PTOV(ARGS); 274 p = PTOV(addr); 307 p = PTOV(ep[i].p_paddr & 0xffffff); 358 if (*(uint8_t *)PTOV(0x496) & 0x10) {
|
/freebsd-9.3-release/sys/boot/i386/libfirewire/ |
H A D | firewire.c | 118 sc->handle = (uint32_t)PTOV(sc->base_addr); 198 db = (struct dcons_buf *)PTOV(dcons_paddr);
|