Changeset 29b2bbf in mainline for kernel/arch/sparc64/src/mm/tlb.c
- Timestamp:
- 2006-09-18T22:10:20Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 19dba2b
- Parents:
- 57da95c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/tlb.c
r57da95c r29b2bbf 52 52 #include <arch/asm.h> 53 53 54 #ifdef CONFIG_TSB 55 #include <arch/mm/tsb.h> 56 #endif 57 54 58 static void dtlb_pte_copy(pte_t *t, bool ro); 55 59 static void itlb_pte_copy(pte_t *t); … … 145 149 } 146 150 151 /** Copy PTE to ITLB. 152 * 153 * @param t Page Table Entry to be copied. 154 */ 147 155 void itlb_pte_copy(pte_t *t) 148 156 { … … 190 198 t->a = true; 191 199 itlb_pte_copy(t); 200 #ifdef CONFIG_TSB 201 itsb_pte_copy(t); 202 #endif 192 203 page_table_unlock(AS, true); 193 204 } else { … … 234 245 t->a = true; 235 246 dtlb_pte_copy(t, true); 247 #ifdef CONFIG_TSB 248 dtsb_pte_copy(t, true); 249 #endif 236 250 page_table_unlock(AS, true); 237 251 } else { … … 267 281 dtlb_demap(TLB_DEMAP_PAGE, TLB_DEMAP_SECONDARY, va); 268 282 dtlb_pte_copy(t, false); 283 #ifdef CONFIG_TSB 284 dtsb_pte_copy(t, false); 285 #endif 269 286 page_table_unlock(AS, true); 270 287 } else {
Note:
See TracChangeset
for help on using the changeset viewer.