4.115
Rev | Line | |
---|
[783669fc] | 1 | /* |
---|
| 2 | * This routine starts the application. It includes application, |
---|
| 3 | * board, and monitor specific initialization and configuration. |
---|
| 4 | * The generic CPU dependent initialization has been performed |
---|
| 5 | * before this routine is invoked. |
---|
| 6 | * |
---|
| 7 | * COPYRIGHT (c) 2005-2006 Kolja Waschk rtemsdev/ixo.de |
---|
| 8 | * Derived from no_cpu/no_bsp/startup/bspstart.c 1.23. |
---|
| 9 | * COPYRIGHT (c) 1989-1999. |
---|
| 10 | * On-Line Applications Research Corporation (OAR). |
---|
| 11 | * |
---|
| 12 | * The license and distribution terms for this file may be |
---|
| 13 | * found in the file LICENSE in this distribution or at |
---|
[c499856] | 14 | * http://www.rtems.org/license/LICENSE. |
---|
[783669fc] | 15 | */ |
---|
| 16 | |
---|
[900d9e66] | 17 | #include <sys/cdefs.h> |
---|
[783669fc] | 18 | |
---|
[900d9e66] | 19 | #include <bsp.h> |
---|
[ce5c3b3] | 20 | #include <rtems/score/nios2-utility.h> |
---|
| 21 | #include <bsp/bootcard.h> |
---|
[783669fc] | 22 | |
---|
| 23 | void bsp_start( void ) |
---|
| 24 | { |
---|
[900d9e66] | 25 | __asm__ volatile ( |
---|
| 26 | ".globl _Nios2_ISR_Status_mask\n" |
---|
| 27 | ".globl _Nios2_ISR_Status_bits\n" |
---|
| 28 | ".set _Nios2_ISR_Status_mask, " __XSTRING(NIOS2_ISR_STATUS_MASK_IIC) "\n" |
---|
| 29 | ".set _Nios2_ISR_Status_bits, " __XSTRING(NIOS2_ISR_STATUS_BITS_IIC) |
---|
| 30 | ); |
---|
[783669fc] | 31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.