mirror of
https://github.com/reactos/reactos.git
synced 2024-06-01 02:01:57 +00:00
- Define NDEBUG and demote several non-critical debug prints to DPRINT
svn path=/trunk/; revision=46238
This commit is contained in:
parent
6c45294b53
commit
e77675a0a9
|
@ -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))
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include <acpi_drivers.h>
|
||||
#include <glue.h>
|
||||
|
||||
//#define NDEBUG
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#define _COMPONENT ACPI_BUS_COMPONENT
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#include <acpi_drivers.h>
|
||||
#include <glue.h>
|
||||
|
||||
//#define NDEBUG
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <acpi_drivers.h>
|
||||
#include <glue.h>
|
||||
|
||||
//#define NDEBUG
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* Modified for ReactOS and latest ACPICA
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <acpi_bus.h>
|
||||
#include <acpi_drivers.h>
|
||||
|
||||
//#define NDEBUG
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#ifdef ALLOC_PRAGMA
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <acpi_drivers.h>
|
||||
|
||||
#include <wdmguid.h>
|
||||
//#define NDEBUG
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#ifdef ALLOC_PRAGMA
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <acpi_bus.h>
|
||||
#include <acpi_drivers.h>
|
||||
|
||||
//#define NDEBUG
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
NTSTATUS
|
||||
|
|
Loading…
Reference in a new issue