ReactOS
0.4.15-dev-7918-g2a2556c
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
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 */
KAFFINITY
ULONG_PTR KAFFINITY
Definition:
compat.h:85
void
Definition:
nsiface.idl:2307
HalRequestIpi
VOID NTAPI HalRequestIpi(KAFFINITY TargetProcessors)
Definition:
ipi_mp.c:18
DPRINT
#define DPRINT
Definition:
sndvol32.h:71
NTAPI
#define NTAPI
Definition:
typedefs.h:36
hal
halx86
mp
ipi_mp.c
Generated on Thu Apr 18 2024 06:06:01 for ReactOS by
1.9.6