ReactOS 0.4.15-dev-7788-g1ad9096
ipi_mp.c
Go to the documentation of this file.
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
18HalRequestIpi(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 */
ULONG_PTR KAFFINITY
Definition: compat.h:85
VOID NTAPI HalRequestIpi(KAFFINITY TargetProcessors)
Definition: ipi_mp.c:18
#define DPRINT
Definition: sndvol32.h:71
#define NTAPI
Definition: typedefs.h:36