Changes in kernel/arch/arm32/src/mm/tlb.c [f834cc32:bb75646] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mm/tlb.c
rf834cc32 rbb75646 79 79 static inline void invalidate_page(uintptr_t page) 80 80 { 81 #if defined(PROCESSOR_ARCH_armv6) || defined(PROCESSOR_ARCH_armv7_a) 82 if (TLBTR_read() & TLBTR_SEP_FLAG) { 83 ITLBIMVA_write(page); 84 DTLBIMVA_write(page); 85 } else { 86 TLBIMVA_write(page); 87 } 88 #elif defined(PROCESSOR_arm920t) 89 ITLBIMVA_write(page); 90 DTLBIMVA_write(page); 91 #elif defined(PROCESSOR_arm926ej_s) 81 //TODO: What about TLBIMVAA? 92 82 TLBIMVA_write(page); 93 #else94 #error Unknown TLB type95 #endif96 97 83 /* 98 84 * "A TLB maintenance operation is only guaranteed to be complete after
Note:
See TracChangeset
for help on using the changeset viewer.