smp.h 585 B

1234567891011121314151617181920212223
  1. /* SMP boot: ACPI CPU discovery, AP trampoline and INIT-SIPI. */
  2. #ifndef SMP_H
  3. #define SMP_H
  4. extern unsigned int smp_sched_enabled;
  5. void smp_init(void);
  6. /* Let APs take user work, after boot-time device/FS setup is complete. */
  7. void smp_enable_sched(void);
  8. /* AP C entry (called by the trampoline). */
  9. void smp_ap_main(unsigned int cpu);
  10. /* Ask another CPU to run its scheduler soon (LAPIC IPI). */
  11. void smp_resched_cpu(unsigned int cpu);
  12. void smp_resched_wake(void);
  13. /* Park APs before kexec overwrites the kernel image. */
  14. void smp_stop_aps(void);
  15. void smp_dump(void);
  16. #endif