#
e5ed9428 |
|
25-Jun-2017 |
Hesham Almatary <hesham.almatary@data61.csiro.au> |
x86/SMP: Convert IRQ number to vector number when sending an IPI ipi_send_mask is defined as: void ipi_send_mask(irq_t ipi, word_t mask, bool_t isBlocking); It expects an IRQ IPI number, not an interrupt number in the case of x86. This commit: 1- Removes the confusion between IRQ and interrupt numbers by explicitly converting IRQ to interrupt numbers in x86 implementation. 2- Makes the smp/ipi.c more generic to be shared with ARM, which only has IRQ numbers for IPIs (send/receive).
|