Ignore:
Timestamp:
Sep 22, 2008, 9:49:27 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
d8a6431
Parents:
b23d895
Message:

2008-09-22 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac, console/uart.c, startup/bspstart.c: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants.
  • startup/bspclean.c: Removed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/rtl22xx/startup/bspstart.c

    rb23d895 r06ec900  
    1818 */
    1919extern void rtems_irq_mngt_init(void);
    20 void bsp_libc_init( void *, uint32_t, int );
    2120extern void  UART0_Ini(void);
    2221extern void printi(unsigned long);
     
    10099} /* bsp_start */
    101100
    102 
    103 /**
    104  *  Reset the system.
    105  *
    106  *  This functions enables the watchdog and waits for it to
    107  *  fire, thus resetting the system.
    108  */
    109 void bsp_reset(void)
    110 {
    111     rtems_interrupt_level level;
    112 
    113     rtems_interrupt_disable(level);
    114 
    115     while(1);
    116 }
    117 
    118101/*
    119102 *  By making this a weak alias for bsp_start_default, a brave soul
Note: See TracChangeset for help on using the changeset viewer.