hbirr(a)svn.reactos.com wrote:
Print more informations on a BSOD by enabling the debug
prints to the screen.
Updated files:
trunk/reactos/ntoskrnl/ke/bug.c
Hi...
Erm...I don't understand this change. BSOD data is already printed on
screen during a crash.
The only thing that's not printed is ROS-Specific Debug Data, because
that's part of "debug output" and not of an official BSOD.
At least that's how it's fundamentaly defined... I really don't like
this hack, although I know you'll probably say you want the debug data
on screen, but my question is why don't you use /DEBUGPORT=SCREEN for
this? You're hacking the kernel to display debug data when debugging is
off... And I hate the #if 0 #else #endif stuff you've added, it makes
this hack even nastier! If you *really* want to bypass the debuging
design and force debug-data to be printed when it shouldn't, at least
make a nicer hack please (ie, modify KeDumpStackFrames to use
InbvDisplayString). I'm sorry but this patch is unacceptable to me...it
makes the code look like shit.
Best regards,
Alex Ionescu