37 ASSERT (VirtualMemoryMap !=
NULL);
39 TopOfAddressSpace =
LShiftU64 (1ULL, ArmGetPhysicalAddressBits ());
46 mVirtualMemoryTable[0].PhysicalBase = 0x0;
47 mVirtualMemoryTable[0].VirtualBase = 0x0;
48 mVirtualMemoryTable[0].Length = TopOfAddressSpace;
49 mVirtualMemoryTable[0].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK;
51 mVirtualMemoryTable[1].PhysicalBase = 0x0;
52 mVirtualMemoryTable[1].VirtualBase = 0x0;
53 mVirtualMemoryTable[1].Length = 0x0;
54 mVirtualMemoryTable[1].Attributes = 0x0;
56 *VirtualMemoryMap = mVirtualMemoryTable;
UINT64 EFIAPI LShiftU64(IN UINT64 Operand, IN UINTN Count)
UINT64 EFI_PHYSICAL_ADDRESS
VOID EFIAPI ArmVirtGetMemoryMap(OUT ARM_MEMORY_REGION_DESCRIPTOR **VirtualMemoryMap)