1/* 2 * Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef SMP_H 6#define SMP_H 7 8 9#include <SupportDefs.h> 10 11 12#ifdef __cplusplus 13// this is only available in C++ 14# include <boot/menu.h> 15extern void smp_add_safemode_menus(Menu *menu); 16 17extern "C" { 18#endif 19 20extern void smp_init(void); 21extern void smp_init_other_cpus(void); 22extern void smp_boot_other_cpus(void (*entryFunc)(void)); 23 24extern int smp_get_current_cpu(void); 25 26#ifdef __cplusplus 27} 28#endif 29 30#endif /* SMP_H */ 31