Changeset 40b80d86 in rtems
- Timestamp:
- 06/20/16 06:16:54 (7 years ago)
- Branches:
- 5, master
- Children:
- 3e2a3c4
- Parents:
- a4fa007b
- git-author:
- Sebastian Huber <sebastian.huber@…> (06/20/16 06:16:54)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (06/20/16 06:18:39)
- Location:
- c/src/lib/libbsp/sparc/leon3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/sparc/leon3/console/printk_support.c
ra4fa007b r40b80d86 19 19 #include <leon.h> 20 20 #include <rtems/libio.h> 21 #include <rtems/sysinit.h> 21 22 #include <stdlib.h> 22 23 #include <assert.h> … … 39 40 * for a debug APBUART and enable RX/TX for that UART. 40 41 */ 41 void bsp_debug_uart_init(void)42 static void bsp_debug_uart_init(void) 42 43 { 43 44 int i; … … 77 78 } 78 79 80 RTEMS_SYSINIT_ITEM( 81 bsp_debug_uart_init, 82 RTEMS_SYSINIT_BSP_START, 83 RTEMS_SYSINIT_ORDER_THIRD 84 ); 85 79 86 /* putchar/getchar for printk */ 80 87 static void bsp_out_char(char c) -
c/src/lib/libbsp/sparc/leon3/include/leon.h
ra4fa007b r40b80d86 393 393 void leon3_ext_irq_init(void); 394 394 395 void bsp_debug_uart_init(void);396 397 395 void leon3_power_down_loop(void) RTEMS_NO_RETURN; 398 396 -
c/src/lib/libbsp/sparc/leon3/startup/bspstart.c
ra4fa007b r40b80d86 19 19 #include <bsp.h> 20 20 #include <leon.h> 21 #include <rtems/bspIo.h>22 21 #include <bsp/bootcard.h> 23 22 … … 68 67 69 68 leon3_cpu_counter_initialize(); 70 71 /* find debug UART for printk() */72 bsp_debug_uart_init();73 69 }
Note: See TracChangeset
for help on using the changeset viewer.