Replies: 1 comment
-
Got clarification from mentor, this can be closed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Everyone,
I am currently porting Zephyr into a SPARC Leon2 based ASIC, but I wonder why the ARCH_IRQ_CONNECT for SPARC sets the priority level to zero. I also check the drivers from Gaisler and even though they use irq_connect_dynamic, it still explicitly set the priority level to zero. I was assuming that the parameter that expects the priority should be provided by the IRL when initializing interrupt handler?
If not, what is the proper way to set the IRL during IRQ connect? The old approach made by a previous engineer was to have a mapping using switch cases during IRQ enable, but I think this can be accomplished during IRQ connect or having the mapping on the DTS?
Thank you and hoping for your feedbacks.
Beta Was this translation helpful? Give feedback.
All reactions