Home
last modified time | relevance | path

Searched refs:VirtEntry (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Core/RuntimeDxe/
DRuntime.c137 EFI_MEMORY_DESCRIPTOR *VirtEntry; in RuntimeDriverConvertPointer() local
162 VirtEntry = mVirtualMap; in RuntimeDriverConvertPointer()
170 ASSERT (((UINTN) VirtEntry->NumberOfPages < 0xffffffff) || (sizeof (UINTN) > 4)); in RuntimeDriverConvertPointer()
172 if ((VirtEntry->Attribute & EFI_MEMORY_RUNTIME) == EFI_MEMORY_RUNTIME) { in RuntimeDriverConvertPointer()
173 if (Address >= VirtEntry->PhysicalStart) { in RuntimeDriverConvertPointer()
174 … VirtEndOfRange = VirtEntry->PhysicalStart + (((UINTN) VirtEntry->NumberOfPages) * EFI_PAGE_SIZE); in RuntimeDriverConvertPointer()
179 …*ConvertAddress = (VOID *) (Address - (UINTN) VirtEntry->PhysicalStart + (UINTN) VirtEntry->Virtua… in RuntimeDriverConvertPointer()
185 VirtEntry = NEXT_MEMORY_DESCRIPTOR (VirtEntry, mVirtualMapDescriptorSize); in RuntimeDriverConvertPointer()