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

Where can i see APIC example? #1290

Open
Fidius-jko opened this issue Feb 14, 2024 · 3 comments
Open

Where can i see APIC example? #1290

Fidius-jko opened this issue Feb 14, 2024 · 3 comments

Comments

@Fidius-jko
Copy link

Where can i see APIC example? I use uefi in qemu and PIC doesn't work with qemu uefi.

@tsatke
Copy link

tsatke commented Feb 14, 2024

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.

@xuanplus
Copy link

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.

@kennystrawnmusic
Copy link
Contributor

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

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

No branches or pull requests

4 participants