Ignore:
Timestamp:
Nov 14, 2012, 8:57:55 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
a0c7aa55
Parents:
dd8df59
git-author:
Sebastian Huber <sebastian.huber@…> (11/14/12 08:57:55)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/15/12 14:33:13)
Message:

bsps/powerpc: Exception initialization error is fatal

File:
1 edited

Legend:

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

    rdd8df59 rb1e8a58  
    149149void bsp_start(void)
    150150{
    151   rtems_status_code sc = RTEMS_SUCCESSFUL;
    152151  ppc_cpu_id_t myCpu;
    153152  ppc_cpu_revision_t myCpuRevision;
     
    174173  /* Initialize exception handler */
    175174  /* FIXME: Interrupt stack begin and size */
    176   sc = ppc_exc_initialize(
     175  ppc_exc_initialize(
    177176    PPC_INTERRUPT_DISABLE_MASK_DEFAULT,
    178177    (uintptr_t) IntrStack_start,
    179178    (uintptr_t) intrStack - (uintptr_t) IntrStack_start
    180179  );
    181   if (sc != RTEMS_SUCCESSFUL) {
    182     BSP_panic("cannot intitialize exceptions");
    183   }
    184180
    185181  /* Initalize interrupt support */
Note: See TracChangeset for help on using the changeset viewer.