Author: cgutman
Date: Wed Mar 17 06:30:22 2010
New Revision: 46238
URL:
http://svn.reactos.org/svn/reactos?rev=46238&view=rev
Log:
- Define NDEBUG and demote several non-critical debug prints to DPRINT
Modified:
trunk/reactos/drivers/bus/acpi/acpienum.c
trunk/reactos/drivers/bus/acpi/busmgr/bus.c
trunk/reactos/drivers/bus/acpi/busmgr/power.c
trunk/reactos/drivers/bus/acpi/busmgr/system.c
trunk/reactos/drivers/bus/acpi/busmgr/utils.c
trunk/reactos/drivers/bus/acpi/buspdo.c
trunk/reactos/drivers/bus/acpi/main.c
trunk/reactos/drivers/bus/acpi/osl.c
trunk/reactos/drivers/bus/acpi/pnp.c
trunk/reactos/drivers/bus/acpi/power.c
Modified: trunk/reactos/drivers/bus/acpi/acpienum.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/acpienum.…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/acpienum.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/acpienum.c [iso-8859-1] Wed Mar 17 06:30:22 2010
@@ -13,7 +13,7 @@
#include <acpi_drivers.h>
#include <list.h>
-//#define NDEBUG
+#define NDEBUG
#include <debug.h>
#define HAS_CHILDREN(d) ((d)->children.next != &((d)->children))
Modified: trunk/reactos/drivers/bus/acpi/busmgr/bus.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/busmgr/bu…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/busmgr/bus.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/busmgr/bus.c [iso-8859-1] Wed Mar 17 06:30:22 2010
@@ -34,7 +34,7 @@
#include <acpi_drivers.h>
#include <glue.h>
-//#define NDEBUG
+#define NDEBUG
#include <debug.h>
#define _COMPONENT ACPI_BUS_COMPONENT
Modified: trunk/reactos/drivers/bus/acpi/busmgr/power.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/busmgr/po…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/busmgr/power.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/busmgr/power.c [iso-8859-1] Wed Mar 17 06:30:22 2010
@@ -46,7 +46,7 @@
#include <acpi_drivers.h>
#include <glue.h>
-//#define NDEBUG
+#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/drivers/bus/acpi/busmgr/system.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/busmgr/sy…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/busmgr/system.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/busmgr/system.c [iso-8859-1] Wed Mar 17 06:30:22 2010
@@ -32,7 +32,7 @@
#include <acpi_drivers.h>
#include "list.h"
-//#define NDEBUG
+#define NDEBUG
#include <debug.h>
ACPI_STATUS acpi_system_save_state(UINT32);
Modified: trunk/reactos/drivers/bus/acpi/busmgr/utils.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/busmgr/ut…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/busmgr/utils.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/busmgr/utils.c [iso-8859-1] Wed Mar 17 06:30:22 2010
@@ -30,7 +30,7 @@
#include <acpi_drivers.h>
#include <glue.h>
-//#define NDEBUG
+#define NDEBUG
#include <debug.h>
/* Modified for ReactOS and latest ACPICA
Modified: trunk/reactos/drivers/bus/acpi/buspdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/buspdo.c?…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/buspdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/buspdo.c [iso-8859-1] Wed Mar 17 06:30:22 2010
@@ -8,7 +8,7 @@
#include <acpi_bus.h>
#include <acpi_drivers.h>
-//#define NDEBUG
+#define NDEBUG
#include <debug.h>
#ifdef ALLOC_PRAGMA
Modified: trunk/reactos/drivers/bus/acpi/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/main.c?re…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/main.c [iso-8859-1] Wed Mar 17 06:30:22 2010
@@ -6,7 +6,7 @@
#include <acpi_bus.h>
#include <acpi_drivers.h>
-//#define NDEBUG
+#define NDEBUG
#include <debug.h>
#ifdef ALLOC_PRAGMA
@@ -35,7 +35,7 @@
DPRINT("Add Device: 0x%p\n", PhysicalDeviceObject);
- DPRINT1("#################### Bus_CreateClose Creating FDO Device
####################\n");
+ DPRINT("#################### Bus_CreateClose Creating FDO Device
####################\n");
status = IoCreateDevice(DriverObject,
sizeof(FDO_DEVICE_DATA),
NULL,
@@ -134,7 +134,7 @@
goto End;
}
- DPRINT1("AddDevice: %p to %p->%p (%ws) \n",
+ DPRINT("AddDevice: %p to %p->%p (%ws) \n",
deviceObject,
deviceData->NextLowerDriver,
PhysicalDeviceObject,
Modified: trunk/reactos/drivers/bus/acpi/osl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/osl.c?rev…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/osl.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/osl.c [iso-8859-1] Wed Mar 17 06:30:22 2010
@@ -90,7 +90,7 @@
ACPI_STATUS
AcpiOsTerminate(void)
{
- DPRINT1("AcpiOsTerminate() called\n");
+ DPRINT("AcpiOsTerminate() called\n");
if (AcpiInterruptHandlerRegistered)
AcpiOsRemoveInterruptHandler(AcpiIrqNumber, AcpiIrqHandler);
@@ -329,7 +329,7 @@
void
AcpiOsStall (UINT32 microseconds)
{
- DPRINT1("AcpiOsStall %d\n",microseconds);
+ DPRINT("AcpiOsStall %d\n",microseconds);
KeStallExecutionProcessor(microseconds);
return;
}
@@ -337,7 +337,7 @@
void
AcpiOsSleep (ACPI_INTEGER milliseconds)
{
- DPRINT1("AcpiOsSleep %d\n", milliseconds);
+ DPRINT("AcpiOsSleep %d\n", milliseconds);
KeStallExecutionProcessor(milliseconds*1000);
return;
}
@@ -664,7 +664,7 @@
ACPI_OSD_EXEC_CALLBACK Function,
void *Context)
{
- DPRINT1("AcpiOsExecute\n");
+ DPRINT("AcpiOsExecute\n");
KeInsertQueueDpc(&AcpiDpc, (PVOID)Function, (PVOID)Context);
Modified: trunk/reactos/drivers/bus/acpi/pnp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/pnp.c?rev…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/pnp.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/pnp.c [iso-8859-1] Wed Mar 17 06:30:22 2010
@@ -7,7 +7,7 @@
#include <acpi_drivers.h>
#include <wdmguid.h>
-//#define NDEBUG
+#define NDEBUG
#include <debug.h>
#ifdef ALLOC_PRAGMA
Modified: trunk/reactos/drivers/bus/acpi/power.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/power.c?r…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/power.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/power.c [iso-8859-1] Wed Mar 17 06:30:22 2010
@@ -6,7 +6,7 @@
#include <acpi_bus.h>
#include <acpi_drivers.h>
-//#define NDEBUG
+#define NDEBUG
#include <debug.h>
NTSTATUS