1258d4ef9SAlexander von Gluck IV/*
223eafdafSFrançois Revol * Copyright 2007, Haiku Inc. All rights reserved.
323eafdafSFrançois Revol * Distributed under the terms of the MIT License.
423eafdafSFrançois Revol *
523eafdafSFrançois Revol * Authors:
623eafdafSFrançois Revol * 		Fran��ois Revol <revol@free.fr>
723eafdafSFrançois Revol *
823eafdafSFrançois Revol * Copyright 2004, Axel D��rfler, axeld@pinc-software.de
9b6f76ebeSAugustin Cavalier * Distributed under the terms of the MIT License.
1023eafdafSFrançois Revol */
1123eafdafSFrançois Revol
1223eafdafSFrançois Revol
1323eafdafSFrançois Revol#include <KernelExport.h>
1423eafdafSFrançois Revol
1523eafdafSFrançois Revol#include <boot/stage2.h>
1623eafdafSFrançois Revol#include <arch/smp.h>
1723eafdafSFrançois Revol#include <debug.h>
183eb1ffdbSIthamar R. Adema#include <int.h>
1923eafdafSFrançois Revol
2023eafdafSFrançois Revol
2123eafdafSFrançois Revolstatus_t
2223eafdafSFrançois Revolarch_smp_init(kernel_args *args)
2323eafdafSFrançois Revol{
2423eafdafSFrançois Revol	return B_OK;
2523eafdafSFrançois Revol}
2623eafdafSFrançois Revol
2723eafdafSFrançois Revol
2823eafdafSFrançois Revolstatus_t
2923eafdafSFrançois Revolarch_smp_per_cpu_init(kernel_args *args, int32 cpu)
3023eafdafSFrançois Revol{
3123eafdafSFrançois Revol	return B_OK;
3223eafdafSFrançois Revol}
3323eafdafSFrançois Revol
3423eafdafSFrançois Revol
353eb1ffdbSIthamar R. Ademavoid
363eb1ffdbSIthamar R. Ademaarch_smp_send_multicast_ici(CPUSet& cpuSet)
373eb1ffdbSIthamar R. Adema{
383eb1ffdbSIthamar R. Adema#if KDEBUG
393eb1ffdbSIthamar R. Adema	if (are_interrupts_enabled())
403eb1ffdbSIthamar R. Adema		panic("arch_smp_send_multicast_ici: called with interrupts enabled");
413eb1ffdbSIthamar R. Adema#endif
423eb1ffdbSIthamar R. Adema}
433eb1ffdbSIthamar R. Adema
443eb1ffdbSIthamar R. Adema
4523eafdafSFrançois Revolvoid
4623eafdafSFrançois Revolarch_smp_send_ici(int32 target_cpu)
4723eafdafSFrançois Revol{
4823eafdafSFrançois Revol	panic("called arch_smp_send_ici!\n");
4923eafdafSFrançois Revol}
5023eafdafSFrançois Revol
5123eafdafSFrançois Revol
5223eafdafSFrançois Revolvoid
5323eafdafSFrançois Revolarch_smp_send_broadcast_ici()
5423eafdafSFrançois Revol{
5523eafdafSFrançois Revol	panic("called arch_smp_send_broadcast_ici\n");
5623eafdafSFrançois Revol}
57