From e7f8cb62de69dcabb68015bf7b8abe7cf44b71d2 Mon Sep 17 00:00:00 2001 From: AlmuHS Date: Thu, 3 Oct 2019 15:57:36 +0200 Subject: refactor: removed dummyf call during startup IPI --- i386/i386/mp_desc.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c index 30c47fc1..aad81014 100644 --- a/i386/i386/mp_desc.c +++ b/i386/i386/mp_desc.c @@ -246,8 +246,6 @@ void startup_cpu(uint32_t apic_id) icr_l = (INIT << 8) | (ASSERT << 14) | (LEVEL << 15); send_ipi(icr_h, icr_l); - //dummyf(lapic->apic_id.r); - //wait until IPI is sent delay(10000); while( ( (lapic->icr_low.r >> 12) & 1) == SEND_PENDING); @@ -259,8 +257,6 @@ void startup_cpu(uint32_t apic_id) icr_l = (INIT << 8) | (DE_ASSERT << 14) | (LEVEL << 15); send_ipi(icr_h, icr_l); - //dummyf(lapic->apic_id.r); - //wait until IPI is sent delay(10000); while( ( (lapic->icr_low.r >> 12) & 1) == SEND_PENDING); @@ -272,8 +268,6 @@ void startup_cpu(uint32_t apic_id) icr_l = (STARTUP << 8) | ((AP_BOOT_ADDR >>12) & 0xff); send_ipi(icr_h, icr_l); - dummyf(lapic->apic_id.r); - //wait until IPI is sent delay(1000); while( ( (lapic->icr_low.r >> 12) & 1) == SEND_PENDING); @@ -285,8 +279,6 @@ void startup_cpu(uint32_t apic_id) icr_l = (STARTUP << 8) | ((AP_BOOT_ADDR >>12) & 0xff); send_ipi(icr_h, icr_l); - //dummyf(lapic->apic_id.r); - //wait until IPI is sent delay(1000); while( ( (lapic->icr_low.r >> 12) & 1) == SEND_PENDING); -- cgit v1.2.3