--- i386/i386/smp.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/i386/i386/smp.c b/i386/i386/smp.c index c351efaa..acf69d21 100644 --- a/i386/i386/smp.c +++ b/i386/i386/smp.c @@ -60,7 +60,11 @@ void smp_pmap_update(unsigned apic_id) pause_memory; } while(lapic->icr_low.delivery_status == SEND_PENDING); - printf("done\n"); + apic_send_ipi(NO_SHORTHAND, FIXED, PHYSICAL, DE_ASSERT, EDGE, CALL_SINGLE_FUNCTION_BASE, apic_id); + + do { + pause_memory; + } while(lapic->icr_low.delivery_status == SEND_PENDING); cpu_intr_restore(flags); } -- 2.34.1