Changes in kernel/genarch/src/mm/asid.c [63e27ef:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/mm/asid.c
r63e27ef r9d58539 57 57 */ 58 58 59 #include <assert.h>60 59 #include <mm/asid.h> 61 60 #include <mm/as.h> … … 65 64 #include <synch/mutex.h> 66 65 #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.