mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Fixed the MP build.
svn path=/trunk/; revision=17863
This commit is contained in:
parent
b3f6e62113
commit
a9ef5d9d40
4 changed files with 5 additions and 5 deletions
|
@ -80,7 +80,7 @@ ShutdownThreadMain(PVOID Context)
|
||||||
KeInitializeDpc(Dpc, KiHaltProcessorDpcRoutine, (PVOID)Dpc);
|
KeInitializeDpc(Dpc, KiHaltProcessorDpcRoutine, (PVOID)Dpc);
|
||||||
KeSetTargetProcessorDpc(Dpc, i);
|
KeSetTargetProcessorDpc(Dpc, i);
|
||||||
KeInsertQueueDpc(Dpc, NULL, NULL);
|
KeInsertQueueDpc(Dpc, NULL, NULL);
|
||||||
KiIpiSendRequest(1 << i, IPI_REQUEST_DPC);
|
KiIpiSendRequest(1 << i, IPI_DPC);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
KeLowerIrql(OldIrql);
|
KeLowerIrql(OldIrql);
|
||||||
|
|
|
@ -341,7 +341,7 @@ KiInsertQueueApc(PKAPC Apc,
|
||||||
if (Prcb->CurrentThread == Thread)
|
if (Prcb->CurrentThread == Thread)
|
||||||
{
|
{
|
||||||
ASSERT (CurrentPrcb != Prcb);
|
ASSERT (CurrentPrcb != Prcb);
|
||||||
KiIpiSendRequest(Prcb->SetMember, IPI_REQUEST_APC);
|
KiIpiSendRequest(Prcb->SetMember, IPI_APC);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -428,7 +428,7 @@ KeBugCheckWithTf(ULONG BugCheckCode,
|
||||||
if (i != (LONG)KeGetCurrentProcessorNumber())
|
if (i != (LONG)KeGetCurrentProcessorNumber())
|
||||||
{
|
{
|
||||||
/* Send the IPI and give them one second to catch up */
|
/* Send the IPI and give them one second to catch up */
|
||||||
KiIpiSendRequest(1 << i, IPI_REQUEST_FREEZE);
|
KiIpiSendRequest(1 << i, IPI_FREEZE);
|
||||||
KeStallExecutionProcessor(1000000);
|
KeStallExecutionProcessor(1000000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -246,10 +246,10 @@ KeInsertQueueDpc(PKDPC Dpc,
|
||||||
|
|
||||||
if (Dpc->Number >= MAXIMUM_PROCESSORS) {
|
if (Dpc->Number >= MAXIMUM_PROCESSORS) {
|
||||||
|
|
||||||
KiIpiSendRequest(1 << (Dpc->Number - MAXIMUM_PROCESSORS), IPI_REQUEST_DPC);
|
KiIpiSendRequest(1 << (Dpc->Number - MAXIMUM_PROCESSORS), IPI_DPC);
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
KiIpiSendRequest(1 << Dpc->Number, IPI_REQUEST_DPC);
|
KiIpiSendRequest(1 << Dpc->Number, IPI_DPC);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue