After BSP's sending IPI messages to wake up the secondary core, how can we know that the AP is booting? We do it in the same manner as Xen.
apic_icr_write(APIC_DM_STARTUP | (start_eip >> 12), phys_apicid);
I am confused with it. Is the start_eip the booting entry for the AP? and I don't think that we can directly specify the start_eip in ICR just in this way, since the corresponding bits that start_eip will write to are reserved in ICR.
Can anyone help me out? Thanks