[ros-diffs] [hbirr] 20896: Fixed the stack for the first thread.
hbirr at svn.reactos.org
hbirr at svn.reactos.org
Sun Jan 15 19:22:06 CET 2006
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
{
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20060115/408c5e38/attachment.html
More information about the Ros-diffs
mailing list