Searched refs:TranslationTable (Results 1 – 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmLib/ArmV7/ |
D | ArmV7Mmu.c | 94 UINT32 TranslationTable; in PopulateLevel2PageTable() local 128 TranslationTable = *SectionEntry & TT_DESCRIPTOR_SECTION_PAGETABLE_ADDRESS_MASK; in PopulateLevel2PageTable() 133 …TranslationTable = (UINTN)AllocatePages(EFI_SIZE_TO_PAGES(TRANSLATION_TABLE_PAGE_SIZE + TRANSLATIO… in PopulateLevel2PageTable() 134 …TranslationTable = ((UINTN)TranslationTable + TRANSLATION_TABLE_PAGE_ALIGNMENT_MASK) & ~TRANSLATIO… in PopulateLevel2PageTable() 142 PageEntry = (UINT32*)TranslationTable; in PopulateLevel2PageTable() 148 *SectionEntry = (TranslationTable & TT_DESCRIPTOR_SECTION_PAGETABLE_ADDRESS_MASK) | in PopulateLevel2PageTable() 157 …TranslationTable = (UINTN)AllocatePages(EFI_SIZE_TO_PAGES(TRANSLATION_TABLE_PAGE_SIZE + TRANSLATIO… in PopulateLevel2PageTable() 158 …TranslationTable = ((UINTN)TranslationTable + TRANSLATION_TABLE_PAGE_ALIGNMENT_MASK) & ~TRANSLATIO… in PopulateLevel2PageTable() 160 ZeroMem ((VOID *)TranslationTable, TRANSLATION_TABLE_PAGE_SIZE); in PopulateLevel2PageTable() 162 *SectionEntry = (TranslationTable & TT_DESCRIPTOR_SECTION_PAGETABLE_ADDRESS_MASK) | in PopulateLevel2PageTable() [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/ |
D | XPressRich3.c | 69 UINTN TranslationTable; in HWPciRbInit() local 87 TranslationTable = VEXPRESS_ATR_PCIE_WIN0; in HWPciRbInit() 90 …SetTranslationAddressEntry (CpuIo, TranslationTable, ARM_JUNO_GIV2M_MSI_BASE, ARM_JUNO_GIV2M_MSI_B… in HWPciRbInit() 92 TranslationTable += PCI_ATR_ENTRY_SIZE; in HWPciRbInit() 95 …SetTranslationAddressEntry (CpuIo, TranslationTable, PcdGet64 (PcdSystemMemoryBase), PcdGet64 (Pcd… in HWPciRbInit() 97 TranslationTable += PCI_ATR_ENTRY_SIZE; in HWPciRbInit() 98 …SetTranslationAddressEntry (CpuIo, TranslationTable, ARM_JUNO_EXTRA_SYSTEM_MEMORY_BASE, ARM_JUNO_E… in HWPciRbInit() 104 TranslationTable = VEXPRESS_ATR_AXI4_SLV1; in HWPciRbInit() 107 …SetTranslationAddressEntry (CpuIo, TranslationTable, PCI_ECAM_BASE, PCI_ECAM_BASE, PCI_ECAM_SIZE, … in HWPciRbInit() 108 TranslationTable += PCI_ATR_ENTRY_SIZE; in HWPciRbInit() [all …]
|
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmLib/AArch64/ |
D | AArch64Mmu.c | 212 UINT64 *TranslationTable; in GetBlockEntryListFromAddress() local 274 TranslationTable = RootTable; in GetBlockEntryListFromAddress() 276 BlockEntry = (UINT64*)TT_GET_ENTRY_FOR_ADDRESS (TranslationTable, IndexLevel, RegionStart); in GetBlockEntryListFromAddress() 280 TranslationTable = (UINT64*)(*BlockEntry & TT_ADDRESS_MASK_DESCRIPTION_TABLE); in GetBlockEntryListFromAddress() 320 …TranslationTable = (UINT64*)AllocateAlignedPages (EFI_SIZE_TO_PAGES(TT_ENTRY_COUNT * sizeof(UINT64… in GetBlockEntryListFromAddress() 321 if (TranslationTable == NULL) { in GetBlockEntryListFromAddress() 326 SubTableBlockEntry = TranslationTable; in GetBlockEntryListFromAddress() 333 …*BlockEntry = ((UINTN)TranslationTable & TT_ADDRESS_MASK_DESCRIPTION_TABLE) | TableAttributes | TT… in GetBlockEntryListFromAddress() 342 …TranslationTable = (UINT64*)AllocateAlignedPages (EFI_SIZE_TO_PAGES(TT_ENTRY_COUNT * sizeof(UINT64… in GetBlockEntryListFromAddress() 343 if (TranslationTable == NULL) { in GetBlockEntryListFromAddress() [all …]
|
/device/linaro/bootloader/edk2/ArmPkg/Include/Chipset/ |
D | AArch64Mmu.h | 39 #define TT_GET_ENTRY_FOR_ADDRESS(TranslationTable, Level, Address) \ argument 40 …((UINTN)(TranslationTable) + ((((UINTN)(Address) >> TT_ADDRESS_OFFSET_AT_LEVEL(Level)) & (BIT9-1))… 46 #define TT_LAST_BLOCK_ADDRESS(TranslationTable, EntryCount) \ argument 47 ((UINT64*)((EFI_PHYSICAL_ADDRESS)(TranslationTable) + (((EntryCount) - 1) * sizeof(UINT64))))
|
/device/linaro/bootloader/edk2/ArmPkg/Drivers/CpuDxe/AArch64/ |
D | Mmu.c | 243 IN UINT64 *TranslationTable, in GetMemoryRegionRec() argument 264 BlockEntry = (UINT64*)TT_GET_ENTRY_FOR_ADDRESS (TranslationTable, TableLevel, *BaseAddress); in GetMemoryRegionRec() 320 UINT64 *TranslationTable; in GetMemoryRegion() local 327 TranslationTable = ArmGetTTBR0BaseAddress (); in GetMemoryRegion() 333 Status = GetMemoryRegionRec (TranslationTable, TableLevel, in GetMemoryRegion() 334 (UINTN*)TT_LAST_BLOCK_ADDRESS(TranslationTable, EntryCount), in GetMemoryRegion()
|