1 /* 2 * Copyright 2007, Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * François Revol <revol@free.fr> 7 * 8 * Copyright 2004, Axel Dörfler, axeld@pinc-software.de 9 * Distributed under the terms of the MIT License. 10 */ 11 12 13 #include <KernelExport.h> 14 15 #include <boot/stage2.h> 16 #include <arch/smp.h> 17 #include <debug.h> 18 #include <int.h> 19 20 21 status_t 22 arch_smp_init(kernel_args *args) 23 { 24 return B_OK; 25 } 26 27 28 status_t 29 arch_smp_per_cpu_init(kernel_args *args, int32 cpu) 30 { 31 return B_OK; 32 } 33 34 35 void 36 arch_smp_send_multicast_ici(CPUSet& cpuSet) 37 { 38 #if KDEBUG 39 if (are_interrupts_enabled()) 40 panic("arch_smp_send_multicast_ici: called with interrupts enabled"); 41 #endif 42 } 43 44 45 void 46 arch_smp_send_ici(int32 target_cpu) 47 { 48 panic("called arch_smp_send_ici!\n"); 49 } 50 51 52 void 53 arch_smp_send_broadcast_ici() 54 { 55 panic("called arch_smp_send_broadcast_ici\n"); 56 } 57