Changeset 95c675b in mainline for kernel/genarch/src/mm/asid.c
- Timestamp:
- 2017-10-17T13:11:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 60af4cdb
- Parents:
- dbf32b1 (diff), a416d070 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified kernel/genarch/src/mm/asid.c ¶
rdbf32b1 r95c675b 57 57 */ 58 58 59 #include <assert.h> 59 60 #include <mm/asid.h> 60 61 #include <mm/as.h> … … 64 65 #include <synch/mutex.h> 65 66 #include <adt/list.h> 66 #include <debug.h>67 67 68 68 static size_t asids_allocated = 0; … … 78 78 as_t *as; 79 79 80 ASSERT(interrupts_disabled());81 ASSERT(spinlock_locked(&asidlock));80 assert(interrupts_disabled()); 81 assert(spinlock_locked(&asidlock)); 82 82 83 83 /* … … 98 98 */ 99 99 tmp = list_first(&inactive_as_with_asid_list); 100 ASSERT(tmp != NULL);100 assert(tmp != NULL); 101 101 list_remove(tmp); 102 102 … … 108 108 */ 109 109 asid = as->asid; 110 ASSERT(asid != ASID_INVALID);110 assert(asid != ASID_INVALID); 111 111 112 112 /*
Note:
See TracChangeset
for help on using the changeset viewer.