4.115
Line | |
---|
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 |
---|
14 | * http://www.rtems.org/license/LICENSE. |
---|
15 | */ |
---|
16 | |
---|
17 | #include <sys/cdefs.h> |
---|
18 | |
---|
19 | #include <bsp.h> |
---|
20 | #include <rtems/score/nios2-utility.h> |
---|
21 | #include <bsp/bootcard.h> |
---|
22 | |
---|
23 | void bsp_start( void ) |
---|
24 | { |
---|
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 | ); |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.