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/mbx8xx/startup/bspstart.c

    rdd8df59 rb1e8a58  
    8383void bsp_start(void)
    8484{
    85   rtems_status_code sc = RTEMS_SUCCESSFUL;
    8685  ppc_cpu_id_t myCpu;
    8786  ppc_cpu_revision_t myCpuRevision;
     
    114113
    115114  /* Initialize exception handler */
    116   sc = ppc_exc_initialize(
     115  ppc_exc_initialize(
    117116    PPC_INTERRUPT_DISABLE_MASK_DEFAULT,
    118117    (uintptr_t) IntrStack_start,
    119118    (uintptr_t) intrStack - (uintptr_t) IntrStack_start
    120119  );
    121   if ( sc != RTEMS_SUCCESSFUL ) {
    122     BSP_panic( "cannot initialize exceptions" );
    123   }
    124120
    125121  /* Initalize interrupt support */
Note: See TracChangeset for help on using the changeset viewer.