thrdini.c (07de9d1d) thrdini.c (5f1d79f0)
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: ntoskrnl/ke/i386/thrdini.c
5 * PURPOSE: i386 Thread Context Creation
6 * PROGRAMMER: Alex Ionescu (alex@relsoft.net)
7 */
8

--- 252 unchanged lines hidden (view full) ---

261 CtxSwitchFrame->RetAddr = KiThreadStartup;
262 CtxSwitchFrame->ApcBypassDisable = TRUE;
263 CtxSwitchFrame->ExceptionList = EXCEPTION_CHAIN_END;
264
265 /* Save back the new value of the kernel stack. */
266 Thread->KernelStack = (PVOID)CtxSwitchFrame;
267}
268
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: ntoskrnl/ke/i386/thrdini.c
5 * PURPOSE: i386 Thread Context Creation
6 * PROGRAMMER: Alex Ionescu (alex@relsoft.net)
7 */
8

--- 252 unchanged lines hidden (view full) ---

261 CtxSwitchFrame->RetAddr = KiThreadStartup;
262 CtxSwitchFrame->ApcBypassDisable = TRUE;
263 CtxSwitchFrame->ExceptionList = EXCEPTION_CHAIN_END;
264
265 /* Save back the new value of the kernel stack. */
266 Thread->KernelStack = (PVOID)CtxSwitchFrame;
267}
268
269DECLSPEC_NORETURN
269VOID
270VOID
270FASTCALL
271KiIdleLoop(VOID)
272{
273 PKPRCB Prcb = KeGetCurrentPrcb();
274 PKTHREAD OldThread, NewThread;
275
276 /* Now loop forever */
277 while (TRUE)
278 {

--- 239 unchanged lines hidden ---
271KiIdleLoop(VOID)
272{
273 PKPRCB Prcb = KeGetCurrentPrcb();
274 PKTHREAD OldThread, NewThread;
275
276 /* Now loop forever */
277 while (TRUE)
278 {

--- 239 unchanged lines hidden ---