Lines Matching defs:apic
40 #include <sys/apic.h>
104 * Dummy apic array to point common routines at that want to do some apic
105 * manipulation. Xen doesn't allow guest apic access so we point at these
106 * memory locations to fake out those who want to do apic fiddling.
209 * A common frequency of the apic clock is 100 Mhz which
265 /* enable apic mode if imcr present */
1074 * allocate an apic irq struct for an MSI interrupt
1480 * probe code that wants to read apic registers.
1514 physdev_apic_t apic;
1516 apic.apic_physbase = (unsigned long)apic_physaddr[apic_ix];
1517 apic.reg = reg;
1518 if (HYPERVISOR_physdev_op(PHYSDEVOP_apic_read, &apic))
1520 return (apic.value);
1526 physdev_apic_t apic;
1528 apic.apic_physbase = (unsigned long)apic_physaddr[apic_ix];
1529 apic.reg = reg;
1530 apic.value = value;
1531 if (HYPERVISOR_physdev_op(PHYSDEVOP_apic_write, &apic))
1541 physdev_apic_t apic;
1543 apic.apic_physbase = (unsigned long)apic_physaddr[apic_ix];
1544 apic.reg = APIC_IO_EOI;
1545 apic.value = value;
1546 if (HYPERVISOR_physdev_op(PHYSDEVOP_apic_write, &apic))
1588 * Set cpu based on xen idea of online cpu's not apic tables.