1
0
forkattu lähteestä xt-sys/exectos

Lower runlevel to APC before initializing idle process

This commit is contained in:
2024-05-05 21:48:58 +02:00
vanhempi c98ad3862b
commit e4155ee008
2 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa

Näytä tiedosto

@@ -38,6 +38,9 @@ KepInitializeKernel(VOID)
/* Save processor state */ /* Save processor state */
KepSaveProcessorState(&Prcb->ProcessorState); KepSaveProcessorState(&Prcb->ProcessorState);
/* Lower to APC runlevel */
KeLowerRunLevel(APC_LEVEL);
/* Initialize Idle process */ /* Initialize Idle process */
RtlInitializeListHead(&KepProcessListHead); RtlInitializeListHead(&KepProcessListHead);
PageDirectory[0] = 0; PageDirectory[0] = 0;

Näytä tiedosto

@@ -38,6 +38,9 @@ KepInitializeKernel(VOID)
/* Save processor state */ /* Save processor state */
KepSaveProcessorState(&Prcb->ProcessorState); KepSaveProcessorState(&Prcb->ProcessorState);
/* Lower to APC runlevel */
KeLowerRunLevel(APC_LEVEL);
/* Initialize Idle process */ /* Initialize Idle process */
RtlInitializeListHead(&KepProcessListHead); RtlInitializeListHead(&KepProcessListHead);
PageDirectory[0] = 0; PageDirectory[0] = 0;