Changes in kernel/genarch/src/drivers/am335x/timer.c [63e27ef:a940f1d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/am335x/timer.c
r63e27ef ra940f1d 34 34 */ 35 35 36 #include <assert.h>37 36 #include <genarch/drivers/am335x/timer.h> 38 37 #include <mm/km.h> … … 91 90 size_t size; 92 91 93 assert(id < TIMERS_MAX);94 assert(timer != NULL);92 ASSERT(id < TIMERS_MAX); 93 ASSERT(timer != NULL); 95 94 96 95 if (id == DMTIMER1_1MS) … … 101 100 102 101 timer->regs = (void *) km_map(base_addr, size, PAGE_NOT_CACHEABLE); 103 assert(timer->regs != NULL);102 ASSERT(timer->regs != NULL); 104 103 105 104 timer->id = id;
Note:
See TracChangeset
for help on using the changeset viewer.