Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/ArmPkg/Drivers/CpuDxe/AArch64/
DMmu.c27 IN UINTN TableLevel in GetFirstPageAttribute() argument
35 if ((TableLevel != 3) && (FirstEntry & TT_TYPE_MASK) == TT_TYPE_TABLE_ENTRY) { in GetFirstPageAttribute()
39 … GetFirstPageAttribute ((UINT64*)(FirstEntry & TT_ADDRESS_MASK_DESCRIPTION_TABLE), TableLevel + 1); in GetFirstPageAttribute()
41 ((TableLevel == 3) && ((FirstEntry & TT_TYPE_MASK) == TT_TYPE_BLOCK_ENTRY_LEVEL3))) in GetFirstPageAttribute()
54 IN UINTN TableLevel, in GetNextEntryAttribute() argument
74 ASSERT (TableLevel <= 3); in GetNextEntryAttribute()
85 ((TableLevel == 3) && (EntryType == TT_TYPE_BLOCK_ENTRY_LEVEL3))) { in GetNextEntryAttribute()
91 (BaseAddress + (Index * TT_ADDRESS_AT_LEVEL(TableLevel))) - *StartGcdRegion, in GetNextEntryAttribute()
96 *StartGcdRegion = BaseAddress + (Index * TT_ADDRESS_AT_LEVEL(TableLevel)); in GetNextEntryAttribute()
103 ASSERT (TableLevel < 3); in GetNextEntryAttribute()
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Include/Chipset/
DAArch64Mmu.h34 #define TT_ADDRESS_OFFSET_AT_LEVEL(TableLevel) (12 + ((3 - (TableLevel)) * 9)) argument
44 #define TT_ADDRESS_AT_LEVEL(TableLevel) (1ULL << TT_ADDRESS_OFFSET_AT_LEVEL(TableLevel)) argument
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmMmuLib/AArch64/
DArmMmuLibCore.c130 OUT UINTN *TableLevel, in GetRootTranslationTableInfo() argument
135 if (TableLevel) { in GetRootTranslationTableInfo()
136 *TableLevel = (T0SZ - MIN_T0SZ) / BITS_PER_LEVEL; in GetRootTranslationTableInfo()
193 OUT UINTN *TableLevel, in GetBlockEntryListFromAddress() argument
216 if (!(TableLevel && BlockEntrySize && LastBlockEntry)) { in GetBlockEntryListFromAddress()
338 *TableLevel = PageLevel; in GetBlockEntryListFromAddress()
365 UINTN TableLevel; in UpdateRegionMapping() local
377 …BlockEntry = GetBlockEntryListFromAddress (RootTable, RegionStart, &TableLevel, &BlockEntrySize, &… in UpdateRegionMapping()
383 if (TableLevel != 3) { in UpdateRegionMapping()
401 if (TableLevel != 3 && in UpdateRegionMapping()
/device/linaro/bootloader/edk2/ArmPkg/Drivers/CpuDxe/
DCpuDxe.h167 OUT UINTN *TableLevel,