Changeset a829a5b in mainline
- Timestamp:
- 2012-09-23T21:50:32Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0fb70e1, d216142
- Parents:
- 21aab25
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mach/beaglebone/beaglebone.c
r21aab25 ra829a5b 35 35 #include <arch/exception.h> 36 36 #include <arch/mach/beaglebone/beaglebone.h> 37 #include <genarch/drivers/am335x_irc/am335x_irc.h> 37 38 #include <interrupt.h> 38 39 #include <ddi/ddi.h> 39 40 #include <ddi/device.h> 41 #include <mm/km.h> 40 42 41 43 static void bbone_init(void); … … 49 51 static size_t bbone_get_irq_count(void); 50 52 static const char *bbone_get_platform_name(void); 53 54 static struct beaglebone { 55 am335x_irc_regs_t *irc_addr; 56 } bbone; 51 57 52 58 struct arm_machine_ops bbone_machine_ops = { … … 65 71 static void bbone_init(void) 66 72 { 73 /* Initialize the interrupt controller */ 74 bbone.irc_addr = (void *) km_map(AM335x_IRC_BASE_ADDRESS, 75 AM335x_IRC_SIZE, PAGE_NOT_CACHEABLE); 76 77 am335x_irc_init(bbone.irc_addr); 67 78 } 68 79
Note:
See TracChangeset
for help on using the changeset viewer.