Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/drivers/am335x/timer.c

    r63e27ef ra940f1d  
    3434 */
    3535
    36 #include <assert.h>
    3736#include <genarch/drivers/am335x/timer.h>
    3837#include <mm/km.h>
     
    9190        size_t size;
    9291
    93         assert(id < TIMERS_MAX);
    94         assert(timer != NULL);
     92        ASSERT(id < TIMERS_MAX);
     93        ASSERT(timer != NULL);
    9594
    9695        if (id == DMTIMER1_1MS)
     
    101100
    102101        timer->regs = (void *) km_map(base_addr, size, PAGE_NOT_CACHEABLE);
    103         assert(timer->regs != NULL);
     102        ASSERT(timer->regs != NULL);
    104103
    105104        timer->id = id;
Note: See TracChangeset for help on using the changeset viewer.