Replaced a dirty hack by another.

svn path=/trunk/; revision=14803
This commit is contained in:
Hartmut Birr 2005-04-25 17:57:57 +00:00
parent 6f666f0ad4
commit 7519345381

View file

@ -103,8 +103,18 @@ KiSystemStartup(BOOLEAN BootProcessor)
MiFreeInitMemory();
/* Never returns */
PsIdleThreadMain(NULL);
#if 0
/* FIXME:
* The initial thread isn't a real ETHREAD object, we cannot call PspExitThread.
*/
PspExitThread(STATUS_SUCCESS);
#else
while (1) {
LARGE_INTEGER Timeout;
Timeout.QuadPart = 0x7fffffffffffffffLL;
KeDelayExecutionThread(KernelMode, FALSE, &Timeout);
}
#endif
} else {
/* Do application processor initialization */