[NTOSKRNL]

KdInitSystem may be called after system set up if /CRASHDEBUG is enabled and a bugcheck or NMI occurs. With the INIT discard/delete now implemented, and KdInitSystem marked for INIT, this would have resulted in a crash...during a system crash, if /CRASHDEBUG had been enabled. Fun.

svn path=/trunk/; revision=55680
This commit is contained in:
Stefan Ginsberg 2012-02-18 13:39:08 +00:00
parent ab8f90859c
commit c718e04922
2 changed files with 0 additions and 7 deletions

View file

@ -11,11 +11,6 @@
#define NDEBUG
#include <debug.h>
#if defined (ALLOC_PRAGMA)
#pragma alloc_text(INIT, KdInitSystem)
#endif
/* Make bochs debug output in the very early boot phase available */
//#define AUTO_ENABLE_BOCHS
@ -172,7 +167,6 @@ KdpCallInitRoutine(ULONG BootPhase)
}
BOOLEAN
INIT_FUNCTION
NTAPI
KdInitSystem(ULONG BootPhase,
PLOADER_PARAMETER_BLOCK LoaderBlock)

View file

@ -70,7 +70,6 @@ KdRegisterDebuggerDataBlock(IN ULONG Tag,
BOOLEAN
NTAPI
INIT_FUNCTION
KdInitSystem(IN ULONG BootPhase,
IN PLOADER_PARAMETER_BLOCK LoaderBlock)
{