* startup/bspstart.c: Update due to API changes.
This commit is contained in:
Sebastian Huber
2011-09-01 15:57:09 +00:00
parent e2d0c6833e
commit 900d9e66f8
2 changed files with 14 additions and 7 deletions

View File

@@ -1,3 +1,7 @@
2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/bspstart.c: Update due to API changes.
2011-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove *lib (Anachronism).

View File

@@ -16,16 +16,19 @@
* $Id$
*/
#include <string.h>
#include <sys/cdefs.h>
#include <rtems.h>
#include <rtems/score/nios2-utility.h>
#include <bsp.h>
/*
* bsp_start
*
* This routine does the bulk of the system initialization.
*/
void bsp_start( void )
{
__asm__ volatile (
".globl _Nios2_ISR_Status_mask\n"
".globl _Nios2_ISR_Status_bits\n"
".set _Nios2_ISR_Status_mask, " __XSTRING(NIOS2_ISR_STATUS_MASK_IIC) "\n"
".set _Nios2_ISR_Status_bits, " __XSTRING(NIOS2_ISR_STATUS_BITS_IIC)
);
}