1
0
원본 프로젝트 : xt-sys/exectos

Use kernel boot stack for the idle thread

This commit is contained in:
2024-05-05 21:47:48 +02:00
부모 07d7e06b2b
커밋 c98ad3862b
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@@ -46,7 +46,7 @@ KepInitializeKernel(VOID)
CurrentProcess->Quantum = MAXCHAR;
/* Initialize Idle thread */
KeInitializeThread(CurrentProcess, CurrentThread, NULL, NULL, NULL, NULL, NULL, Prcb->DpcStack, TRUE);
KeInitializeThread(CurrentProcess, CurrentThread, NULL, NULL, NULL, NULL, NULL, ArKernelBootStack, TRUE);
CurrentThread->NextProcessor = Prcb->Number;
CurrentThread->Priority = THREAD_HIGH_PRIORITY;
CurrentThread->State = Running;

파일 보기

@@ -46,7 +46,7 @@ KepInitializeKernel(VOID)
CurrentProcess->Quantum = MAXCHAR;
/* Initialize Idle thread */
KeInitializeThread(CurrentProcess, CurrentThread, NULL, NULL, NULL, NULL, NULL, Prcb->DpcStack, TRUE);
KeInitializeThread(CurrentProcess, CurrentThread, NULL, NULL, NULL, NULL, NULL, ArKernelBootStack, TRUE);
CurrentThread->NextProcessor = Prcb->Number;
CurrentThread->Priority = THREAD_HIGH_PRIORITY;
CurrentThread->State = Running;