Changeset a4fa007b in rtems
- Timestamp:
- 06/20/16 06:03:18 (7 years ago)
- Branches:
- 5, master
- Children:
- 40b80d86
- Parents:
- bc47ec1c
- git-author:
- Sebastian Huber <sebastian.huber@…> (06/20/16 06:03:18)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (06/20/16 06:11:16)
- Location:
- c/src/lib/libbsp/sparc/leon3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/sparc/leon3/amba/amba.c
rbc47ec1c ra4fa007b 16 16 #include <leon.h> 17 17 #include <ambapp.h> 18 #include <rtems/sysinit.h> 18 19 19 20 unsigned int leon3_timer_prescaler __attribute__((weak)) = 0; … … 86 87 */ 87 88 88 void amba_initialize(void)89 static void amba_initialize(void) 89 90 { 90 91 int icsel; … … 158 159 #endif 159 160 } 161 162 RTEMS_SYSINIT_ITEM( 163 amba_initialize, 164 RTEMS_SYSINIT_BSP_START, 165 RTEMS_SYSINIT_ORDER_FIRST 166 ); -
c/src/lib/libbsp/sparc/leon3/include/amba.h
rbc47ec1c ra4fa007b 42 42 extern struct ambapp_bus ambapp_plb; 43 43 44 void amba_initialize(void);45 46 44 #ifdef __cplusplus 47 45 } -
c/src/lib/libbsp/sparc/leon3/startup/bspstart.c
rbc47ec1c ra4fa007b 67 67 LEON3_Cpu_Index = _LEON3_Get_current_processor(); 68 68 69 /* Scan AMBA Plug&Play and parse it into a RAM description (ambapp_plb),70 * find GPTIMER for bus frequency, find IRQ Controller and initialize71 * interrupt support72 */73 amba_initialize();74 69 leon3_cpu_counter_initialize(); 75 70
Note: See TracChangeset
for help on using the changeset viewer.