2008-10-23 00:01:39 -07:00
|
|
|
#ifndef _ASM_X86_MACH_GENERIC_MACH_APIC_H
|
|
|
|
#define _ASM_X86_MACH_GENERIC_MACH_APIC_H
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
#include <asm/genapic.h>
|
|
|
|
|
|
|
|
#define esr_disable (genapic->ESR_DISABLE)
|
|
|
|
#define NO_BALANCE_IRQ (genapic->no_balance_irq)
|
|
|
|
#define INT_DELIVERY_MODE (genapic->int_delivery_mode)
|
|
|
|
#define INT_DEST_MODE (genapic->int_dest_mode)
|
|
|
|
#undef APIC_DEST_LOGICAL
|
|
|
|
#define APIC_DEST_LOGICAL (genapic->apic_destination_logical)
|
|
|
|
#define TARGET_CPUS (genapic->target_cpus())
|
|
|
|
#define apic_id_registered (genapic->apic_id_registered)
|
|
|
|
#define init_apic_ldr (genapic->init_apic_ldr)
|
|
|
|
#define ioapic_phys_id_map (genapic->ioapic_phys_id_map)
|
2007-05-02 10:27:04 -07:00
|
|
|
#define setup_apic_routing (genapic->setup_apic_routing)
|
2005-04-16 15:20:36 -07:00
|
|
|
#define multi_timer_check (genapic->multi_timer_check)
|
|
|
|
#define apicid_to_node (genapic->apicid_to_node)
|
|
|
|
#define cpu_to_logical_apicid (genapic->cpu_to_logical_apicid)
|
|
|
|
#define cpu_present_to_apicid (genapic->cpu_present_to_apicid)
|
|
|
|
#define apicid_to_cpu_present (genapic->apicid_to_cpu_present)
|
|
|
|
#define setup_portio_remap (genapic->setup_portio_remap)
|
|
|
|
#define check_apicid_present (genapic->check_apicid_present)
|
|
|
|
#define check_phys_apicid_present (genapic->check_phys_apicid_present)
|
|
|
|
#define check_apicid_used (genapic->check_apicid_used)
|
|
|
|
#define cpu_mask_to_apicid (genapic->cpu_mask_to_apicid)
|
2008-08-19 20:50:28 -07:00
|
|
|
#define vector_allocation_domain (genapic->vector_allocation_domain)
|
2005-04-16 15:20:36 -07:00
|
|
|
#define enable_apic_mode (genapic->enable_apic_mode)
|
|
|
|
#define phys_pkg_id (genapic->phys_pkg_id)
|
2008-11-17 16:19:53 -07:00
|
|
|
#define wakeup_secondary_cpu (genapic->wakeup_cpu)
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2005-09-03 15:56:31 -07:00
|
|
|
extern void generic_bigsmp_probe(void);
|
|
|
|
|
2008-10-23 00:01:39 -07:00
|
|
|
#endif /* _ASM_X86_MACH_GENERIC_MACH_APIC_H */
|