Lines Matching defs:PhysMask
437 * @param PhysMask The mask for the backing memory (i.e. range). Use 0 if
445 mach_vm_address_t PhysMask, uint64_t MaxPhysAddr,
468 cbFudged, PhysMask);
475 uAlignment = 1; /* PhysMask isn't respected if higher. */
479 if (pMemDesc && !pMemDesc->initWithPhysicalMask(kernel_task, fOptions, cbFudged, uAlignment, PhysMask))
515 if (PhysMask)
517 off, Addr, AddrPrev, MaxPhysAddr, PhysMask, fContiguous, fOptions));
613 0 /* PhysMask */, UINT64_MAX, RTR0MEMOBJTYPE_PAGE);
630 0 /* PhysMask */, _4G - PAGE_SIZE, RTR0MEMOBJTYPE_LOW);
665 0 /* PhysMask*/, UINT64_MAX, RTR0MEMOBJTYPE_PHYS);
668 mach_vm_address_t PhysMask = 0;
669 PhysMask = ~(mach_vm_address_t)0;
670 while (PhysMask > (PhysHighest | PAGE_OFFSET_MASK))
671 PhysMask >>= 1;
672 AssertReturn(PhysMask + 1 <= cb, VERR_INVALID_PARAMETER);
673 PhysMask &= ~(mach_vm_address_t)PAGE_OFFSET_MASK;
676 PhysMask, PhysHighest, RTR0MEMOBJTYPE_PHYS);