mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[NTOSKRNL]
- Fix KdComponentTableSize - Make assembly instruction in KiCallUserMode MASM compatible - silence some KD internal debug prints The MSVC bootcd boots to desktop, but crashes with BAD_POOL_HEADER before 2nd stage setup starts. svn path=/trunk/; revision=52513
This commit is contained in:
@@ -356,7 +356,7 @@ PULONG KdComponentTable[104] =
|
||||
&Kd_ENDOFTABLE_Mask,
|
||||
};
|
||||
|
||||
ULONG KdComponentTableSize = sizeof(KdComponentTable);
|
||||
ULONG KdComponentTableSize = sizeof(KdComponentTable) / sizeof(KdComponentTable[0]);
|
||||
|
||||
//
|
||||
// Debugger Data
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <internal/i386/asmmacro.S>
|
||||
|
||||
EXTERN _MmGrowKernelStack@4:PROC
|
||||
EXTERN _KeUserCallbackDispatcher:PROC
|
||||
EXTERN _KeUserCallbackDispatcher:DWORD
|
||||
EXTERN @KiServiceExit@8:PROC
|
||||
EXTERN _KeGetCurrentIrql@0:PROC
|
||||
EXTERN _KeBugCheckEx@20:PROC
|
||||
@@ -190,7 +190,7 @@ DontBias:
|
||||
|
||||
/* Get user-mode dispatcher address and set it as EIP */
|
||||
SetEip:
|
||||
mov eax, _KeUserCallbackDispatcher
|
||||
mov eax, dword ptr [_KeUserCallbackDispatcher]
|
||||
mov [esp+KTRAP_FRAME_EIP], eax
|
||||
|
||||
/* Set the exception list */
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
#ifndef _WINKD_
|
||||
#define KdpDprintf DPRINT
|
||||
#elif defined(NDEBUG)
|
||||
#define KdpDprintf(...)
|
||||
#endif
|
||||
|
||||
/* GLOBALS ********************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user