<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hello<br><br>Yes, I do know that ASSERT(FALSE) only occur in debug mode. However, I think this change is safe. Many of the KEBUGCHECK(0) usages are for unimplemented or very rare cases which shouldn't be hit, and the largest use of KEBUGCHECK(0) was in Mm (and the worst that could happen there is that ros survives a little longer).<br><br>Anyway, I will look into re-adding KeBugCheck with proper bugcodes where appropriate.<br><br><br><br>&gt; Date: Sun, 24 Aug 2008 20:15:38 +0200<br>&gt; From: hpoussin@reactos.org<br>&gt; To: ros-dev@reactos.org<br>&gt; Subject: Re: [ros-dev] [ros-diffs] [sginsberg] 35600: - Remove KEBUGCHECK and KEBUGCHECKEX macros - Replace "KeBugCheck(0)" by ASSERT(FALSE) - Replace deprecated "CPRINT" by DRINT1<br>&gt; <br>&gt; sginsberg@svn.reactos.org a écrit :<br>&gt; &gt; Author: sginsberg<br>&gt; &gt; Date: Sun Aug 24 10:48:05 2008<br>&gt; &gt; New Revision: 35600<br>&gt; &gt; <br>&gt; &gt; URL: http://svn.reactos.org/svn/reactos?rev=35600&amp;view=rev<br>&gt; &gt; Log:<br>&gt; &gt; - Remove KEBUGCHECK and KEBUGCHECKEX macros<br>&gt; &gt; - Replace "KeBugCheck(0)" by ASSERT(FALSE)<br>&gt; &gt; - Replace deprecated "CPRINT" by DRINT1<br>&gt; &gt; <br>&gt; <br>&gt; You probably understand that KEBUGCHECK(0) is *NOT* the same as <br>&gt; ASSERT(FALSE)<br>&gt; <br>&gt; ASSERT(FALSE) is valid only in debug mode, and lets the code continue in <br>&gt; release mode.<br>&gt; KEBUGCHECK stops the execution also in release mode.<br>&gt; <br>&gt; For example, in ntoskrnl/dbgk/dbgkobj.c, code now continues even if <br>&gt; DbgkpQueueMessage failed. Are you sure it is safe to continue in that case?<br>&gt; (same question applies for other locations)<br>&gt; <br>&gt; Hervé<br>&gt; _______________________________________________<br>&gt; Ros-dev mailing list<br>&gt; Ros-dev@reactos.org<br>&gt; http://www.reactos.org/mailman/listinfo/ros-dev<br><br /><hr />Discover the new Windows Vista <a href='http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>