xref: /reactos/hal/halx86/mp/ipi_mp.c (revision 8a978a17)
1 /*
2  * COPYRIGHT:             See COPYING in the top level directory
3  * PROJECT:               ReactOS kernel
4  * FILE:                  hal/halx86/mp/ipi_mp.c
5  * PURPOSE:               IPI functions for MP
6  * PROGRAMMER:            Eric Kohl
7  */
8 
9 /* INCLUDES *****************************************************************/
10 
11 #include <hal.h>
12 #define NDEBUG
13 #include <debug.h>
14 
15 /* FUNCTIONS ****************************************************************/
16 
17 VOID NTAPI
18 HalRequestIpi(KAFFINITY TargetProcessors)
19 {
20   /* FIXME: SMP HAL is...very broken */
21   DPRINT("HalRequestIpi(TargetProcessors %d)\n", TargetProcessors);
22   APICSendIPI(1 << TargetProcessors,
23 	      IPI_VECTOR|APIC_ICR0_LEVEL_DEASSERT|APIC_ICR0_DESTM);
24 }
25 
26 /* EOF */
27