mirror of
https://github.com/reactos/reactos.git
synced 2024-09-08 19:59:49 +00:00
[freeldr] Add KeBugCheckEx
svn path=/trunk/; revision=45814
This commit is contained in:
parent
4f1c346e27
commit
c1f8063dc7
|
@ -328,3 +328,22 @@ MsgBoxPrint(const char *Format, ...)
|
|||
return 0;
|
||||
}
|
||||
|
||||
NTKERNELAPI
|
||||
DECLSPEC_NORETURN
|
||||
VOID
|
||||
NTAPI
|
||||
KeBugCheckEx(
|
||||
IN ULONG BugCheckCode,
|
||||
IN ULONG_PTR BugCheckParameter1,
|
||||
IN ULONG_PTR BugCheckParameter2,
|
||||
IN ULONG_PTR BugCheckParameter3,
|
||||
IN ULONG_PTR BugCheckParameter4)
|
||||
{
|
||||
char Buffer[64];
|
||||
sprintf(Buffer, "*** STOP: 0x%08lX (0x%08lX, 0x%08lX, 0x%08lX, 0x%08lX)",
|
||||
BugCheckCode, BugCheckParameter1, BugCheckParameter2,
|
||||
BugCheckParameter3, BugCheckParameter4);
|
||||
UiMessageBoxCritical(Buffer);
|
||||
assert(FALSE);
|
||||
for (;;);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue