smvp.h 535 B

1234567891011121314151617181920
  1. #ifndef _ASM_SMVP_H
  2. #define _ASM_SMVP_H
  3. /*
  4. * Definitions for SMVP multitasking on MIPS MT cores
  5. */
  6. struct task_struct;
  7. extern void smvp_smp_setup(void);
  8. extern void smvp_smp_finish(void);
  9. extern void smvp_boot_secondary(int cpu, struct task_struct *t);
  10. extern void smvp_init_secondary(void);
  11. extern void smvp_smp_finish(void);
  12. extern void smvp_cpus_done(void);
  13. extern void smvp_prepare_cpus(unsigned int max_cpus);
  14. /* This is platform specific */
  15. extern void smvp_send_ipi(int cpu, unsigned int action);
  16. #endif /* _ASM_SMVP_H */