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

4.115
Last change on this file since 900d9e66 was 900d9e66, checked in by Sebastian Huber <sebastian.huber@…>, on 09/01/11 at 15:57:09

2011-09-01 Sebastian Huber <sebastian.huber@…>

  • startup/bspstart.c: Update due to API changes.
  • Property mode set to 100644
File size: 994 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.com/license/LICENSE.
15 *
16 *  $Id$
17 */
18
19#include <sys/cdefs.h>
20
21#include <rtems.h>
22#include <rtems/score/nios2-utility.h>
23
24#include <bsp.h>
25
26void bsp_start( void )
27{
28  __asm__ volatile (
29    ".globl _Nios2_ISR_Status_mask\n"
30    ".globl _Nios2_ISR_Status_bits\n"
31    ".set _Nios2_ISR_Status_mask, " __XSTRING(NIOS2_ISR_STATUS_MASK_IIC) "\n"
32    ".set _Nios2_ISR_Status_bits, " __XSTRING(NIOS2_ISR_STATUS_BITS_IIC)
33  );
34}
Note: See TracBrowser for help on using the repository browser.