Changeset 563c2dd in mainline
- Timestamp:
- 2007-03-29T19:26:16Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 879585a3
- Parents:
- 7e2432b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/tsb.c
r7e2432b r563c2dd 62 62 63 63 i0 = (page >> MMU_PAGE_WIDTH) & TSB_INDEX_MASK; 64 cnt = min(pages * MMU_PAGES_PER_PAGE, ITSB_ENTRY_COUNT); 64 if (pages == (count_t) -1 || (pages * 2) > ITSB_ENTRY_COUNT) 65 cnt = ITSB_ENTRY_COUNT; 66 else 67 cnt = pages * 2; 65 68 66 69 for (i = 0; i < cnt; i++) { … … 158 161 write_barrier(); 159 162 160 tsb->tag.invalid = true; /* mark the entry as valid */163 tsb->tag.invalid = false; /* mark the entry as valid */ 161 164 } 162 165
Note:
See TracChangeset
for help on using the changeset viewer.