Fixed the stack for the first thread.
Modified: trunk/reactos/ntoskrnl/ps/idle.c
_____
Modified: trunk/reactos/ntoskrnl/ps/idle.c
--- trunk/reactos/ntoskrnl/ps/idle.c 2006-01-15 16:47:18 UTC (rev
20895)
+++ trunk/reactos/ntoskrnl/ps/idle.c 2006-01-15 18:21:43 UTC (rev
20896)
@@ -64,14 +64,14 @@
{
PETHREAD Thread;
ULONG_PTR KernelStack;
- extern unsigned int init_stack;
+ extern unsigned int init_stack_top;
Thread = ExAllocatePool(NonPagedPool, sizeof(ETHREAD));
RtlZeroMemory(Thread, sizeof(ETHREAD));
Thread->ThreadsProcess = Process;
if (First)
{
- KernelStack = init_stack;
+ KernelStack = init_stack_top;
}
else
{