Re: [PATCH] bsps: Avoid unused argument in clock interrupt

2024-03-21 Thread Gedare Bloom
Generally this looks ok to me, but please update https://docs.rtems.org/branches/master/bsp-howto/clock.html#initialization https://docs.rtems.org/branches/master/bsp-howto/clock.html#support-at-tick to explain how this arg works. On Wed, Mar 20, 2024 at 8:29 AM Sebastian Huber wrote: > > Pass th

[PATCH] bsps: Avoid unused argument in clock interrupt

2024-03-20 Thread Sebastian Huber
Pass the parameter of the clock interrupt handler to Clock_driver_support_at_tick() and Clock_driver_timecounter_tick(). This makes it possible to use the interrupt handler argument in clock drivers. Use the interrupt handler provided by Clock_driver_support_install_isr() to avoid local delaratio