mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 14:08:22 +00:00
- 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:
parent
9ad1faa02e
commit
fce1822384
2 changed files with 6 additions and 5 deletions
|
@ -78,9 +78,9 @@ HalProcessorIdle(VOID)
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
HalRequestIpi(ULONG Reserved)
|
HalRequestIpi(KAFFINITY TargetProcessors)
|
||||||
{
|
{
|
||||||
/* Not implemented on NT */
|
/* Not implemented on UP */
|
||||||
__debugbreak();
|
__debugbreak();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,10 +16,11 @@
|
||||||
/* FUNCTIONS ****************************************************************/
|
/* FUNCTIONS ****************************************************************/
|
||||||
|
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
HalRequestIpi(ULONG ProcessorNo)
|
HalRequestIpi(KAFFINITY TargetProcessors)
|
||||||
{
|
{
|
||||||
DPRINT("HalRequestIpi(ProcessorNo %d)\n", ProcessorNo);
|
/* FIXME: SMP HAL is...very broken */
|
||||||
APICSendIPI(1 << ProcessorNo,
|
DPRINT("HalRequestIpi(TargetProcessors %d)\n", TargetProcessors);
|
||||||
|
APICSendIPI(1 << TargetProcessors,
|
||||||
IPI_VECTOR|APIC_ICR0_LEVEL_DEASSERT|APIC_ICR0_DESTM);
|
IPI_VECTOR|APIC_ICR0_LEVEL_DEASSERT|APIC_ICR0_DESTM);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue