Changeset b31a960 in rtems


Ignore:
Timestamp:
Nov 13, 2012, 4:53:43 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
e2e5b492
Parents:
dc6e830
git-author:
Sebastian Huber <sebastian.huber@…> (11/13/12 16:53:43)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/15/12 14:33:11)
Message:

score: Add INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR

Use INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR on PowerPC for
_CPU_ISR_install_vector().

Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/new-exceptions/cpu.c

    rdc6e830 rb31a960  
    133133#endif
    134134}
    135 
    136 /*  _CPU_ISR_install_vector
    137  *
    138  *  This kernel routine installs the RTEMS handler for the
    139  *  specified vector.
    140  *
    141  *  Input parameters:
    142  *    vector      - interrupt vector number
    143  *    old_handler - former ISR for this vector number
    144  *    new_handler - replacement ISR for this vector number
    145  *
    146  *  Output parameters:  NONE
    147  */
    148 
    149 void _CPU_ISR_install_vector(
    150   uint32_t    vector,
    151   proc_ptr    new_handler,
    152   proc_ptr   *old_handler
    153 )
    154 {
    155   BSP_panic("_CPU_ISR_install_vector called\n");
    156 }
  • cpukit/sapi/src/interrdesc.c

    rdc6e830 rb31a960  
    4343  "INTERNAL_ERROR_GXX_KEY_ADD_FAILED",
    4444  "INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED",
    45   "INTERNAL_ERROR_NO_MEMORY_FOR_HEAP"
     45  "INTERNAL_ERROR_NO_MEMORY_FOR_HEAP",
     46  "INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR"
    4647};
    4748
  • cpukit/score/cpu/powerpc/Makefile.am

    rdc6e830 rb31a960  
    1414noinst_LIBRARIES = libscorecpu.a
    1515libscorecpu_a_SOURCES = cpu.c
     16libscorecpu_a_SOURCES += ppc-isr-vector-install.c
    1617libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS)
    1718
  • cpukit/score/include/rtems/score/interr.h

    rdc6e830 rb31a960  
    7474  INTERNAL_ERROR_GXX_KEY_ADD_FAILED,
    7575  INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED,
    76   INTERNAL_ERROR_NO_MEMORY_FOR_HEAP
     76  INTERNAL_ERROR_NO_MEMORY_FOR_HEAP,
     77  INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR
    7778} Internal_errors_Core_list;
    7879
  • testsuites/sptests/spinternalerror02/init.c

    rdc6e830 rb31a960  
    3434  } while ( desc != desc_last );
    3535
    36   rtems_test_assert( error - 3 == INTERNAL_ERROR_NO_MEMORY_FOR_HEAP );
     36  rtems_test_assert( error - 3 == INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR );
    3737}
    3838
  • testsuites/sptests/spinternalerror02/spinternalerror02.scn

    rdc6e830 rb31a960  
    2424INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED
    2525INTERNAL_ERROR_NO_MEMORY_FOR_HEAP
     26INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR
    2627?
    2728?
Note: See TracChangeset for help on using the changeset viewer.