Files
haiku-beta6/headers/private/kernel/arch/smp.h
T

30 lines
536 B
C
Raw Normal View History

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
struct kernel_args;
2002-07-09 12:24:59 +00:00
2003-10-07 21:56:32 +00:00
// must match MAX_BOOT_CPUS in platform_kernel_args.h
2002-07-09 12:24:59 +00:00
#define SMP_MAX_CPUS MAX_BOOT_CPUS
2003-10-07 21:56:32 +00:00
#ifdef __cplusplus
extern "C" {
#endif
2003-05-03 14:12:16 +00:00
int arch_smp_init(struct kernel_args *ka);
2002-07-09 12:24:59 +00:00
void arch_smp_send_ici(int target_cpu);
void arch_smp_send_broadcast_ici(void);
2003-10-07 21:56:32 +00:00
#ifdef __cplusplus
}
#endif
2003-05-03 14:12:16 +00:00
#endif /* KERNEL_ARCH_SMP_H */