Fix debug messages which previously forced NDEBUG to be off
Modified: trunk/reactos/hal/halx86/mp/mpconfig.c
_____
Modified: trunk/reactos/hal/halx86/mp/mpconfig.c
--- trunk/reactos/hal/halx86/mp/mpconfig.c 2005-05-26 13:45:08 UTC
(rev 15513)
+++ trunk/reactos/hal/halx86/mp/mpconfig.c 2005-05-26 13:45:48 UTC
(rev 15514)
@@ -16,7 +16,7 @@
#include <apic.h>
#include <ioapic.h>
-//#define NDEBUG
+#define NDEBUG
#include <internal/debug.h>
/* GLOBALS
******************************************************************/
@@ -58,7 +58,7 @@
IRQCount++;
}
-static PCHAR
+PCHAR
HaliMPFamily(ULONG Family,
ULONG Model)
{
@@ -275,9 +275,9 @@
{
PUCHAR pc = (PUCHAR)&Table->Signature;
- DPRINT1("Bad MP configuration block signature: %c%c%c%c\n",
+ DPRINT1("Bad MP configuration block signature: %c%c%c%c\n",
pc[0], pc[1], pc[2], pc[3]);
- KEBUGCHECK(0);
+ KEBUGCHECKEX(0, pc[0], pc[1], pc[2], pc[3]);
return FALSE;
}