Changeset ce37237f in rtems


Ignore:
Timestamp:
Nov 8, 2018, 5:41:15 AM (11 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
70928bc9
Parents:
510fbfc3
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 05:41:15)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:44)
Message:

sparc: Remove use of proc_ptr

Update #3585.

Location:
cpukit/score/cpu/sparc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/sparc/cpu.c

    r510fbfc3 rce37237f  
    237237
    238238void _CPU_ISR_install_raw_handler(
    239   uint32_t    vector,
    240   proc_ptr    new_handler,
    241   proc_ptr  *old_handler
     239  uint32_t             vector,
     240  CPU_ISR_raw_handler  new_handler,
     241  CPU_ISR_raw_handler *old_handler
    242242)
    243243{
     
    283283      (slot->sethi_of_handler_to_l4 << HIGH_BITS_SHIFT) |
    284284      (slot->jmp_to_low_of_handler_plus_l4 & LOW_BITS_MASK);
    285     *old_handler = (proc_ptr) u32_handler;
     285    *old_handler = (CPU_ISR_raw_handler) u32_handler;
    286286  } else
    287287    *old_handler = 0;
     
    318318
    319319void _CPU_ISR_install_vector(
    320   uint32_t    vector,
    321   proc_ptr    new_handler,
    322   proc_ptr  *old_handler
     320  uint32_t         vector,
     321  CPU_ISR_handler  new_handler,
     322  CPU_ISR_handler *old_handler
    323323)
    324324{
    325    uint32_t   real_vector;
    326    proc_ptr  ignored;
     325   uint32_t            real_vector;
     326   CPU_ISR_raw_handler ignored;
    327327
    328328  /*
  • cpukit/score/cpu/sparc/include/rtems/score/cpu.h

    r510fbfc3 rce37237f  
    941941void _CPU_Initialize(void);
    942942
     943typedef void ( *CPU_ISR_raw_handler )( void );
     944
    943945/**
    944946 * @brief SPARC specific raw ISR installer.
     
    952954 */
    953955void _CPU_ISR_install_raw_handler(
    954   uint32_t    vector,
    955   proc_ptr    new_handler,
    956   proc_ptr  *old_handler
     956  uint32_t             vector,
     957  CPU_ISR_raw_handler  new_handler,
     958  CPU_ISR_raw_handler *old_handler
    957959);
     960
     961typedef void ( *CPU_ISR_handler )( uint32_t );
    958962
    959963/**
     
    968972
    969973void _CPU_ISR_install_vector(
    970   uint32_t    vector,
    971   proc_ptr    new_handler,
    972   proc_ptr  *old_handler
     974  uint32_t         vector,
     975  CPU_ISR_handler  new_handler,
     976  CPU_ISR_handler *old_handler
    973977);
    974978
Note: See TracChangeset for help on using the changeset viewer.