<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 10, 2024 at 6:16 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">---<br>
bsps/shared/dev/clock/xil-ttc.c | 14 ++++++++++----<br>
1 file changed, 10 insertions(+), 4 deletions(-)<br>
<br>
diff --git a/bsps/shared/dev/clock/xil-ttc.c b/bsps/shared/dev/clock/xil-ttc.c<br>
index 340c428a48..384f23663b 100644<br>
--- a/bsps/shared/dev/clock/xil-ttc.c<br>
+++ b/bsps/shared/dev/clock/xil-ttc.c<br>
@@ -191,18 +191,24 @@ static void zynqmp_ttc_clock_driver_support_at_tick(ttc_clock_context *tc)<br>
/* Else, something is set up wrong, only match should be enabled */<br>
}<br>
<br>
+static rtems_interrupt_entry zynqmp_ttc_interrupt_entry;<br>
+<br>
static void zynqmp_ttc_clock_driver_support_install_isr(<br>
rtems_interrupt_handler handler<br>
)<br>
{<br>
rtems_status_code sc;<br>
<br>
- sc = rtems_interrupt_handler_install(<br>
- BSP_SELECTED_TTC_IRQ,<br>
- "Clock",<br>
- RTEMS_INTERRUPT_UNIQUE,<br>
+ rtems_interrupt_entry_initialize(<br>
+ &zynqmp_ttc_interrupt_entry,<br>
handler,<br>
&ttc_clock_instance<br></blockquote><div><br></div><div>There is a missing comma here preventing compilation.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
+ "Clock"<br>
+ );<br>
+ sc = rtems_interrupt_entry_install(<br>
+ BSP_SELECTED_TTC_IRQ,<br>
+ RTEMS_INTERRUPT_UNIQUE,<br>
+ &zynqmp_ttc_interrupt_entry<br>
);<br>
if ( sc != RTEMS_SUCCESSFUL ) {<br>
rtems_fatal_error_occurred(0xdeadbeef);<br>
-- <br>
2.35.3<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div>