Correct initial StackCount value to reflect underlying type width

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];
/* Set the initial stack count and process quantum */
Process->StackCount = MAXSHORT;
Process->StackCount = MAXULONG_PTR;
Process->Quantum = THREAD_QUANTUM;
/* Set IOPM offset */