Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/mm/asid.c

    r63e27ef r9d58539  
    5757 */
    5858
    59 #include <assert.h>
    6059#include <mm/asid.h>
    6160#include <mm/as.h>
     
    6564#include <synch/mutex.h>
    6665#include <adt/list.h>
     66#include <debug.h>
    6767
    6868static size_t asids_allocated = 0;
     
    7878        as_t *as;
    7979
    80         assert(interrupts_disabled());
    81         assert(spinlock_locked(&asidlock));
     80        ASSERT(interrupts_disabled());
     81        ASSERT(spinlock_locked(&asidlock));
    8282
    8383        /*
     
    9898                 */
    9999                tmp = list_first(&inactive_as_with_asid_list);
    100                 assert(tmp != NULL);
     100                ASSERT(tmp != NULL);
    101101                list_remove(tmp);
    102102               
     
    108108                 */
    109109                asid = as->asid;
    110                 assert(asid != ASID_INVALID);
     110                ASSERT(asid != ASID_INVALID);
    111111
    112112                /*
Note: See TracChangeset for help on using the changeset viewer.