mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[NTOS:KE/i386] KeStartAllProcessors(): ProcessorCount is a ULONG (#7455)
Let's be explicit.
Addendum to 516ccad
(0.4.15-dev-7016).
This commit is contained in:
parent
5d361b602d
commit
4c84e191fd
1 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@ NTAPI
|
||||||
KeStartAllProcessors(VOID)
|
KeStartAllProcessors(VOID)
|
||||||
{
|
{
|
||||||
PVOID KernelStack, DPCStack;
|
PVOID KernelStack, DPCStack;
|
||||||
SIZE_T ProcessorCount = 0;
|
ULONG ProcessorCount = 0;
|
||||||
PAPINFO APInfo;
|
PAPINFO APInfo;
|
||||||
|
|
||||||
while (TRUE)
|
while (TRUE)
|
||||||
|
@ -127,7 +127,7 @@ KeStartAllProcessors(VOID)
|
||||||
KeLoaderBlock->Thread = (ULONG_PTR)&APInfo->Pcr.Prcb->IdleThread;
|
KeLoaderBlock->Thread = (ULONG_PTR)&APInfo->Pcr.Prcb->IdleThread;
|
||||||
|
|
||||||
// Start the CPU
|
// Start the CPU
|
||||||
DPRINT("Attempting to Start a CPU with number: %u\n", ProcessorCount);
|
DPRINT("Attempting to Start a CPU with number: %lu\n", ProcessorCount);
|
||||||
if (!HalStartNextProcessor(KeLoaderBlock, ProcessorState))
|
if (!HalStartNextProcessor(KeLoaderBlock, ProcessorState))
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
@ -152,5 +152,5 @@ KeStartAllProcessors(VOID)
|
||||||
if (DPCStack)
|
if (DPCStack)
|
||||||
MmDeleteKernelStack(DPCStack, FALSE);
|
MmDeleteKernelStack(DPCStack, FALSE);
|
||||||
|
|
||||||
DPRINT1("KeStartAllProcessors: Successful AP startup count is %u\n", ProcessorCount);
|
DPRINT1("KeStartAllProcessors: Successful AP startup count is %lu\n", ProcessorCount);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue