-Changed most of the header guard strings to be a little more verbose
[newos.git] / include / kernel / arch / smp.h
blobccf306fde7ee8bf183b1f42496f791f32dcd8f4b
1 /*
2 ** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
4 */
5 #ifndef _NEWOS_KERNEL_ARCH_SMP_H
6 #define _NEWOS_KERNEL_ARCH_SMP_H
8 #include <kernel/kernel.h>
9 #include <boot/stage2.h>
11 // must match MAX_BOOT_CPUS in stage2.h
12 #define SMP_MAX_CPUS MAX_BOOT_CPUS
14 int arch_smp_init(kernel_args *ka);
15 int arch_smp_get_current_cpu(void);
16 void arch_smp_send_ici(int target_cpu);
17 void arch_smp_send_broadcast_ici(void);
19 #endif