H. Peter Anvin | 05e4d31 | 2008-10-23 00:01:39 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_MACH_GENERIC_MACH_APIC_H |
| 2 | #define _ASM_X86_MACH_GENERIC_MACH_APIC_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
| 4 | #include <asm/genapic.h> |
| 5 | |
Ingo Molnar | c8d46cf | 2009-01-28 00:14:11 +0100 | [diff] [blame^] | 6 | #define esr_disable (apic->ESR_DISABLE) |
| 7 | #define NO_BALANCE_IRQ (apic->no_balance_irq) |
| 8 | #define INT_DELIVERY_MODE (apic->int_delivery_mode) |
| 9 | #define INT_DEST_MODE (apic->int_dest_mode) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | #undef APIC_DEST_LOGICAL |
Ingo Molnar | c8d46cf | 2009-01-28 00:14:11 +0100 | [diff] [blame^] | 11 | #define APIC_DEST_LOGICAL (apic->apic_destination_logical) |
| 12 | #define TARGET_CPUS (apic->target_cpus()) |
| 13 | #define apic_id_registered (apic->apic_id_registered) |
| 14 | #define init_apic_ldr (apic->init_apic_ldr) |
| 15 | #define ioapic_phys_id_map (apic->ioapic_phys_id_map) |
| 16 | #define setup_apic_routing (apic->setup_apic_routing) |
| 17 | #define multi_timer_check (apic->multi_timer_check) |
| 18 | #define apicid_to_node (apic->apicid_to_node) |
| 19 | #define cpu_to_logical_apicid (apic->cpu_to_logical_apicid) |
| 20 | #define cpu_present_to_apicid (apic->cpu_present_to_apicid) |
| 21 | #define apicid_to_cpu_present (apic->apicid_to_cpu_present) |
| 22 | #define setup_portio_remap (apic->setup_portio_remap) |
| 23 | #define check_apicid_present (apic->check_apicid_present) |
| 24 | #define check_phys_apicid_present (apic->check_phys_apicid_present) |
| 25 | #define check_apicid_used (apic->check_apicid_used) |
| 26 | #define cpu_mask_to_apicid (apic->cpu_mask_to_apicid) |
| 27 | #define cpu_mask_to_apicid_and (apic->cpu_mask_to_apicid_and) |
| 28 | #define vector_allocation_domain (apic->vector_allocation_domain) |
| 29 | #define enable_apic_mode (apic->enable_apic_mode) |
| 30 | #define phys_pkg_id (apic->phys_pkg_id) |
| 31 | #define wakeup_secondary_cpu (apic->wakeup_cpu) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | |
Venkatesh Pallipadi | 911a62d | 2005-09-03 15:56:31 -0700 | [diff] [blame] | 33 | extern void generic_bigsmp_probe(void); |
| 34 | |
H. Peter Anvin | 05e4d31 | 2008-10-23 00:01:39 -0700 | [diff] [blame] | 35 | #endif /* _ASM_X86_MACH_GENERIC_MACH_APIC_H */ |