mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 22:18:21 +00:00
smp: let other processors run threads
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
#ifndef _SMP_H
|
||||
#define _SMP_H
|
||||
|
||||
#define ARCH_SMP_IPI_TARGET 0
|
||||
#define ARCH_SMP_IPI_SELF 1
|
||||
#define ARCH_SMP_IPI_ALL 2
|
||||
#define ARCH_SMP_IPI_OTHERCPUS 3
|
||||
|
||||
extern size_t arch_smp_cpusawake;
|
||||
|
||||
void arch_smp_wakeup();
|
||||
void arch_smp_sendipi(cpu_t *targcpu, isr_t *isr, int target);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user