mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Replaced a dirty hack by another.
svn path=/trunk/; revision=14803
This commit is contained in:
parent
6f666f0ad4
commit
7519345381
1 changed files with 12 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue