mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +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:
parent
1a41825a28
commit
9629690528
3 changed files with 5 additions and 3 deletions
|
@ -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 ********************************************************************/
|
||||
|
|
Loading…
Reference in a new issue