2002-07-09 12:24:59 +00:00
|
|
|
/*
|
|
|
|
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
|
|
|
** Distributed under the terms of the NewOS License.
|
|
|
|
*/
|
2003-05-03 14:12:16 +00:00
|
|
|
#ifndef KERNEL_ARCH_SMP_H
|
|
|
|
#define KERNEL_ARCH_SMP_H
|
|
|
|
|
2002-07-09 12:24:59 +00:00
|
|
|
|
|
|
|
#include <kernel.h>
|
2003-05-03 14:12:16 +00:00
|
|
|
|
2013-12-20 22:05:26 +01:00
|
|
|
|
2003-05-03 14:12:16 +00:00
|
|
|
struct kernel_args;
|
|
|
|
|
2013-12-19 19:20:10 +01:00
|
|
|
class CPUSet;
|
|
|
|
|
2002-07-09 12:24:59 +00:00
|
|
|
|
2013-12-20 22:05:26 +01:00
|
|
|
status_t arch_smp_init(kernel_args* args);
|
|
|
|
status_t arch_smp_per_cpu_init(kernel_args* args, int32 cpu);
|
2003-10-07 21:56:32 +00:00
|
|
|
|
2004-03-14 22:54:00 +00:00
|
|
|
void arch_smp_send_ici(int32 target_cpu);
|
2013-12-20 22:05:26 +01:00
|
|
|
void arch_smp_send_broadcast_ici();
|
2013-12-19 19:20:10 +01:00
|
|
|
void arch_smp_send_multicast_ici(CPUSet& cpuSet);
|
2002-07-09 12:24:59 +00:00
|
|
|
|
2003-10-07 21:56:32 +00:00
|
|
|
|
2003-05-03 14:12:16 +00:00
|
|
|
#endif /* KERNEL_ARCH_SMP_H */
|