[NTOS:KE/x86/arm] Use a better boot process affinity value (#6399)

Use a value that is independent of the CPU bitness.
Addendum to commit 96d5b6281
This commit is contained in:
Oleg Dubinskiy 2024-01-24 17:52:56 +01:00 committed by GitHub
parent 927b183aa9
commit 5abf0c76b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -101,7 +101,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
PageDirectory[1] = 0;
KeInitializeProcess(InitProcess,
0,
0xFFFFFFFF,
MAXULONG_PTR,
PageDirectory,
FALSE);
InitProcess->QuantumReset = MAXCHAR;

View file

@ -527,7 +527,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
PageDirectory[1] = 0;
KeInitializeProcess(InitProcess,
0,
0xFFFFFFFF,
MAXULONG_PTR,
PageDirectory,
FALSE);
InitProcess->QuantumReset = MAXCHAR;