Changeset 900d9e66 in rtems


Ignore:
Timestamp:
Sep 1, 2011, 3:57:09 PM (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
ac9d2ecc
Parents:
e2d0c68
Message:

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

  • startup/bspstart.c: Update due to API changes.
Location:
c/src/lib/libbsp/nios2/nios2_iss
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/nios2/nios2_iss/ChangeLog

    re2d0c68 r900d9e66  
     12011-09-01      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * startup/bspstart.c: Update due to API changes.
     4
    152011-07-29      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • c/src/lib/libbsp/nios2/nios2_iss/startup/bspstart.c

    re2d0c68 r900d9e66  
    1717 */
    1818
    19 #include <string.h>
     19#include <sys/cdefs.h>
     20
     21#include <rtems.h>
     22#include <rtems/score/nios2-utility.h>
    2023
    2124#include <bsp.h>
    2225
    23 /*
    24  *  bsp_start
    25  *
    26  *  This routine does the bulk of the system initialization.
    27  */
    28 
    2926void bsp_start( void )
    3027{
     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  );
    3134}
Note: See TracChangeset for help on using the changeset viewer.