• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /xnu-2422.115.4/osfmk/i386/AT386/

Lines Matching refs:mptr

489 	EfiMemoryRange *mptr;
507 mptr = (EfiMemoryRange *)ml_static_ptovirt(args->MemoryMap);
508 for (i=0; i < mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize)) {
509 if (((mptr->Attribute & EFI_MEMORY_RUNTIME) == EFI_MEMORY_RUNTIME) ) {
510 vm_size = (vm_offset_t)i386_ptob((uint32_t)mptr->NumberOfPages);
511 vm_addr = (vm_offset_t) mptr->VirtualStart;
515 phys_addr = (vm_map_offset_t) mptr->PhysicalStart;
517 mptr->Type,
519 (void *) (uintptr_t) mptr->VirtualStart,
523 (mptr->Type == kEfiRuntimeServicesCode) ? VM_PROT_READ | VM_PROT_EXECUTE : VM_PROT_READ|VM_PROT_WRITE,
524 (mptr->Type == EfiMemoryMappedIO) ? VM_WIMG_IO : VM_WIMG_USE_DEFAULT);
555 EfiMemoryRange *mptr;
572 mptr = (EfiMemoryRange *)ml_static_ptovirt(args->MemoryMap);
573 for (i=0; i < mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize)) {
574 if ((mptr->Attribute & EFI_MEMORY_RUNTIME) == EFI_MEMORY_RUNTIME) {
576 vm_size = (vm_offset_t)i386_ptob((uint32_t)mptr->NumberOfPages);
577 vm_addr = (vm_offset_t) mptr->VirtualStart;
581 phys_addr = (vm_map_offset_t) mptr->PhysicalStart;
583 kprintf("mapping[%u] %qx @ %lx, %llu\n", mptr->Type, phys_addr, (unsigned long)vm_addr, mptr->NumberOfPages);
593 mptr = map;
594 for (i=0; i < mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize)) {
595 if ((mptr->Attribute & EFI_MEMORY_RUNTIME) == EFI_MEMORY_RUNTIME) {
597 vm_size = (vm_offset_t)i386_ptob((uint32_t)mptr->NumberOfPages);
598 vm_addr = (vm_offset_t) mptr->VirtualStart;
601 phys_addr = (vm_map_offset_t) mptr->PhysicalStart;
603 kprintf("mapping[%u] %qx @ %lx, %llu\n", mptr->Type, phys_addr, (unsigned long)vm_addr, mptr->NumberOfPages);
606 (mptr->Type == kEfiRuntimeServicesCode) ? VM_PROT_READ | VM_PROT_EXECUTE : VM_PROT_READ|VM_PROT_WRITE,
607 (mptr->Type == EfiMemoryMappedIO) ? VM_WIMG_IO : VM_WIMG_USE_DEFAULT);