mach_apic.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef _ASM_X86_MACH_GENERIC_MACH_APIC_H
  2. #define _ASM_X86_MACH_GENERIC_MACH_APIC_H
  3. #include <asm/genapic.h>
  4. #define esr_disable (apic->ESR_DISABLE)
  5. #define NO_BALANCE_IRQ (apic->no_balance_irq)
  6. #define IRQ_DELIVERY_MODE (apic->irq_delivery_mode)
  7. #define IRQ_DEST_MODE (apic->irq_dest_mode)
  8. #undef APIC_DEST_LOGICAL
  9. #define APIC_DEST_LOGICAL (apic->apic_destination_logical)
  10. #define TARGET_CPUS (apic->target_cpus())
  11. #define init_apic_ldr (apic->init_apic_ldr)
  12. #define ioapic_phys_id_map (apic->ioapic_phys_id_map)
  13. #define setup_apic_routing (apic->setup_apic_routing)
  14. #define multi_timer_check (apic->multi_timer_check)
  15. #define apicid_to_node (apic->apicid_to_node)
  16. #define cpu_to_logical_apicid (apic->cpu_to_logical_apicid)
  17. #define cpu_present_to_apicid (apic->cpu_present_to_apicid)
  18. #define apicid_to_cpu_present (apic->apicid_to_cpu_present)
  19. #define setup_portio_remap (apic->setup_portio_remap)
  20. #define check_apicid_present (apic->check_apicid_present)
  21. #define check_phys_apicid_present (apic->check_phys_apicid_present)
  22. #define check_apicid_used (apic->check_apicid_used)
  23. #define cpu_mask_to_apicid (apic->cpu_mask_to_apicid)
  24. #define cpu_mask_to_apicid_and (apic->cpu_mask_to_apicid_and)
  25. #define vector_allocation_domain (apic->vector_allocation_domain)
  26. #define enable_apic_mode (apic->enable_apic_mode)
  27. #define phys_pkg_id (apic->phys_pkg_id)
  28. #define wakeup_secondary_cpu (apic->wakeup_cpu)
  29. extern void generic_bigsmp_probe(void);
  30. #endif /* _ASM_X86_MACH_GENERIC_MACH_APIC_H */