mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 12:18:13 +00:00
[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:
parent
ab8f90859c
commit
c718e04922
|
@ -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)
|
||||
|
|
|
@ -70,7 +70,6 @@ KdRegisterDebuggerDataBlock(IN ULONG Tag,
|
|||
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
INIT_FUNCTION
|
||||
KdInitSystem(IN ULONG BootPhase,
|
||||
IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue