Lines Matching full:apic
4 * Hyper-V specific APIC code.
31 #include <asm/apic.h>
35 static struct apic orig_apic;
262 orig_apic = *apic; in hv_apic_init()
264 apic->send_IPI = hv_send_ipi; in hv_apic_init()
265 apic->send_IPI_mask = hv_send_ipi_mask; in hv_apic_init()
266 apic->send_IPI_mask_allbutself = hv_send_ipi_mask_allbutself; in hv_apic_init()
267 apic->send_IPI_allbutself = hv_send_ipi_allbutself; in hv_apic_init()
268 apic->send_IPI_all = hv_send_ipi_all; in hv_apic_init()
269 apic->send_IPI_self = hv_send_ipi_self; in hv_apic_init()
273 pr_info("Hyper-V: Using enlightened APIC (%s mode)", in hv_apic_init()
276 * When in x2apic mode, don't use the Hyper-V specific APIC in hv_apic_init()
280 * synthetic APIC MSRs, so there's no benefit in having in hv_apic_init()
288 apic->read = hv_apic_read; in hv_apic_init()
289 apic->write = hv_apic_write; in hv_apic_init()
290 apic->icr_write = hv_apic_icr_write; in hv_apic_init()
291 apic->icr_read = hv_apic_icr_read; in hv_apic_init()