Correct initial StackCount value to reflect underlying type width
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user