Changeset 70928bc9 in rtems for cpukit


Ignore:
Timestamp:
Nov 9, 2018, 7:12:49 AM (11 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
4539e307
Parents:
ce37237f
git-author:
Sebastian Huber <sebastian.huber@…> (11/09/18 07:12:49)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:44)
Message:

sparc64: Remove use of proc_ptr

Update #3585.

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

Legend:

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

    rce37237f r70928bc9  
    193193 */
    194194void _CPU_ISR_install_raw_handler(
    195   uint32_t    vector,
    196   proc_ptr    new_handler,
    197   proc_ptr  *old_handler
     195  uint32_t             vector,
     196  CPU_ISR_raw_handler  new_handler,
     197  CPU_ISR_raw_handler *old_handler
    198198)
    199199{
     
    252252      ((slot->sethi_of_handler_to_g3 << HI_BITS_SHIFT) |
    253253      (slot->jmp_to_low_of_handler_plus_g3 & IMM_MASK));
    254     *old_handler = (proc_ptr) u64_handler;
     254    *old_handler = (CPU_ISR_raw_handler) u64_handler;
    255255  } else
    256256    *old_handler = 0;
     
    308308 */
    309309void _CPU_ISR_install_vector(
    310   uint64_t    vector,
    311   proc_ptr    new_handler,
    312   proc_ptr  *old_handler
     310  uint32_t         vector,
     311  CPU_ISR_handler  new_handler,
     312  CPU_ISR_handler *old_handler
    313313)
    314314{
    315    uint64_t   real_vector;
    316    proc_ptr  ignored;
     315   uint64_t            real_vector;
     316   CPU_ISR_raw_handler ignored;
    317317
    318318  /*
  • cpukit/score/cpu/sparc64/include/rtems/score/cpu.h

    rce37237f r70928bc9  
    840840void _CPU_Initialize(void);
    841841
    842 /*
    843  *  _CPU_ISR_install_raw_handler
    844  *
    845  *  This routine installs new_handler to be directly called from the trap
    846  *  table.
    847  */
     842typedef void ( *CPU_ISR_raw_handler )( void );
    848843
    849844void _CPU_ISR_install_raw_handler(
    850   uint32_t    vector,
    851   proc_ptr    new_handler,
    852   proc_ptr  *old_handler
     845  uint32_t             vector,
     846  CPU_ISR_raw_handler  new_handler,
     847  CPU_ISR_raw_handler *old_handler
    853848);
    854849
    855 /*
    856  *  _CPU_ISR_install_vector
    857  *
    858  *  This routine installs an interrupt vector.
    859  */
     850typedef void ( *CPU_ISR_handler )( uint32_t );
    860851
    861852void _CPU_ISR_install_vector(
    862   uint64_t    vector,
    863   proc_ptr    new_handler,
    864   proc_ptr  *old_handler
     853  uint32_t         vector,
     854  CPU_ISR_handler  new_handler,
     855  CPU_ISR_handler *old_handler
    865856);
    866857
Note: See TracChangeset for help on using the changeset viewer.