Changes in kernel/genarch/src/mm/asid.c [9d58539:63e27ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/mm/asid.c
r9d58539 r63e27ef 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.