Joel Sherrill commented on a discussion on cpukit/score/cpu/or1k/cpu.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/974#note_140556

 >    return (sr & CPU_OR1K_SPR_SR_IEE)? 0 : 1;
 >  }
 >  
 > -void _CPU_ISR_install_raw_handler(
 > +/*
 > + * Provide a helper which takes "untyped" pointers to the function
 > + * being installed. This avoids function casts which are frowned upon.
 > + */
 > +static void _CPU_ISR_install_raw_handler_helper(
 >    uint32_t             vector,
 > -  CPU_ISR_raw_handler  new_handler,
 > -  CPU_ISR_raw_handler *old_handler
 > +  void                *new_handler,
 > +  void               **old_handler

I leave it as an exercise for the reviewer to solve this to their liking.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/974#note_140556
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to