Changes in kernel/genarch/src/mm/asid.c [63e27ef:a35b458] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/mm/asid.c
r63e27ef ra35b458 84 84 * Check if there is an unallocated ASID. 85 85 */ 86 86 87 87 if (asids_allocated == ASIDS_ALLOCABLE) { 88 88 … … 91 91 * Resort to stealing. 92 92 */ 93 93 94 94 /* 95 95 * Remove the first item on the list. … … 100 100 assert(tmp != NULL); 101 101 list_remove(tmp); 102 102 103 103 as = list_get_instance(tmp, as_t, inactive_as_with_asid_link); 104 104 … … 115 115 */ 116 116 as->asid = ASID_INVALID; 117 117 118 118 /* 119 119 * If the architecture uses some software cache … … 122 122 */ 123 123 as_invalidate_translation_cache(as, 0, (size_t) -1); 124 124 125 125 /* 126 126 * Get the system rid of the stolen ASID. … … 146 146 tlb_shootdown_finalize(ipl); 147 147 } 148 148 149 149 return asid; 150 150 }
Note:
See TracChangeset
for help on using the changeset viewer.