Changeset 53dc697 in rtems


Ignore:
Timestamp:
Jun 18, 2013, 2:42:25 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
dfb5805
Parents:
39c1534f
git-author:
Sebastian Huber <sebastian.huber@…> (06/18/13 14:42:25)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/24/13 08:54:00)
Message:

bsp/virtex: Delete BSP_ask_for_reset and BSP_panic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/virtex/startup/bspstart.c

    r39c1534f r53dc697  
    109109}
    110110
    111 void BSP_ask_for_reset(void)
    112 {
    113   printk("system stopped, press RESET");
    114   while(1) {};
    115 }
    116 
    117 void BSP_panic(char *s)
    118 {
    119   printk("%s PANIC %s\n",_RTEMS_version, s);
    120   BSP_ask_for_reset();
    121 }
    122 
    123111void _BSP_Fatal_error(unsigned int v)
    124112{
    125   printk("%s PANIC ERROR %x\n",_RTEMS_version, v);
    126   BSP_ask_for_reset();
     113  rtems_interrupt_level level;
     114
     115  rtems_interrupt_disable(level);
     116  (void) level;
     117
     118  while (true) {
     119    /* Do nothing */
     120  }
    127121}
Note: See TracChangeset for help on using the changeset viewer.