2005-01-06 13:58:04 +00:00
|
|
|
/* $Id$
|
2004-12-03 20:10:45 +00:00
|
|
|
*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS kernel
|
|
|
|
* FILE: hal/halx86/mp/ipi_mp.c
|
|
|
|
* PURPOSE: IPI functions for MP
|
2010-01-09 22:43:16 +00:00
|
|
|
* PROGRAMMER: Eric Kohl
|
2004-12-03 20:10:45 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* INCLUDES *****************************************************************/
|
|
|
|
|
2005-06-18 14:28:28 +00:00
|
|
|
#include <hal.h>
|
2005-06-19 22:53:49 +00:00
|
|
|
#define NDEBUG
|
|
|
|
#include <debug.h>
|
2004-12-03 20:10:45 +00:00
|
|
|
|
|
|
|
/* FUNCTIONS ****************************************************************/
|
|
|
|
|
2008-11-29 23:16:39 +00:00
|
|
|
VOID NTAPI
|
2008-10-07 20:56:48 +00:00
|
|
|
HalRequestIpi(KAFFINITY TargetProcessors)
|
2004-12-03 20:10:45 +00:00
|
|
|
{
|
2008-10-07 20:56:48 +00:00
|
|
|
/* FIXME: SMP HAL is...very broken */
|
|
|
|
DPRINT("HalRequestIpi(TargetProcessors %d)\n", TargetProcessors);
|
|
|
|
APICSendIPI(1 << TargetProcessors,
|
2004-12-03 20:10:45 +00:00
|
|
|
IPI_VECTOR|APIC_ICR0_LEVEL_DEASSERT|APIC_ICR0_DESTM);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* EOF */
|