smp.h 556 B

12345678910111213141516171819202122
  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. /* Park APs before kexec overwrites the kernel image. */
  13. void smp_stop_aps(void);
  14. void smp_dump(void);
  15. #endif