https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5abf0c76b7251b1b03d8e…
commit 5abf0c76b7251b1b03d8e326bd95951566e1bae7
Author: Oleg Dubinskiy <oleg.dubinskij30(a)gmail.com>
AuthorDate: Wed Jan 24 17:52:56 2024 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Wed Jan 24 17:52:56 2024 +0100
[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
---
ntoskrnl/ke/arm/kiinit.c | 2 +-
ntoskrnl/ke/i386/kiinit.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/ke/arm/kiinit.c b/ntoskrnl/ke/arm/kiinit.c
index 86db2d9377f..34413f17a57 100644
--- a/ntoskrnl/ke/arm/kiinit.c
+++ b/ntoskrnl/ke/arm/kiinit.c
@@ -101,7 +101,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
PageDirectory[1] = 0;
KeInitializeProcess(InitProcess,
0,
- 0xFFFFFFFF,
+ MAXULONG_PTR,
PageDirectory,
FALSE);
InitProcess->QuantumReset = MAXCHAR;
diff --git a/ntoskrnl/ke/i386/kiinit.c b/ntoskrnl/ke/i386/kiinit.c
index 2620885156a..e3ec9ed94bf 100644
--- a/ntoskrnl/ke/i386/kiinit.c
+++ b/ntoskrnl/ke/i386/kiinit.c
@@ -527,7 +527,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
PageDirectory[1] = 0;
KeInitializeProcess(InitProcess,
0,
- 0xFFFFFFFF,
+ MAXULONG_PTR,
PageDirectory,
FALSE);
InitProcess->QuantumReset = MAXCHAR;