mach_apic.h 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. #ifndef __ASM_MACH_APIC_H
  2. #define __ASM_MACH_APIC_H
  3. #include <asm/genapic.h>
  4. #define esr_disable (genapic->ESR_DISABLE)
  5. #define NO_BALANCE_IRQ (genapic->no_balance_irq)
  6. #define INT_DELIVERY_MODE (genapic->int_delivery_mode)
  7. #define INT_DEST_MODE (genapic->int_dest_mode)
  8. #undef APIC_DEST_LOGICAL
  9. #define APIC_DEST_LOGICAL (genapic->apic_destination_logical)
  10. #define TARGET_CPUS (genapic->target_cpus())
  11. #define apic_id_registered (genapic->apic_id_registered)
  12. #define init_apic_ldr (genapic->init_apic_ldr)
  13. #define ioapic_phys_id_map (genapic->ioapic_phys_id_map)
  14. #define setup_apic_routing (genapic->setup_apic_routing)
  15. #define multi_timer_check (genapic->multi_timer_check)
  16. #define apicid_to_node (genapic->apicid_to_node)
  17. #define cpu_to_logical_apicid (genapic->cpu_to_logical_apicid)
  18. #define cpu_present_to_apicid (genapic->cpu_present_to_apicid)
  19. #define apicid_to_cpu_present (genapic->apicid_to_cpu_present)
  20. #define mpc_apic_id (genapic->mpc_apic_id)
  21. #define setup_portio_remap (genapic->setup_portio_remap)
  22. #define check_apicid_present (genapic->check_apicid_present)
  23. #define check_phys_apicid_present (genapic->check_phys_apicid_present)
  24. #define check_apicid_used (genapic->check_apicid_used)
  25. #define cpu_mask_to_apicid (genapic->cpu_mask_to_apicid)
  26. #define enable_apic_mode (genapic->enable_apic_mode)
  27. #define phys_pkg_id (genapic->phys_pkg_id)
  28. extern void generic_bigsmp_probe(void);
  29. #endif /* __ASM_MACH_APIC_H */