reactos/hal/halx86/mp/ipi_mp.c
Amine Khaldi c424146e2c Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
2010-07-24 18:52:44 +00:00

27 lines
740 B
C

/* $Id$
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: hal/halx86/mp/ipi_mp.c
* PURPOSE: IPI functions for MP
* PROGRAMMER: Eric Kohl
*/
/* INCLUDES *****************************************************************/
#include <hal.h>
#define NDEBUG
#include <debug.h>
/* FUNCTIONS ****************************************************************/
VOID NTAPI
HalRequestIpi(KAFFINITY TargetProcessors)
{
/* FIXME: SMP HAL is...very broken */
DPRINT("HalRequestIpi(TargetProcessors %d)\n", TargetProcessors);
APICSendIPI(1 << TargetProcessors,
IPI_VECTOR|APIC_ICR0_LEVEL_DEASSERT|APIC_ICR0_DESTM);
}
/* EOF */