Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libsel4simple-default,riscv: implement irq_trigger #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

canarysnort01
Copy link

Wire up simple->irq_trigger to seL4_IRQControl_GetTrigger on risc-v. This allows risc-v drivers in libplatsupport to register edge-triggered interrupts.

Purpose: Ready to merge
Context: Needed for the star64 timer driver that will be in libplatsupport
Testing performed: Tested on a WIP version of sel4test for the star64 platform on pinetab-v hardware

@Ivan-Velickovic
Copy link

Hey @canarysnort01, I've been stuck on this timer driver for a while as I could not get it enabled. I revisited it briefly last week and managed to patch U-Boot such that it turns on the timers and now getting the time works. I haven't spent much time on it since, feel free to email me (i.velickovic@unsw.edu.au) if you want to take over the driver and get it fully working and I can tell you the status of it.

U-Boot patch is here by the way Ivan-Velickovic/u-boot@f524a32.

@Ivan-Velickovic
Copy link

Can this be merged?

Wire up simple->irq_trigger to seL4_IRQControl_GetTrigger on risc-v.
This allows risc-v drivers in libplatsupport to register edge-triggered
interrupts.

Signed-off-by: Jimmy Brush <code@jimmah.com>
Signed-off-by: Jimmy Brush <code@jimmah.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants