1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

use interrupt 83 (instead of 82) to wakeup a core

- interrupt 82 is already used to realize signals
This commit is contained in:
Stefan Lankes 2017-06-10 14:33:44 +02:00
parent 47a8bf2b0c
commit a9b41369c1

View file

@ -1048,7 +1048,7 @@ void wakeup_core(uint32_t core_id)
return;
LOG_DEBUG("wakeup core %d\n", core_id);
apic_send_ipi(core_id, 82+32);
apic_send_ipi(core_id, 83+32);
}
static void apic_err_handler(struct state *s)
@ -1128,7 +1128,7 @@ int apic_init(void)
irq_install_handler(80+32, apic_tlb_handler);
#endif
irq_install_handler(81+32, apic_shutdown);
irq_install_handler(82+32, apic_wakeup_handler);
irq_install_handler(83+32, apic_wakeup_handler);
if (apic_processors[boot_processor])
LOG_INFO("Boot processor %u (ID %u)\n", boot_processor, apic_processors[boot_processor]->id);
else