Changeset 1c193a2 in rtems


Ignore:
Timestamp:
Nov 21, 2017, 10:43:13 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
07d96453
Parents:
15e19273
git-author:
Sebastian Huber <sebastian.huber@…> (11/21/17 10:43:13)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/22/17 08:40:23)
Message:

powerpc: Replace BSP_panic() with rtems_panic()

Due to a new rtems_panic() implementation, it is possible to replace the
PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic()
implementations.

Close #3245.

Files:
47 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/beatnik/include/bsp.h

    r15e19273 r1c193a2  
    5353 *
    5454 * If a non-zero argument is passed, the routine panics
    55  * (BSP_panic) if no recognized bridge is found;
     55 * (rtems_panic) if no recognized bridge is found;
    5656 */
    5757DiscoveryVersion BSP_getDiscoveryVersion(int assertion);
     
    234234
    235235extern rtems_configuration_table  BSP_Configuration;
    236 extern void BSP_panic(char *s);
    237236extern void bsp_reset(void);
    238237extern int BSP_disconnect_clock_handler (void);
  • c/src/lib/libbsp/powerpc/beatnik/irq/discovery_pic.c

    r15e19273 r1c193a2  
    555555
    556556                default:
    557                         BSP_panic("Unable to initialize interrupt controller; unknown chip");
     557                        rtems_panic("Unable to initialize interrupt controller; unknown chip");
    558558                break;
    559559        }
  • c/src/lib/libbsp/powerpc/beatnik/irq/irq_init.c

    r15e19273 r1c193a2  
    101101                 * put something here that will show the failure...
    102102                 */
    103                 BSP_panic("Unable to initialize RTEMS interrupt Management!!! System locked\n");
     103                rtems_panic("Unable to initialize RTEMS interrupt Management!!! System locked\n");
    104104        }
    105105
  • c/src/lib/libbsp/powerpc/beatnik/marvell/discovery.c

    r15e19273 r1c193a2  
    113113                        if ( assertion ) {
    114114                                printk("Host bridge vendor id: 0x%04x\n",ds);
    115                                 BSP_panic("Host bridge vendor @ pci(0,0,0) is not MARVELL");
     115                                rtems_panic("Host bridge vendor @ pci(0,0,0) is not MARVELL");
    116116                        }
    117117                        else return unknown;
     
    141141                                                        ds, dc,
    142142                                                        __FILE__,__LINE__);
    143                                         BSP_panic("Unknown Marvell bridge or revision@ pci(0,0,0) is not MARVELL");
     143                                        rtems_panic("Unknown Marvell bridge or revision@ pci(0,0,0) is not MARVELL");
    144144                                }
    145145                        break;
  • c/src/lib/libbsp/powerpc/beatnik/pci/gt_pci_init.c

    r15e19273 r1c193a2  
    194194        /* check for overflow of an unsigned char */
    195195        if ( BSP_pci_hose1_bus_base + pci_bus_count() > 255 ) {
    196                 BSP_panic("Too many PCI busses in the system");
     196                rtems_panic("Too many PCI busses in the system");
    197197        }
    198198        /* readjust total number */
  • c/src/lib/libbsp/powerpc/beatnik/pci/motload_fixup.c

    r15e19273 r1c193a2  
    164164
    165165                default:
    166                         BSP_panic("Unknown discovery version; switch in file: "__FILE__" not implemented (yet)");
     166                        rtems_panic("Unknown discovery version; switch in file: "__FILE__" not implemented (yet)");
    167167                break; /* never get here */
    168168        }
  • c/src/lib/libbsp/powerpc/beatnik/pci/pci_io_remap.c

    r15e19273 r1c193a2  
    8585
    8686  if ( offset & ((1<<12)-1) ) {
    87     BSP_panic("rtems_pci_io_remap(): offset must be 4k aligned");
     87    rtems_panic("rtems_pci_io_remap(): offset must be 4k aligned");
    8888    return -1;
    8989  }
     
    115115          default:
    116116            printk("PCI header type %i (@%i/%i/%i)\n", b, bus, dev, fun);
    117             BSP_panic("rtems_pci_io_remap(): unknown PCI header type");
     117            rtems_panic("rtems_pci_io_remap(): unknown PCI header type");
    118118          return -1; /* keep compiler happy */
    119119
    120120          case PCI_HEADER_TYPE_CARDBUS:
    121121            printk("PCI header type %i (@%i/%i/%i)\n", b, bus, dev, fun);
    122             BSP_panic("rtems_pci_io_remap():  don't know how to deal with Cardbus bridge");
     122            rtems_panic("rtems_pci_io_remap():  don't know how to deal with Cardbus bridge");
    123123          return -1;
    124124
     
    168168            default:
    169169              printk("Unknown IO range type 0x%x (@%i/%i/%i)\n", b, bus, dev, fun);
    170               BSP_panic("rtems_pci_io_remap(): unknown IO range type");
     170              rtems_panic("rtems_pci_io_remap(): unknown IO range type");
    171171            return -1;
    172172
  • c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c

    r15e19273 r1c193a2  
    113113uint32_t bsp_clicks_per_usec;
    114114
    115 void BSP_panic(char *s)
    116 {
    117   printk("%s PANIC %s\n",_RTEMS_version, s);
    118   __asm__ __volatile ("sc");
    119 }
    120 
    121115void _BSP_Fatal_error(unsigned int v)
    122116{
  • c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c

    r15e19273 r1c193a2  
    5050
    5151  return 0;
    52 }
    53 
    54 void BSP_panic(char *s)
    55 {
    56   rtems_interrupt_level level;
    57 
    58   rtems_interrupt_disable(level);
    59   (void) level;
    60 
    61   printk("%s PANIC %s\n", rtems_get_version_string(), s);
    62 
    63   while (1) {
    64     /* Do nothing */
    65   }
    6652}
    6753
     
    146132  sc = ppc_exc_set_handler( ASM_DEC_VECTOR, mpc83xx_decrementer_exception_handler);
    147133  if (sc != RTEMS_SUCCESSFUL) {
    148     BSP_panic("cannot install decrementer exception handler");
     134    rtems_panic("cannot install decrementer exception handler");
    149135  }
    150136
  • c/src/lib/libbsp/powerpc/haleakala/irq/irq_init.c

    r15e19273 r1c193a2  
    8686     * put something here that will show the failure...
    8787     */
    88     BSP_panic(
     88    rtems_panic(
    8989      "Unable to initialize RTEMS interrupt management!!! System locked\n"
    9090    );
  • c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c

    r15e19273 r1c193a2  
    208208}
    209209
    210 void BSP_panic(char *s)
    211 {
    212   printk("%s PANIC %s\n",_RTEMS_version, s);
    213   BSP_ask_for_reset();
    214 }
    215 
    216210void _BSP_Fatal_error(unsigned int v)
    217211{
  • c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h

    r15e19273 r1c193a2  
    207207  ((unsigned long long) ((((unsigned long long)BSP_time_base_divisor) * 1000000ULL) /((unsigned long long) BSP_bus_frequency)) * ((unsigned long long) (_value)))
    208208
    209 extern void BSP_panic(char *s);
    210209/* extern int printk(const char *, ...) __attribute__((format(printf, 1, 2))); */
    211210extern int BSP_disconnect_clock_handler (void);
  • c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c

    r15e19273 r1c193a2  
    104104}
    105105
    106 void BSP_panic(char *s)
    107 {
    108   _BSP_GPLED1_on();
    109   printk("%s PANIC %s\n",_RTEMS_version, s);
    110   __asm__ __volatile ("sc");
    111 }
    112 
    113106void _BSP_Fatal_error(unsigned int v)
    114107{
  • c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h

    r15e19273 r1c193a2  
    292292
    293293extern rtems_configuration_table  BSP_Configuration;
    294 extern void BSP_panic(char *s);
    295294/* extern int printk(const char *, ...) __attribute__((format(printf, 1, 2))); */
    296295extern int BSP_disconnect_clock_handler (void);
  • c/src/lib/libbsp/powerpc/mvme3100/irq/irq_init.c

    r15e19273 r1c193a2  
    134134                 * put something here that will show the failure...
    135135                 */
    136                 BSP_panic("Unable to initialize RTEMS interrupt Management!!! System locked\n");
     136                rtems_panic("Unable to initialize RTEMS interrupt Management!!! System locked\n");
    137137        }
    138138}
  • c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c

    r15e19273 r1c193a2  
    106106BSP_polling_getchar_function_type BSP_poll_char = NULL;
    107107
    108 void BSP_panic(char *s)
    109 {
    110   printk("\n%s PANIC %s\n",_RTEMS_version, s);
    111   __asm__ __volatile ("sc");
    112 }
    113 
    114108void _BSP_Fatal_error(unsigned int v)
    115109{
     
    187181
    188182    default:
    189       BSP_panic("Unknown PLL sys-clock ratio; something's wrong here");
     183      rtems_panic("Unknown PLL sys-clock ratio; something's wrong here");
    190184  }
    191185
     
    196190
    197191    default:
    198       BSP_panic("Unknown PLL e500-clock ratio; something's wrong here");
     192      rtems_panic("Unknown PLL e500-clock ratio; something's wrong here");
    199193  }
    200194
  • c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h

    r15e19273 r1c193a2  
    137137  ((unsigned long long) ((((unsigned long long)BSP_time_base_divisor) * 1000000ULL) /((unsigned long long) BSP_bus_frequency)) * ((unsigned long long) (_value)))
    138138
    139 extern void BSP_panic(char *s);
    140139extern void bsp_reset(void);
    141140/* extern int printk(const char *, ...) __attribute__((format(printf, 1, 2))); */
  • c/src/lib/libbsp/powerpc/mvme5500/irq/irq_init.c

    r15e19273 r1c193a2  
    137137       * put something here that will show the failure...
    138138       */
    139       BSP_panic("Unable to initialize RTEMS interrupt Management!!! System locked\n");
     139      rtems_panic("Unable to initialize RTEMS interrupt Management!!! System locked\n");
    140140  }
    141141#ifdef TRACE_IRQ_INIT
  • c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c

    r15e19273 r1c193a2  
    255255
    256256      if (++numPCIDevs > PCI_MAX_DEVICES) {
    257          BSP_panic("Too many PCI devices found; increase PCI_MAX_DEVICES in pci.h\n");
     257         rtems_panic("Too many PCI devices found; increase PCI_MAX_DEVICES in pci.h\n");
    258258      }
    259259
  • c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c

    r15e19273 r1c193a2  
    111111static char cmdline_buf[CMDLINE_BUF_SIZE];
    112112char *BSP_commandline_string = cmdline_buf;
    113 
    114 void BSP_panic(char *s)
    115 {
    116   printk("%s PANIC %s\n",_RTEMS_version, s);
    117   __asm__ __volatile ("sc");
    118 }
    119113
    120114void _BSP_Fatal_error(unsigned int v)
  • c/src/lib/libbsp/powerpc/psim/irq/irq_init.c

    r15e19273 r1c193a2  
    8181     * put something here that will show the failure...
    8282     */
    83     BSP_panic(
     83    rtems_panic(
    8484      "Unable to initialize RTEMS interrupt Management!!! System locked\n"
    8585    );
     
    9696)
    9797{
    98   BSP_panic("Unexpected interrupt occured");
     98  rtems_panic("Unexpected interrupt occured");
    9999  return 0;
    100100}
  • c/src/lib/libbsp/powerpc/psim/startup/bspstart.c

    r15e19273 r1c193a2  
    6161extern unsigned long __rtems_end[];
    6262
    63 void BSP_panic(char *s)
    64 {
    65   printk("%s PANIC %s\n",_RTEMS_version, s);
    66   __asm__ __volatile ("sc");
    67 }
    68 
    6963void _BSP_Fatal_error(unsigned int v)
    7064{
  • c/src/lib/libbsp/powerpc/qemuppc/irq/irq_init.c

    r15e19273 r1c193a2  
    3232)
    3333{
    34   BSP_panic("Unexpected interrupt occured");
     34  rtems_panic("Unexpected interrupt occured");
    3535  return 0;
    3636}
  • c/src/lib/libbsp/powerpc/qemuppc/startup/bsppanic.c

    r15e19273 r1c193a2  
    88}
    99
    10 void BSP_panic(char *s)
    11 {
    12   printk("%s PANIC %s\n",_RTEMS_version, s);
    13   __outb (0x92, 0x01);
    14 }
    15 
    1610void _BSP_Fatal_error(unsigned int v)
    1711{
  • c/src/lib/libbsp/powerpc/qemuppc/startup/bspstart.c

    r15e19273 r1c193a2  
    100100  sc = ppc_exc_set_handler( ASM_DEC_VECTOR, default_decrementer_exception_handler);
    101101  if (sc != RTEMS_SUCCESSFUL) {
    102     BSP_panic("cannot install decrementer exception handler");
     102    rtems_panic("cannot install decrementer exception handler");
    103103  }
    104104
  • c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c

    r15e19273 r1c193a2  
    5252
    5353uint32_t qoriq_clock_frequency;
    54 
    55 void BSP_panic(char *s)
    56 {
    57   rtems_interrupt_level level;
    58 
    59   rtems_interrupt_local_disable(level);
    60   (void) level;
    61 
    62   printk("%s PANIC %s\n", rtems_get_version_string(), s);
    63 
    64   while (1) {
    65     /* Do nothing */
    66   }
    67 }
    6854
    6955void _BSP_Fatal_error(unsigned n)
  • c/src/lib/libbsp/powerpc/shared/irq/irq_init.c

    r15e19273 r1c193a2  
    209209  }
    210210loop_exit:
    211   if (!found) BSP_panic("VIA_82C586 PCI/ISA bridge not found!n");
     211  if (!found) rtems_panic("VIA_82C586 PCI/ISA bridge not found!n");
    212212
    213213  tmp = inb(0x810);
     
    356356       * put something here that will show the failure...
    357357       */
    358       BSP_panic("Unable to initialize RTEMS interrupt Management!!! System locked\n");
     358      rtems_panic("Unable to initialize RTEMS interrupt Management!!! System locked\n");
    359359    }
    360360
  • c/src/lib/libbsp/powerpc/shared/irq/openpic_i8259_irq.c

    r15e19273 r1c193a2  
    264264#endif
    265265#else
    266         BSP_panic("MUST have an OpenPIC if BSP has PCI IRQs but no ISA IRQs");
    267         /* BSP_panic() never returns but the 'return' statement silences
     266        rtems_panic("MUST have an OpenPIC if BSP has PCI IRQs but no ISA IRQs");
     267        /* rtems_panic() never returns but the 'return' statement silences
    268268         * a compiler warning about 'irq' possibly being used w/o initialization.
    269269         */
  • c/src/lib/libbsp/powerpc/shared/openpic/openpic.c

    r15e19273 r1c193a2  
    179179
    180180    if (!OpenPIC)
    181         BSP_panic("No OpenPIC found");
     181        rtems_panic("No OpenPIC found");
    182182
    183183    t = openpic_read(&OpenPIC->Global.Feature_Reporting0);
  • c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c

    r15e19273 r1c193a2  
    189189#if BSP_PCI_IRQ_NUMBER > 0
    190190  if (OpenPIC == (volatile struct OpenPIC *)0) {
    191     BSP_panic("OpenPic Not found\n");
     191    rtems_panic("OpenPic Not found\n");
    192192  }
    193193#endif
  • c/src/lib/libbsp/powerpc/shared/startup/bspstart.c

    r15e19273 r1c193a2  
    8585unsigned int BSP_time_base_divisor;
    8686
    87 void BSP_panic(char *s)
    88 {
    89   printk("%s PANIC %s\n",_RTEMS_version, s);
    90   __asm__ __volatile ("sc");
    91 }
    92 
    9387void _BSP_Fatal_error(unsigned int v)
    9488{
  • c/src/lib/libbsp/powerpc/shared/startup/panic.c

    r15e19273 r1c193a2  
    1717  BSP_poll_char_via_serial();
    1818  bsp_reset();
    19 }
    20 
    21 void BSP_panic(char *s)
    22 {
    23   printk("%s PANIC %s\n",_RTEMS_version, s);
    24   rebootQuestion();
    2519}
    2620
  • c/src/lib/libbsp/powerpc/shared/vme/vme_universe.c

    r15e19273 r1c193a2  
    430430#endif
    431431  if ( vmeUniverse0PciIrqLine < 0 )
    432         BSP_panic("Unable to get universe interrupt line info from PCI config");
     432        rtems_panic("Unable to get universe interrupt line info from PCI config");
    433433  _BSP_vme_bridge_irq = vmeUniverse0PciIrqLine;
    434434#endif
  • c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c

    r15e19273 r1c193a2  
    4242uint32_t   bsp_timer_least_valid;
    4343uint32_t   bsp_timer_average_overhead;
    44 
    45 void BSP_panic(char *s)
    46 {
    47   printk("%s PANIC %s\n",_RTEMS_version, s);
    48   __asm__ __volatile ("sc");
    49 }
    5044
    5145void _BSP_Fatal_error(unsigned int v)
  • c/src/lib/libbsp/powerpc/t32mppc/startup/bspstart.c

    r15e19273 r1c193a2  
    3333 */
    3434uint32_t bsp_time_base_frequency = 10000000;
    35 
    36 void BSP_panic(char *s)
    37 {
    38   rtems_interrupt_level level;
    39 
    40   rtems_interrupt_local_disable(level);
    41   (void) level;
    42 
    43   printk("%s PANIC %s\n", rtems_get_version_string(), s);
    44 
    45   while (1) {
    46     /* Do nothing */
    47   }
    48 }
    4935
    5036void _BSP_Fatal_error(unsigned n)
  • c/src/lib/libbsp/powerpc/tqm8xx/console/console.c

    r15e19273 r1c193a2  
    527527  rxBuf[chan] = malloc(sizeof(*rxBuf[chan]) + 2*PPC_CACHE_ALIGNMENT);
    528528  if (rxBuf[chan] == NULL) {
    529     BSP_panic("Cannot allocate console rx buffer\n");
     529    rtems_panic("Cannot allocate console rx buffer\n");
    530530  }
    531531  else {
  • c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c

    r15e19273 r1c193a2  
    5151uint32_t   bsp_timer_least_valid;      /* Least valid number from timer      */
    5252bool       bsp_timer_internal_clock;   /* TRUE, when timer runs with CPU clk */
    53 
    54 void BSP_panic( char *s)
    55 {
    56   rtems_interrupt_level level;
    57 
    58   rtems_interrupt_disable( level);
    59   (void) level; /* avoid set but not used warning */
    60 
    61   printk( "%s PANIC %s\n", _RTEMS_version, s);
    62 
    63   while (1) {
    64     /* Do nothing */
    65   }
    66 }
    6753
    6854void _BSP_Fatal_error( unsigned n)
     
    170156      bsp_tqm_get_cib_uint32("cu",
    171157                             &BSP_bus_frequency)) {
    172     BSP_panic("Cannot determine BUS frequency\n");
     158    rtems_panic("Cannot determine BUS frequency\n");
    173159  }
    174160
  • c/src/lib/libbsp/powerpc/virtex4/include/bsp.h

    r15e19273 r1c193a2  
    7171
    7272void BSP_ask_for_reset(void);
    73 void BSP_panic(char *s);
    7473void _BSP_Fatal_error(unsigned int v);
    7574
  • c/src/lib/libbsp/powerpc/virtex4/irq/irq_init.c

    r15e19273 r1c193a2  
    322322   */
    323323  if (!BSP_rtems_irq_mngt_set(&initialConfig)) {
    324     BSP_panic("Unable to initialize RTEMS interrupt Management!!! System locked\n");
    325   }
    326 }
     324    rtems_panic("Unable to initialize RTEMS interrupt Management!!! System locked\n");
     325  }
     326}
  • c/src/lib/libbsp/powerpc/virtex4/startup/bspstart.c

    r15e19273 r1c193a2  
    131131
    132132  for(;;);
    133 }
    134 
    135 
    136 void BSP_panic(char *s)
    137 {
    138   RTEMS_UNUSED rtems_interrupt_level level;
    139 
    140   rtems_interrupt_disable(level);
    141 
    142   printk("\n%s PANIC %s\n", rtems_get_version_string(), s);
    143 
    144   BSP_ask_for_reset();
    145133}
    146134
  • c/src/lib/libbsp/powerpc/virtex5/include/bsp.h

    r15e19273 r1c193a2  
    100100
    101101void BSP_ask_for_reset(void);
    102 void BSP_panic(char *s);
    103102void _BSP_Fatal_error(unsigned int v);
    104103
  • c/src/lib/libbsp/powerpc/virtex5/irq/irq_init.c

    r15e19273 r1c193a2  
    339339   */
    340340  if (!BSP_rtems_irq_mngt_set(&initialConfig)) {
    341     BSP_panic("Unable to initialize RTEMS interrupt Management!!! System locked\n");
    342   }
    343 }
     341    rtems_panic("Unable to initialize RTEMS interrupt Management!!! System locked\n");
     342  }
     343}
  • c/src/lib/libbsp/powerpc/virtex5/startup/bspstart.c

    r15e19273 r1c193a2  
    145145
    146146  for(;;);
    147 }
    148 
    149 
    150 void BSP_panic(char *s)
    151 {
    152   RTEMS_UNUSED rtems_interrupt_level level;
    153 
    154   rtems_interrupt_disable(level);
    155 
    156   printk("\n%s PANIC %s\n", rtems_get_version_string(), s);
    157 
    158   BSP_ask_for_reset();
    159147}
    160148
  • c/src/lib/libbsp/shared/vmeUniverse/vmeTsi148.c

    r15e19273 r1c193a2  
    16031603#if BSP_SHARED_HANDLER_SUPPORT > 0
    16041604                if (!BSP_install_rtems_shared_irq_handler(&xx))
    1605                         BSP_panic("unable to install vmeTsi148 shared irq handler");
     1605                        rtems_panic("unable to install vmeTsi148 shared irq handler");
    16061606#else
    16071607        uprintf(stderr,"vmeTsi148: WARNING: your BSP doesn't support sharing interrupts\n");
    16081608                if (!BSP_install_rtems_irq_handler(&xx))
    1609                         BSP_panic("unable to install vmeTsi148 irq handler");
     1609                        rtems_panic("unable to install vmeTsi148 irq handler");
    16101610#endif
    16111611        } else {
    16121612                if (!BSP_install_rtems_irq_handler(&xx))
    1613                         BSP_panic("unable to install vmeTsi148 irq handler");
     1613                        rtems_panic("unable to install vmeTsi148 irq handler");
    16141614        }
    16151615}
  • c/src/lib/libbsp/shared/vmeUniverse/vmeUniverse.c

    r15e19273 r1c193a2  
    284284        rval = k_vsprintf(buf,fmt,ap);
    285285        if (rval > sizeof(buf))
    286                         BSP_panic("vmeUniverse/uprintk: buffer overrun");
     286                        rtems_panic("vmeUniverse/uprintk: buffer overrun");
    287287        printk(buf);
    288288        return rval;
     
    20332033#if BSP_SHARED_HANDLER_SUPPORT > 0
    20342034                if (!BSP_install_rtems_shared_irq_handler(&aarrggh))
    2035                         BSP_panic("unable to install vmeUniverse shared irq handler");
     2035                        rtems_panic("unable to install vmeUniverse shared irq handler");
    20362036#else
    20372037                uprintf(stderr,"vmeUniverse: WARNING: your BSP doesn't support sharing interrupts\n");
    20382038                if (!BSP_install_rtems_irq_handler(&aarrggh))
    2039                         BSP_panic("unable to install vmeUniverse irq handler");
     2039                        rtems_panic("unable to install vmeUniverse irq handler");
    20402040#endif
    20412041        } else {
    20422042                if (!BSP_install_rtems_irq_handler(&aarrggh))
    2043                         BSP_panic("unable to install vmeUniverse irq handler");
     2043                        rtems_panic("unable to install vmeUniverse irq handler");
    20442044        }
    20452045}
  • c/src/lib/libcpu/powerpc/mpc5xx/irq/irq_init.c

    r15e19273 r1c193a2  
    142142       * put something here that will show the failure...
    143143       */
    144       BSP_panic("Unable to initialize RTEMS interrupt Management\n");
     144      rtems_panic("Unable to initialize RTEMS interrupt Management\n");
    145145    }
    146146
     
    156156    vectorDesc.isOn        = raw_is_connected;
    157157    if (!mpc5xx_set_exception (&vectorDesc)) {
    158       BSP_panic("Unable to initialize RTEMS decrementer raw exception\n");
     158      rtems_panic("Unable to initialize RTEMS decrementer raw exception\n");
    159159    }
    160160    vectorDesc.exceptIndex = ASM_EXT_VECTOR;
    161161    vectorDesc.hdl.vector  = ASM_EXT_VECTOR;
    162162    if (!mpc5xx_set_exception (&vectorDesc)) {
    163       BSP_panic("Unable to initialize RTEMS external raw exception\n");
     163      rtems_panic("Unable to initialize RTEMS external raw exception\n");
    164164    }
    165165}
  • cpukit/score/cpu/powerpc/rtems/score/cpu.h

    r15e19273 r1c193a2  
    676676}
    677677
    678 void BSP_panic(char *);
    679 
    680678/* Fatal Error manager macros */
    681679
Note: See TracChangeset for help on using the changeset viewer.