Changeset e667a0b in rtems


Ignore:
Timestamp:
Mar 21, 1997, 7:17:46 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
691259b
Parents:
51c9fb4
Message:

Rewrote to avoid references to C symbols from assembly. This entirely
circumvents the problem of leading underscores.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i960/cvme961/startup/bspclean.c

    r51c9fb4 re667a0b  
    2121void bsp_cleanup( void )
    2222{
    23   asm volatile( "mov   0,g0; \
    24                  fmark ; \
    25                  syncf ; \
    26                  .word    0xfeedface ; \
    27                  bx       start" : : );
     23  extern void start( void  );
     24
     25  register volatile void *start_addr = 0;
     26
     27  asm volatile( "mov   0,g0;"
     28                "fmark ;"
     29                "syncf ;"
     30                ".word    0xfeedface ; "
     31                "bx       (%0)" : "=r" (start_addr) : "0" (start_addr) );
    2832 /*  The constant 0xfeedface is a magic word for break which
    2933  *  is defined by NINDY.  The branch extended restarts the
Note: See TracChangeset for help on using the changeset viewer.