Changeset a1b9f63 in mainline for kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c
- Timestamp:
- 2018-08-31T10:32:40Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6bf5b8c
- Parents:
- b1834a01
- git-author:
- Jakub Jermar <jakub@…> (2018-08-31 09:54:11)
- git-committer:
- Jakub Jermar <jakub@…> (2018-08-31 10:32:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c
rb1834a01 ra1b9f63 103 103 /* Initialize interrupt controller */ 104 104 raspi.irc = (void *) km_map(BCM2835_IRC_ADDR, sizeof(bcm2835_irc_t), 105 PAGE_NOT_CACHEABLE);105 KM_NATURAL_ALIGNMENT, PAGE_NOT_CACHEABLE); 106 106 assert(raspi.irc); 107 107 bcm2835_irc_init(raspi.irc); … … 109 109 /* Initialize system timer */ 110 110 raspi.timer = (void *) km_map(BCM2835_TIMER_ADDR, 111 sizeof(bcm2835_timer_t), 112 PAGE_NOT_CACHEABLE); 111 sizeof(bcm2835_timer_t), KM_NATURAL_ALIGNMENT, PAGE_NOT_CACHEABLE); 113 112 } 114 113
Note:
See TracChangeset
for help on using the changeset viewer.