- HalRequestIpi takes a KAFFINITY as input, not a ULONG -- fix this and add a note about MP HAL's brokenness

svn path=/trunk/; revision=36680
This commit is contained in:
Stefan Ginsberg 2008-10-07 20:56:48 +00:00
parent 9ad1faa02e
commit fce1822384
2 changed files with 6 additions and 5 deletions

View file

@ -78,9 +78,9 @@ HalProcessorIdle(VOID)
*/
VOID
NTAPI
HalRequestIpi(ULONG Reserved)
HalRequestIpi(KAFFINITY TargetProcessors)
{
/* Not implemented on NT */
/* Not implemented on UP */
__debugbreak();
}

View file

@ -16,10 +16,11 @@
/* FUNCTIONS ****************************************************************/
VOID STDCALL
HalRequestIpi(ULONG ProcessorNo)
HalRequestIpi(KAFFINITY TargetProcessors)
{
DPRINT("HalRequestIpi(ProcessorNo %d)\n", ProcessorNo);
APICSendIPI(1 << ProcessorNo,
/* FIXME: SMP HAL is...very broken */
DPRINT("HalRequestIpi(TargetProcessors %d)\n", TargetProcessors);
APICSendIPI(1 << TargetProcessors,
IPI_VECTOR|APIC_ICR0_LEVEL_DEASSERT|APIC_ICR0_DESTM);
}