Use portable affinity mask for the idle process
已通過所有檢查
Builds / ExectOS (amd64) (push) Successful in 44s
Builds / ExectOS (i686) (push) Successful in 42s

The hardcoded value 0xFFFFFFFF restricted the idle process to the first 32 processors on 64-bit system.
此提交包含在:
2025-07-20 12:33:10 +02:00
提交者 CodingWorkshop Signing Team
父節點 fdf649fcec
當前提交 24b6cc2250

查看文件

@@ -93,7 +93,7 @@ KepStartKernel(VOID)
RtlInitializeListHead(&KepProcessListHead);
PageDirectory[0] = 0;
PageDirectory[1] = 0;
KeInitializeProcess(CurrentProcess, 0, 0xFFFFFFFF, PageDirectory, FALSE);
KeInitializeProcess(CurrentProcess, 0, MAXULONG_PTR, PageDirectory, FALSE);
CurrentProcess->Quantum = MAXCHAR;
/* Initialize Idle thread */