Changeset 95c675b in mainline for kernel/genarch/src/drivers/am335x/timer.c
- Timestamp:
- 2017-10-17T13:11:35Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 60af4cdb
- Parents:
- dbf32b1 (diff), a416d070 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
kernel/genarch/src/drivers/am335x/timer.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/am335x/timer.c
rdbf32b1 r95c675b 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.
