-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Where can i see APIC example? #1290
Comments
You can check out https://github.com/kennystrawnmusic/cryptos or https://github.com/tsatke/devos if the documentation around https://docs.rs/x2apic/latest/x2apic doesn't suffice. |
https://github.com/xuanplus/rust-os-dev/blob/main/kernel/src/apic/lapic.rs It maybe helpful for you. But I don't know how to enable ioapic, I only enable Timer. |
Here's an example (mentioned above by @tsatke as well) that makes use of the x2apic crate: https://github.com/kennystrawnmusic/cryptos/blob/master/src/drivers/apic_impl.rs |
For me the default 8259 PIC masks made it so that everything was off by default, but if I changed the masks then I could get timer, keyboard, and mouse interrupts on qemu UEFI too. |
Where can i see APIC example? I use uefi in qemu and PIC doesn't work with qemu uefi.
The text was updated successfully, but these errors were encountered: