Correct initial StackCount value to reflect underlying type width
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 35s
Builds / ExectOS (i686, release) (push) Successful in 32s
Builds / ExectOS (amd64, release) (push) Successful in 59s
Builds / ExectOS (i686, debug) (push) Successful in 56s

This commit is contained in:
2026-06-17 11:12:11 +02:00
parent 780bf92b40
commit ffcb2dbeda

View File

@@ -149,7 +149,7 @@ KE::KProcess::InitializeProcess(IN OUT PKPROCESS Process,
Process->DirectoryTable[1] = DirectoryTable[1]; Process->DirectoryTable[1] = DirectoryTable[1];
/* Set the initial stack count and process quantum */ /* Set the initial stack count and process quantum */
Process->StackCount = MAXSHORT; Process->StackCount = MAXULONG_PTR;
Process->Quantum = THREAD_QUANTUM; Process->Quantum = THREAD_QUANTUM;
/* Set IOPM offset */ /* Set IOPM offset */