Lines Matching defs:phy
37 alloc_mem(void **virt, void **phy, size_t size, uint32 protection,
40 // TODO: phy should be phys_addr_t*!
66 if (phy)
67 *phy = (void*)(addr_t)pe.address;
68 TRACE("area = %" B_PRId32 ", size = %ld, virt = %p, phy = %" B_PRIxPHYSADDR "\n", area, size, virtadr,
75 map_mem(void **virt, void *phy, size_t size, uint32 protection,
83 TRACE("mapping physical address %p with %ld bytes for %s\n", phy, size,
86 offset = (intptr_t)phy & (B_PAGE_SIZE - 1);
87 phyadr = (char *)phy - offset;
100 "mapadr = %p, size = %ld, area = 0x%08" B_PRIx32 "\n", phy, *virt,