- Define NDEBUG and demote several non-critical debug prints to DPRINT

svn path=/trunk/; revision=46238
This commit is contained in:
Cameron Gutman 2010-03-17 05:30:22 +00:00
parent 6c45294b53
commit e77675a0a9
10 changed files with 15 additions and 15 deletions

View file

@ -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))

View file

@ -34,7 +34,7 @@
#include <acpi_drivers.h>
#include <glue.h>
//#define NDEBUG
#define NDEBUG
#include <debug.h>
#define _COMPONENT ACPI_BUS_COMPONENT

View file

@ -46,7 +46,7 @@
#include <acpi_drivers.h>
#include <glue.h>
//#define NDEBUG
#define NDEBUG
#include <debug.h>

View file

@ -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);

View file

@ -30,7 +30,7 @@
#include <acpi_drivers.h>
#include <glue.h>
//#define NDEBUG
#define NDEBUG
#include <debug.h>
/* Modified for ReactOS and latest ACPICA

View file

@ -8,7 +8,7 @@
#include <acpi_bus.h>
#include <acpi_drivers.h>
//#define NDEBUG
#define NDEBUG
#include <debug.h>
#ifdef ALLOC_PRAGMA

View file

@ -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 @@ Bus_AddDevice(
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 @@ Bus_AddDevice(
goto End;
}
DPRINT1("AddDevice: %p to %p->%p (%ws) \n",
DPRINT("AddDevice: %p to %p->%p (%ws) \n",
deviceObject,
deviceData->NextLowerDriver,
PhysicalDeviceObject,

View file

@ -90,7 +90,7 @@ AcpiOsInitialize (void)
ACPI_STATUS
AcpiOsTerminate(void)
{
DPRINT1("AcpiOsTerminate() called\n");
DPRINT("AcpiOsTerminate() called\n");
if (AcpiInterruptHandlerRegistered)
AcpiOsRemoveInterruptHandler(AcpiIrqNumber, AcpiIrqHandler);
@ -329,7 +329,7 @@ AcpiOsRemoveInterruptHandler (
void
AcpiOsStall (UINT32 microseconds)
{
DPRINT1("AcpiOsStall %d\n",microseconds);
DPRINT("AcpiOsStall %d\n",microseconds);
KeStallExecutionProcessor(microseconds);
return;
}
@ -337,7 +337,7 @@ AcpiOsStall (UINT32 microseconds)
void
AcpiOsSleep (ACPI_INTEGER milliseconds)
{
DPRINT1("AcpiOsSleep %d\n", milliseconds);
DPRINT("AcpiOsSleep %d\n", milliseconds);
KeStallExecutionProcessor(milliseconds*1000);
return;
}
@ -664,7 +664,7 @@ AcpiOsExecute (
ACPI_OSD_EXEC_CALLBACK Function,
void *Context)
{
DPRINT1("AcpiOsExecute\n");
DPRINT("AcpiOsExecute\n");
KeInsertQueueDpc(&AcpiDpc, (PVOID)Function, (PVOID)Context);

View file

@ -7,7 +7,7 @@
#include <acpi_drivers.h>
#include <wdmguid.h>
//#define NDEBUG
#define NDEBUG
#include <debug.h>
#ifdef ALLOC_PRAGMA

View file

@ -6,7 +6,7 @@
#include <acpi_bus.h>
#include <acpi_drivers.h>
//#define NDEBUG
#define NDEBUG
#include <debug.h>
NTSTATUS