Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:51

0001 /*
0002  *  This routine starts the application.  It includes application,
0003  *  board, and monitor specific initialization and configuration.
0004  *  The generic CPU dependent initialization has been performed
0005  *  before this routine is invoked.
0006  *
0007  *  COPYRIGHT (c) 2005-2006 Kolja Waschk rtemsdev/ixo.de
0008  *  Derived from no_cpu/no_bsp/startup/bspstart.c 1.23.
0009  *  COPYRIGHT (c) 1989-1999.
0010  *  On-Line Applications Research Corporation (OAR).
0011  *
0012  *  The license and distribution terms for this file may be
0013  *  found in the file LICENSE in this distribution or at
0014  *  http://www.rtems.org/license/LICENSE.
0015  */
0016 
0017 #include <sys/cdefs.h>
0018 
0019 #include <bsp.h>
0020 #include <rtems/score/nios2-utility.h>
0021 #include <bsp/bootcard.h>
0022 
0023 void bsp_start( void )
0024 {
0025   __asm__ volatile (
0026     ".globl _Nios2_ISR_Status_mask\n"
0027     ".globl _Nios2_ISR_Status_bits\n"
0028     ".set _Nios2_ISR_Status_mask, " __XSTRING(NIOS2_ISR_STATUS_MASK_IIC) "\n"
0029     ".set _Nios2_ISR_Status_bits, " __XSTRING(NIOS2_ISR_STATUS_BITS_IIC)
0030   );
0031 }