haiku/headers/private/kernel/arch/smp.h

31 lines
589 B
C
Raw Normal View History

/*
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#ifndef KERNEL_ARCH_SMP_H
#define KERNEL_ARCH_SMP_H
#include <kernel.h>
struct kernel_args;
2013-12-19 22:20:10 +04:00
class CPUSet;
#ifdef __cplusplus
extern "C" {
#endif
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);
void arch_smp_send_broadcast_ici(void);
2013-12-19 22:20:10 +04:00
void arch_smp_send_multicast_ici(CPUSet& cpuSet);
#ifdef __cplusplus
}
#endif
#endif /* KERNEL_ARCH_SMP_H */