Changeset 12dfa5e2 in rtems


Ignore:
Timestamp:
Nov 8, 2018, 3:03:10 PM (7 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
54c5ffc
Parents:
264e128
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 15:03:10)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:43)
Message:

nios2: Remove use of proc_ptr

Update #3585.

Location:
cpukit
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/Makefile.am

    r264e128 r12dfa5e2  
    16441644librtemscpu_a_SOURCES += score/cpu/nios2/nios2-initialize.c
    16451645librtemscpu_a_SOURCES += score/cpu/nios2/nios2-isr-get-level.c
    1646 librtemscpu_a_SOURCES += score/cpu/nios2/nios2-isr-install-raw-handler.c
    16471646librtemscpu_a_SOURCES += score/cpu/nios2/nios2-isr-install-vector.c
    16481647librtemscpu_a_SOURCES += score/cpu/nios2/nios2-isr-is-in-progress.c
  • cpukit/score/cpu/nios2/include/rtems/score/cpu.h

    r264e128 r12dfa5e2  
    297297void _CPU_Initialize( void );
    298298
    299 /**
    300  * @brief CPU ISR install raw handler.
    301  */
    302 void _CPU_ISR_install_raw_handler(
    303   uint32_t vector,
    304   proc_ptr new_handler,
    305   proc_ptr *old_handler
    306 );
    307 
    308 /**
    309  * @brief CPU ISR install vector.
    310  */
     299typedef void ( *CPU_ISR_handler )( uint32_t );
     300
    311301void _CPU_ISR_install_vector(
    312   uint32_t vector,
    313   proc_ptr new_handler,
    314   proc_ptr *old_handler
     302  uint32_t         vector,
     303  CPU_ISR_handler new_handler,
     304  CPU_ISR_handler *old_handler
    315305);
    316306
  • cpukit/score/cpu/nios2/nios2-isr-install-vector.c

    r264e128 r12dfa5e2  
    2222#include <rtems/score/isr.h>
    2323
    24 /*
    25  *  _CPU_ISR_install_vector
    26  *
    27  *  This kernel routine installs the RTEMS handler for the
    28  *  specified vector.
    29  *
    30  *  Input parameters:
    31  *    vector      - interrupt vector number
    32  *    old_handler - former ISR for this vector number
    33  *    new_handler - replacement ISR for this vector number
    34  *
    35  *  Output parameters:  NONE
    36  *
    37  *
    38  *  NO_CPU Specific Information:
    39  *
    40  *  XXX document implementation including references if appropriate
    41  */
    42 
    4324void _CPU_ISR_install_vector(
    44   uint32_t    vector,
    45   proc_ptr    new_handler,
    46   proc_ptr  *old_handler
     25  uint32_t         vector,
     26  CPU_ISR_handler  new_handler,
     27  CPU_ISR_handler *old_handler
    4728)
    4829{
    4930   *old_handler = _ISR_Vector_table[ vector ];
    50 
    51    /*
    52     *  If the interrupt vector table is a table of pointer to isr entry
    53     *  points, then we need to install the appropriate RTEMS interrupt
    54     *  handler for this vector number.
    55     */
    56 
    57    _CPU_ISR_install_raw_handler( vector, new_handler, old_handler );
    5831
    5932   /*
Note: See TracChangeset for help on using the changeset viewer.