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

    rdd8df59 rb1e8a58  
    7373void bsp_start(void)
    7474{
    75   rtems_status_code sc = RTEMS_SUCCESSFUL;
    7675  unsigned long i = 0;
    7776
     
    110109  /* Initialize exception handler */
    111110  ppc_exc_vector_base = (uint32_t) bsp_exc_vector_base;
    112   sc = ppc_exc_initialize(
     111  ppc_exc_initialize(
    113112    PPC_INTERRUPT_DISABLE_MASK_DEFAULT,
    114113    (uintptr_t) bsp_section_work_begin,
    115114    rtems_configuration_get_interrupt_stack_size()
    116115  );
    117   if (sc != RTEMS_SUCCESSFUL) {
    118     BSP_panic("cannot initialize exceptions");
    119   }
    120116
    121117  /* Now it is possible to make the code execute only */
Note: See TracChangeset for help on using the changeset viewer.