Lines Matching refs:physicalAddress
163 map_range(void *virtualAddress, void *physicalAddress, size_t size, uint16 mode) in map_range() argument
167 virtualAddress, 0, physicalAddress); in map_range()
418 void *physicalAddress = find_free_physical_range(size); in arch_mmu_allocate() local
419 if (physicalAddress == PHYSINVAL) { in arch_mmu_allocate()
429 status = of_call_method(sMemoryInstance, "claim", 3, 1, physicalAddress, in arch_mmu_allocate()
434 "failed to claim physical address\n", physicalAddress, size); in arch_mmu_allocate()
440 insert_physical_allocated_range((addr_t)physicalAddress, size); in arch_mmu_allocate()
442 if (!map_range(virtualAddress, physicalAddress, size, protection)) in arch_mmu_allocate()
464 void *physicalAddress = (void *)args->Argument(0);
472 if (is_physical_memory(physicalAddress)
473 && insert_physical_allocated_range((addr_t)physicalAddress, length)
489 map_range(virtualAddress, physicalAddress, length, mode);