Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmQemuRelocatablePlatformLib/
DQemuVirtMem.c69 VirtualMemoryTable[0].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
70 VirtualMemoryTable[0].VirtualBase = VirtualMemoryTable[0].PhysicalBase; in ArmPlatformGetVirtualMemoryMap()
79 VirtualMemoryTable[0].PhysicalBase, in ArmPlatformGetVirtualMemoryMap()
84 VirtualMemoryTable[1].PhysicalBase = 0x0; in ArmPlatformGetVirtualMemoryMap()
86 VirtualMemoryTable[1].Length = VirtualMemoryTable[0].PhysicalBase; in ArmPlatformGetVirtualMemoryMap()
90 VirtualMemoryTable[2].PhysicalBase = VirtualMemoryTable[0].Length + VirtualMemoryTable[1].Length; in ArmPlatformGetVirtualMemoryMap()
91 VirtualMemoryTable[2].VirtualBase = VirtualMemoryTable[2].PhysicalBase; in ArmPlatformGetVirtualMemoryMap()
94 VirtualMemoryTable[2].PhysicalBase; in ArmPlatformGetVirtualMemoryMap()
98 VirtualMemoryTable[3].PhysicalBase = PcdGet64 (PcdFdBaseAddress); in ArmPlatformGetVirtualMemoryMap()
99 VirtualMemoryTable[3].VirtualBase = VirtualMemoryTable[3].PhysicalBase; in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmVirtPlatformLib/
DVirtMem.c76 VirtualMemoryTable[0].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
77 VirtualMemoryTable[0].VirtualBase = VirtualMemoryTable[0].PhysicalBase; in ArmPlatformGetVirtualMemoryMap()
86 VirtualMemoryTable[0].PhysicalBase, in ArmPlatformGetVirtualMemoryMap()
91 VirtualMemoryTable[1].PhysicalBase = 0x0; in ArmPlatformGetVirtualMemoryMap()
93 VirtualMemoryTable[1].Length = VirtualMemoryTable[0].PhysicalBase; in ArmPlatformGetVirtualMemoryMap()
97 VirtualMemoryTable[2].PhysicalBase = VirtualMemoryTable[0].Length + VirtualMemoryTable[1].Length; in ArmPlatformGetVirtualMemoryMap()
98 VirtualMemoryTable[2].VirtualBase = VirtualMemoryTable[2].PhysicalBase; in ArmPlatformGetVirtualMemoryMap()
101 VirtualMemoryTable[2].PhysicalBase; in ArmPlatformGetVirtualMemoryMap()
105 VirtualMemoryTable[3].PhysicalBase = FixedPcdGet64 (PcdFdBaseAddress); in ArmPlatformGetVirtualMemoryMap()
106 VirtualMemoryTable[3].VirtualBase = VirtualMemoryTable[3].PhysicalBase; in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/
DCTA15-A7Mem.c64 VirtualMemoryTable[Index].PhysicalBase = ARM_VE_SEC_NOR0_BASE; in ArmPlatformGetVirtualMemoryMap()
69 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SEC_RAM0_BASE; in ArmPlatformGetVirtualMemoryMap()
76 VirtualMemoryTable[Index].PhysicalBase = ARM_VE_SMB_NOR0_BASE; in ArmPlatformGetVirtualMemoryMap()
81 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_NOR0_BASE + (SIZE_256KB * 255); in ArmPlatformGetVirtualMemoryMap()
87 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_NOR1_BASE; in ArmPlatformGetVirtualMemoryMap()
92 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_NOR1_BASE + (SIZE_256KB * 255); in ArmPlatformGetVirtualMemoryMap()
98 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_SRAM_BASE; in ArmPlatformGetVirtualMemoryMap()
104 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_PERIPH_BASE; in ArmPlatformGetVirtualMemoryMap()
111 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_TC2_NON_SECURE_ROM_BASE; in ArmPlatformGetVirtualMemoryMap()
118 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_ONCHIP_PERIPH_BASE; in ArmPlatformGetVirtualMemoryMap()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Library/ArmJunoLib/
DArmJunoMem.c82 VirtualMemoryTable[Index].PhysicalBase = ARM_VE_SMB_NOR0_BASE; in ArmPlatformGetVirtualMemoryMap()
87 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_NOR0_BASE + (SIZE_256KB * 255); in ArmPlatformGetVirtualMemoryMap()
93 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_PERIPH_BASE; in ArmPlatformGetVirtualMemoryMap()
99 VirtualMemoryTable[++Index].PhysicalBase = ARM_JUNO_NON_SECURE_ROM_BASE; in ArmPlatformGetVirtualMemoryMap()
105 VirtualMemoryTable[++Index].PhysicalBase = ARM_JUNO_PERIPHERALS_BASE; in ArmPlatformGetVirtualMemoryMap()
111 VirtualMemoryTable[++Index].PhysicalBase = ARM_JUNO_NON_SECURE_SRAM_BASE; in ArmPlatformGetVirtualMemoryMap()
117 VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdPcieControlBaseAddress); in ArmPlatformGetVirtualMemoryMap()
125 VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdPciConfigurationSpaceBaseAddress); in ArmPlatformGetVirtualMemoryMap()
133 VirtualMemoryTable[++Index].PhysicalBase = PcdGet32 (PcdPciMmio32Base); in ArmPlatformGetVirtualMemoryMap()
141 VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdPciMmio64Base); in ArmPlatformGetVirtualMemoryMap()
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmMmuLib/Arm/
DArmMmuLibCore.c109 IN UINT32 PhysicalBase, in PopulateLevel2PageTable() argument
192 …PageEntry = ((UINT32 *)(TranslationTable) + ((PhysicalBase & TT_DESCRIPTOR_PAGE_INDEX_MASK) >> TT_… in PopulateLevel2PageTable()
196 *PageEntry++ = TT_DESCRIPTOR_PAGE_BASE_ADDRESS(PhysicalBase) | PageAttributes; in PopulateLevel2PageTable()
197 PhysicalBase += TT_DESCRIPTOR_PAGE_SIZE; in PopulateLevel2PageTable()
211 UINT32 PhysicalBase; in FillTranslationTable() local
216 if (MemoryRegion->PhysicalBase >= SIZE_4GB) { in FillTranslationTable()
220 PhysicalBase = MemoryRegion->PhysicalBase; in FillTranslationTable()
221 RemainLength = MIN(MemoryRegion->Length, SIZE_4GB - PhysicalBase); in FillTranslationTable()
261 if (PhysicalBase % TT_DESCRIPTOR_SECTION_SIZE == 0) { in FillTranslationTable()
264 *SectionEntry++ = TT_DESCRIPTOR_SECTION_BASE_ADDRESS(PhysicalBase) | Attributes; in FillTranslationTable()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/
DCTA9x4Mem.c64 VirtualMemoryTable[Index].PhysicalBase = ARM_VE_REMAP_BASE; in ArmPlatformGetVirtualMemoryMap()
71 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_DRAM_BASE; in ArmPlatformGetVirtualMemoryMap()
77 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_MB_ON_CHIP_PERIPH_BASE; in ArmPlatformGetVirtualMemoryMap()
83 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_NOR0_BASE; in ArmPlatformGetVirtualMemoryMap()
89 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_SRAM_BASE; in ArmPlatformGetVirtualMemoryMap()
95 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_PERIPH_BASE; in ArmPlatformGetVirtualMemoryMap()
102 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_EXT_AXI_BASE; in ArmPlatformGetVirtualMemoryMap()
113 VirtualMemoryTable[++Index].PhysicalBase = 0; in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/
DRTSMMem.c98 VirtualMemoryTable[Index].PhysicalBase = ARM_VE_REMAP_BASE; in ArmPlatformGetVirtualMemoryMap()
104 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_DRAM_BASE; in ArmPlatformGetVirtualMemoryMap()
110 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_ON_CHIP_PERIPH_BASE; in ArmPlatformGetVirtualMemoryMap()
116 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_NOR0_BASE; in ArmPlatformGetVirtualMemoryMap()
122 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_SRAM_BASE; in ArmPlatformGetVirtualMemoryMap()
128 VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_SMB_PERIPH_BASE; in ArmPlatformGetVirtualMemoryMap()
135 VirtualMemoryTable[++Index].PhysicalBase = SparseMemoryBase; in ArmPlatformGetVirtualMemoryMap()
142 VirtualMemoryTable[++Index].PhysicalBase = 0; in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Library/AmdStyxLib/
DStyxMem.c43 #define LOG_MEM(desc) DEBUG ((EFI_D_ERROR, desc, VirtualMemoryTable[Index].PhysicalBase, \
44 … ( VirtualMemoryTable[Index].PhysicalBase+VirtualMemoryTable[Index].Length - 1), \
91 VirtualMemoryTable[Index].PhysicalBase = 0xE0000000UL; in ArmPlatformGetVirtualMemoryMap()
98 VirtualMemoryTable[++Index].PhysicalBase = 0xF0000000UL; in ArmPlatformGetVirtualMemoryMap()
105 VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
112 VirtualMemoryTable[++Index].PhysicalBase = 0; in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/edk2/BeagleBoardPkg/Library/BeagleBoardLib/
DBeagleBoardMem.c58 VirtualMemoryTable[Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
64 VirtualMemoryTable[++Index].PhysicalBase = SOC_REGISTERS_L3_PHYSICAL_BASE; in ArmPlatformGetVirtualMemoryMap()
70 VirtualMemoryTable[++Index].PhysicalBase = SOC_REGISTERS_L4_PHYSICAL_BASE; in ArmPlatformGetVirtualMemoryMap()
76 VirtualMemoryTable[++Index].PhysicalBase = 0; in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Marvell/Armada/Library/Armada70x0Lib/
DArmada70x0LibMem.c73 VirtualMemoryTable[Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
79 VirtualMemoryTable[++Index].PhysicalBase = 0xF0000000; in ArmPlatformGetVirtualMemoryMap()
85 VirtualMemoryTable[++Index].PhysicalBase = 0; in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/Library/HiKey960Lib/
DHiKey960Mem.c218 VirtualMemoryTable[Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
224 VirtualMemoryTable[++Index].PhysicalBase = HI3660_PERIPH_BASE; in ArmPlatformGetVirtualMemoryMap()
231 VirtualMemoryTable[++Index].PhysicalBase = HIKEY960_DDR6G_EXTRA_SYSTEM_MEMORY_BASE; in ArmPlatformGetVirtualMemoryMap()
236 VirtualMemoryTable[++Index].PhysicalBase = HIKEY960_DDR4G_EXTRA1_SYSTEM_MEMORY_BASE; in ArmPlatformGetVirtualMemoryMap()
241 VirtualMemoryTable[++Index].PhysicalBase = HIKEY960_DDR4G_EXTRA2_SYSTEM_MEMORY_BASE; in ArmPlatformGetVirtualMemoryMap()
248 VirtualMemoryTable[++Index].PhysicalBase = 0; in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/Library/HiKeyLib/
DHiKeyMem.c176 VirtualMemoryTable[Index].PhysicalBase = HI6220_PERIPH_BASE; in ArmPlatformGetVirtualMemoryMap()
182 VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); in ArmPlatformGetVirtualMemoryMap()
189 VirtualMemoryTable[++Index].PhysicalBase = HIKEY_EXTRA_SYSTEM_MEMORY_BASE; in ArmPlatformGetVirtualMemoryMap()
196 VirtualMemoryTable[++Index].PhysicalBase = 0; in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/ArmPlatformLibHisilicon/
DArmPlatformLibMem.c77 VirtualMemoryTable[++Index].PhysicalBase = NextHob.ResourceDescriptor->PhysicalStart; in ArmPlatformGetVirtualMemoryMap()
88 VirtualMemoryTable[++Index].PhysicalBase = 0; in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/
DXenVirtMem.c74 VirtualMemoryTable[0].PhysicalBase = 0x0; in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmMmuLib/AArch64/
DArmMmuLibCore.c439 MemoryRegion.PhysicalBase = BaseAddress; in SetMemoryAttributes()
691 if ((UINTN)TranslationTable >= MemoryTable->PhysicalBase && in ArmConfigureMmu()
692 (UINTN)TranslationTable + RootTableEntrySize <= MemoryTable->PhysicalBase + in ArmConfigureMmu()
/device/linaro/bootloader/edk2/ArmPkg/Include/Library/
DArmLib.h49 EFI_PHYSICAL_ADDRESS PhysicalBase; member