Lower runlevel to APC before initializing idle process
This commit is contained in:
parent
c98ad3862b
commit
e4155ee008
|
@ -38,6 +38,9 @@ KepInitializeKernel(VOID)
|
|||
/* Save processor state */
|
||||
KepSaveProcessorState(&Prcb->ProcessorState);
|
||||
|
||||
/* Lower to APC runlevel */
|
||||
KeLowerRunLevel(APC_LEVEL);
|
||||
|
||||
/* Initialize Idle process */
|
||||
RtlInitializeListHead(&KepProcessListHead);
|
||||
PageDirectory[0] = 0;
|
||||
|
|
|
@ -38,6 +38,9 @@ KepInitializeKernel(VOID)
|
|||
/* Save processor state */
|
||||
KepSaveProcessorState(&Prcb->ProcessorState);
|
||||
|
||||
/* Lower to APC runlevel */
|
||||
KeLowerRunLevel(APC_LEVEL);
|
||||
|
||||
/* Initialize Idle process */
|
||||
RtlInitializeListHead(&KepProcessListHead);
|
||||
PageDirectory[0] = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user