Fix debug messages which previously forced NDEBUG to be off
authorAlex Ionescu <aionescu@gmail.com>
Thu, 26 May 2005 13:45:48 +0000 (13:45 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Thu, 26 May 2005 13:45:48 +0000 (13:45 +0000)
svn path=/trunk/; revision=15514

reactos/hal/halx86/mp/mpconfig.c

index e624887..fe1bb3e 100644 (file)
@@ -16,7 +16,7 @@
 #include <apic.h>\r
 #include <ioapic.h>\r
 \r
-//#define NDEBUG\r
+#define NDEBUG\r
 #include <internal/debug.h>\r
 \r
 /* GLOBALS ******************************************************************/\r
@@ -58,7 +58,7 @@ HaliMPIntSrcInfo(PMP_CONFIGURATION_INTSRC m)
   IRQCount++;\r
 }\r
 \r
-static PCHAR \r
+PCHAR \r
 HaliMPFamily(ULONG Family,\r
             ULONG Model)\r
 {\r
@@ -275,9 +275,9 @@ HaliReadMPConfigTable(PMP_CONFIGURATION_TABLE Table)
      {\r
        PUCHAR pc = (PUCHAR)&Table->Signature;\r
        \r
-       DPRINT1("Bad MP configuration block signature: %c%c%c%c\n", \r
+       DPRINT1("Bad MP configuration block signature: %c%c%c%c\n",\r
                pc[0], pc[1], pc[2], pc[3]);\r
-       KEBUGCHECK(0);\r
+       KEBUGCHECKEX(0, pc[0], pc[1], pc[2], pc[3]);\r
        return FALSE;\r
      }\r
 \r