mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
321bcc056d
svn path=/branches/GSoC_2016/AHCI/; revision=71203
26 lines
732 B
C
26 lines
732 B
C
/*
|
|
* 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 */
|