| 1 | /* @title: SMP initialization */ |
|---|---|
| 2 | #pragma once |
| 3 | #include <limine.h> |
| 4 | #include <stdatomic.h> |
| 5 | #include <stdbool.h> |
| 6 | |
| 7 | struct core; |
| 8 | void smp_wakeup(); |
| 9 | void smp_init(); |
| 10 | void smp_wake(struct limine_mp_response *mpr); |
| 11 | void smp_setup_bsp(); |
| 12 | void smp_wait_for_others_to_idle(); |
| 13 | void topology_init(void); |
| 14 | void smp_disable_all_ticks(); |
| 15 | void smp_enable_all_ticks(); |
| 16 | void smp_dump_core(struct core *c); |
| 17 | void smp_move_everyone(); |
| 18 |