Changeset d7ed684 in rtems


Ignore:
Timestamp:
Sep 20, 2017, 5:18:53 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
4e0dd1f
Parents:
4c1f442
Message:

bsps/powerpc: Fix PPC_EXC_CONFIG_USE_FIXED_HANDLER

Fix link-time error on BSPs not using PPC_EXC_CONFIG_USE_FIXED_HANDLER.

Update #3085.

Location:
c/src/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/src/ppc-exc-handler-table.c

    r4c1f442 rd7ed684  
    2020static int ppc_exc_interrupt_dispatch(BSP_Exception_frame *f, unsigned vector)
    2121{
    22   bsp_interrupt_dispatch();
     22  bsp_interrupt_dispatch(vector);
    2323
    2424  return 0;
  • c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_async_normal.S

    r4c1f442 rd7ed684  
    1616#include <rtems/score/percpu.h>
    1717#include <bsp/vectors.h>
     18
     19#ifdef PPC_EXC_CONFIG_USE_FIXED_HANDLER
    1820
    1921#define SCRATCH_0_REGISTER r0
     
    459461/* Symbol provided for debugging and tracing */
    460462ppc_exc_interrupt_end:
     463
     464#endif /* PPC_EXC_CONFIG_USE_FIXED_HANDLER */
  • c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_prologue.c

    r4c1f442 rd7ed684  
    133133    prologue_template = ppc_exc_min_prolog_auto;
    134134    prologue_template_size = (size_t) ppc_exc_min_prolog_size;
     135#ifdef PPC_EXC_CONFIG_USE_FIXED_HANDLER
    135136  } else if (
    136137    category == PPC_EXC_CLASSIC_ASYNC
     
    139140  ) {
    140141    prologue_template = ppc_exc_min_prolog_async_tmpl_normal;
    141 #ifndef PPC_EXC_CONFIG_USE_FIXED_HANDLER
    142     prologue_template_size = (size_t) ppc_exc_min_prolog_size;
     142    prologue_template_size = 16;
    143143    fixup_vector = true;
    144 #else /* PPC_EXC_CONFIG_USE_FIXED_HANDLER */
    145     prologue_template_size = 8;
    146144#endif /* PPC_EXC_CONFIG_USE_FIXED_HANDLER */
    147145  } else {
Note: See TracChangeset for help on using the changeset viewer.