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