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