ktf
ktf copied to clipboard
[Feature] Add support for Inter-Processor Interrupts
Is your feature request related to a problem? Please describe. In order to execute all-CPUs tasks like TLB shootdown, full system pause, etc, the IPI interface is needed. It will allow to have all or just a subset of system's CPUs execute requested routine. It's also needed to test certain APIC functionality.
Describe the solution you'd like
Add interface to easily send IPIs across various ranges of CPUs.
Add functions like send_ipi(), smp_call_function() and/or on_selected_cpus().
Add proper LAPIC register (LVT, TPR, etc) initialization