Changeset 5734337 in rtems


Ignore:
Timestamp:
Sep 22, 2008, 9:50:25 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
87a38dd
Parents:
be10c5e
Message:

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

  • Makefile.am, README.booting, include/bsp.h, startup/bspclean.c, vectors/exceptionhandler.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/bspreset.c: New file.
  • startup/reboot.c: Removed.
Location:
c/src/lib/libbsp/powerpc/mvme5500
Files:
6 edited
1 moved

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mvme5500/ChangeLog

    rbe10c5e r5734337  
     12008-09-22      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile.am, README.booting, include/bsp.h, startup/bspclean.c,
     4        vectors/exceptionhandler.c: Use standardized bsp_cleanup() which can
     5        optionally print a message, poll for user to press key, and call
     6        bsp_reset(). Using this eliminates the various bsp_cleanup()
     7        implementations which had their own implementation and variety of
     8        string constants.
     9        * startup/bspreset.c: New file.
     10        * startup/reboot.c: Removed.
     11
    1122008-09-21      Joel Sherrill <joel.sherrill@OARcorp.com>
    213
  • c/src/lib/libbsp/powerpc/mvme5500/Makefile.am

    rbe10c5e r5734337  
    3737    ../../shared/bsppredriverhook.c startup/bspclean.c \
    3838    ../../shared/bsplibc.c ../../shared/bsppost.c \
    39     ../../shared/gnatinstallhandler.c startup/reboot.c
     39    ../../shared/gnatinstallhandler.c startup/bspreset.c
    4040pclock_SOURCES = ../../powerpc/shared/clock/p_clock.c
    4141
  • c/src/lib/libbsp/powerpc/mvme5500/README.booting

    rbe10c5e r5734337  
    4343
    44446) To reboot the RTEMS-MVME5500 (board reset), one can invoke the
    45    rtemsReboot() command at Cexp> prompt.
     45   bsp_reset() command at Cexp> prompt.
    4646 
    47477) Please reference http://www.slac.stanford.edu/~strauman/rtems
  • c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h

    rbe10c5e r5734337  
    107107
    108108extern void BSP_panic(char *s);
    109 extern void rtemsReboot(void);
    110109/* extern int printk(const char *, ...) __attribute__((format(printf, 1, 2))); */
    111110extern int BSP_disconnect_clock_handler (void);
  • c/src/lib/libbsp/powerpc/mvme5500/startup/bspclean.c

    rbe10c5e r5734337  
    11#include <bsp.h>
     2#include <bsp/bootcard.h>
    23#include <rtems/bspIo.h>
    34#include <libcpu/stackTrace.h>
     
    910#if AUTO_BOOT
    1011  /* Till Straumann <strauman@slac.stanford.edu> for SVGM */
    11   void rtemsReboot();
    12 
    13   rtemsReboot();
     12  bsp_reset();
    1413#else
    1514  /* Kate Feng <feng1@bnl.gov> for the MVME5500 */
  • c/src/lib/libbsp/powerpc/mvme5500/startup/bspreset.c

    rbe10c5e r5734337  
    55#include <libcpu/stackTrace.h>
    66
    7 void rtemsReboot()
     7void bsp_reset()
    88{
    99
  • c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c

    rbe10c5e r5734337  
    6363extern void
    6464BSP_printStackTrace(BSP_Exception_frame* excPtr);
    65 
    66 
    67 extern void
    68 rtemsReboot(void);
    6965
    7066static volatile BSP_ExceptionExtension  BSP_exceptionExtension = 0;
     
    237233                } else {
    238234                        printk("PANIC, rebooting...\n");
    239                         rtemsReboot();
     235                        bsp_reset();
    240236                }
    241237    }
Note: See TracChangeset for help on using the changeset viewer.