source: rtems/c/src/lib/libbsp/nios2/nios2_iss/startup/bspstart.c @ a4fea82

4.115
Last change on this file since a4fea82 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 982 bytes
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 <rtems.h>
20#include <rtems/score/nios2-utility.h>
21
22#include <bsp.h>
23
24void bsp_start( void )
25{
26  __asm__ volatile (
27    ".globl _Nios2_ISR_Status_mask\n"
28    ".globl _Nios2_ISR_Status_bits\n"
29    ".set _Nios2_ISR_Status_mask, " __XSTRING(NIOS2_ISR_STATUS_MASK_IIC) "\n"
30    ".set _Nios2_ISR_Status_bits, " __XSTRING(NIOS2_ISR_STATUS_BITS_IIC)
31  );
32}
Note: See TracBrowser for help on using the repository browser.