Changeset 98000fb in mainline for kernel/arch/sparc64/src/mm/tlb.c
- Timestamp:
- 2009-06-03T19:34:45Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 301ff30
- Parents:
- 69e68e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/tlb.c
r69e68e3 r98000fb 55 55 #endif 56 56 57 static void dtlb_pte_copy(pte_t *, index_t, bool);58 static void itlb_pte_copy(pte_t *, index_t);57 static void dtlb_pte_copy(pte_t *, size_t, bool); 58 static void itlb_pte_copy(pte_t *, size_t); 59 59 static void do_fast_instruction_access_mmu_miss_fault(istate_t *, const char *); 60 60 static void do_fast_data_access_mmu_miss_fault(istate_t *, tlb_tag_access_reg_t, … … 131 131 * of its w field. 132 132 */ 133 void dtlb_pte_copy(pte_t *t, index_t index, bool ro)133 void dtlb_pte_copy(pte_t *t, size_t index, bool ro) 134 134 { 135 135 tlb_tag_access_reg_t tag; … … 168 168 * @param index Zero if lower 8K-subpage, one if higher 8K-subpage. 169 169 */ 170 void itlb_pte_copy(pte_t *t, index_t index)170 void itlb_pte_copy(pte_t *t, size_t index) 171 171 { 172 172 tlb_tag_access_reg_t tag; … … 201 201 { 202 202 uintptr_t page_16k = ALIGN_DOWN(istate->tpc, PAGE_SIZE); 203 index_t index = (istate->tpc >> MMU_PAGE_WIDTH) % MMU_PAGES_PER_PAGE;203 size_t index = (istate->tpc >> MMU_PAGE_WIDTH) % MMU_PAGES_PER_PAGE; 204 204 pte_t *t; 205 205 … … 246 246 uintptr_t page_8k; 247 247 uintptr_t page_16k; 248 index_t index;248 size_t index; 249 249 pte_t *t; 250 250 … … 310 310 { 311 311 uintptr_t page_16k; 312 index_t index;312 size_t index; 313 313 pte_t *t; 314 314 … … 580 580 * @param cnt Number of ITLB and DTLB entries to invalidate. 581 581 */ 582 void tlb_invalidate_pages(asid_t asid, uintptr_t page, count_t cnt)582 void tlb_invalidate_pages(asid_t asid, uintptr_t page, size_t cnt) 583 583 { 584 584 unsigned int i;
Note:
See TracChangeset
for help on using the changeset viewer.