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
thor: I/O APIC IRQs don't start off masked #450
Comments
I thought limine left all IRQs masked, since afaik, it's in the stivale spec. Were you using multiboot by any chance? |
We use multiboot 1/2. |
Ahh, that explains it then |
isn't stivale gone anyway |
Once we get around to reporting all devices via the HW protocol, it could be done in the same way. |
This causes some spurious unacknowledged IRQs on my PC.
We should start IRQs masked here:
managarm/kernel/thor/arch/x86/pic.cpp
Lines 730 to 735 in 1173d90
Then the driver responsible can unmask it when it's ready. For PCI devices, it makes sense to do this in
enableIrq()
, but for non-PCI devices I'm not sure.The text was updated successfully, but these errors were encountered: