blob: 59972d94ff18b03127e80921d637b2a29d10c037 [file] [log] [blame]
H. Peter Anvin05e4d312008-10-23 00:01:39 -07001#ifndef _ASM_X86_MACH_GENERIC_MACH_APIC_H
2#define _ASM_X86_MACH_GENERIC_MACH_APIC_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
4#include <asm/genapic.h>
5
Ingo Molnarc8d46cf2009-01-28 00:14:11 +01006#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 Torvalds1da177e2005-04-16 15:20:36 -070010#undef APIC_DEST_LOGICAL
Ingo Molnarc8d46cf2009-01-28 00:14:11 +010011#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 Torvalds1da177e2005-04-16 15:20:36 -070032
Venkatesh Pallipadi911a62d2005-09-03 15:56:31 -070033extern void generic_bigsmp_probe(void);
34
H. Peter Anvin05e4d312008-10-23 00:01:39 -070035#endif /* _ASM_X86_MACH_GENERIC_MACH_APIC_H */