Searched refs:l1_index (Results 1 – 2 of 2) sorted by relevance
377 tt_entry = aspace->tt_virt[ROUNDDOWN(l1_index, L1E_PER_PAGE) + i]; in get_l2_table()381 + (PAGE_SIZE / L1E_PER_PAGE) * (l1_index & (L1E_PER_PAGE-1)); in get_l2_table()402 *ppa = pa + (PAGE_SIZE / L1E_PER_PAGE) * (l1_index & (L1E_PER_PAGE-1)); in get_l2_table()409 static void put_l2_table(arch_aspace_t *aspace, uint32_t l1_index, paddr_t l2_pa) { in put_l2_table() argument524 uint l1_index = vaddr / SECTION_SIZE; in arch_mmu_map() local525 uint32_t tt_entry = aspace->tt_virt[l1_index]; in arch_mmu_map()535 if (get_l2_table(aspace, l1_index, &l2_pa) != NO_ERROR) { in arch_mmu_map()543 aspace->tt_virt[l1_index] = tt_entry; in arch_mmu_map()595 uint l1_index = vaddr / SECTION_SIZE; in arch_mmu_unmap() local596 uint32_t tt_entry = aspace->tt_virt[l1_index]; in arch_mmu_unmap()[all …]
135 uint l1_index; in arch_mmu_map() local155 l1_index = vaddr / SECTION_SIZE; in arch_mmu_map()157 …or1k_kernel_translation_table[l1_index] = (paddr & ~(SECTION_SIZE-1)) | arch_flags | OR1K_MMU_PG_P… in arch_mmu_map()167 pte = or1k_kernel_translation_table[l1_index]; in arch_mmu_map()186 or1k_kernel_translation_table[l1_index] = l2_pa | arch_flags | OR1K_MMU_PG_PRESENT; in arch_mmu_map()
Completed in 4 milliseconds