You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we employ a best-effort strategy to enable the PIC at startup time:
If LAPIC is supported, we try to initialize it.
If we fail, or if LAPIC is not supported, we try to enable the 8259 PIC.
If we fail, we turn off PIC support.
We should have a feature switch that disables PIC support at build time, to avoid higher startup times on platforms that don't support interrupts at all.
Code Snippets
The code snippet bellows points to where we first detect that interrupts are not supported.
Description
Currently we employ a best-effort strategy to enable the PIC at startup time:
We should have a feature switch that disables PIC support at build time, to avoid higher startup times on platforms that don't support interrupts at all.
Code Snippets
The code snippet bellows points to where we first detect that interrupts are not supported.
kernel/src/hal/mod.rs
Lines 77 to 85 in cc7d169
The text was updated successfully, but these errors were encountered: