forked from Imagelibrary/rtems
2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/bspstart.c: Update due to API changes.
This commit is contained in:
@@ -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>
|
2011-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* bsp_specs: Remove *lib (Anachronism).
|
* bsp_specs: Remove *lib (Anachronism).
|
||||||
|
|||||||
@@ -16,16 +16,19 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
|
#include <rtems.h>
|
||||||
|
#include <rtems/score/nios2-utility.h>
|
||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
|
|
||||||
/*
|
|
||||||
* bsp_start
|
|
||||||
*
|
|
||||||
* This routine does the bulk of the system initialization.
|
|
||||||
*/
|
|
||||||
|
|
||||||
void bsp_start( void )
|
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)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user