Changeset a35b458 in mainline for kernel/genarch/src/mm/asid.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/mm/asid.c
r3061bc1 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.