mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[VMX_SVGA] Demote 3 DPRINT1() and define NDEBUG (#5843)
Addendum to 486e587
(r45778).
This commit is contained in:
parent
c6ec8d924e
commit
bac646f9fe
1 changed files with 6 additions and 4 deletions
|
@ -9,7 +9,9 @@
|
||||||
/* INCLUDES *******************************************************************/
|
/* INCLUDES *******************************************************************/
|
||||||
|
|
||||||
#include "precomp.h"
|
#include "precomp.h"
|
||||||
#include "debug.h"
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
/* GLOBALS ********************************************************************/
|
/* GLOBALS ********************************************************************/
|
||||||
|
|
||||||
|
@ -89,7 +91,7 @@ VmxFindAdapter(IN PVOID HwDeviceExtension,
|
||||||
{
|
{
|
||||||
VP_STATUS Status;
|
VP_STATUS Status;
|
||||||
PHW_DEVICE_EXTENSION DeviceExtension = HwDeviceExtension;
|
PHW_DEVICE_EXTENSION DeviceExtension = HwDeviceExtension;
|
||||||
DPRINT1("VMX searching for adapter\n");
|
DPRINT("VMX searching for adapter\n");
|
||||||
|
|
||||||
/* Zero out the fields */
|
/* Zero out the fields */
|
||||||
VideoPortZeroMemory(DeviceExtension, sizeof(HW_DEVICE_EXTENSION));
|
VideoPortZeroMemory(DeviceExtension, sizeof(HW_DEVICE_EXTENSION));
|
||||||
|
@ -104,7 +106,7 @@ VmxFindAdapter(IN PVOID HwDeviceExtension,
|
||||||
|
|
||||||
/* Initialize the device extension and find the adapter */
|
/* Initialize the device extension and find the adapter */
|
||||||
Status = VmxInitDevice(DeviceExtension);
|
Status = VmxInitDevice(DeviceExtension);
|
||||||
DPRINT1("Init status: %lx\n", Status);
|
DPRINT("Init status: %lx\n", Status);
|
||||||
if (Status != NO_ERROR) return ERROR_DEV_NOT_EXIST;
|
if (Status != NO_ERROR) return ERROR_DEV_NOT_EXIST;
|
||||||
|
|
||||||
/* Save this adapter extension */
|
/* Save this adapter extension */
|
||||||
|
@ -249,7 +251,7 @@ DriverEntry(IN PVOID Context1,
|
||||||
VIDEO_HW_INITIALIZATION_DATA InitData;
|
VIDEO_HW_INITIALIZATION_DATA InitData;
|
||||||
|
|
||||||
/* Zero initialization structure and array of extensions, one per screen */
|
/* Zero initialization structure and array of extensions, one per screen */
|
||||||
DPRINT1("VMX-SVGAII Loading...\n");
|
DPRINT("VMX-SVGAII Loading...\n");
|
||||||
VideoPortZeroMemory(VmxDeviceExtensionArray, sizeof(VmxDeviceExtensionArray));
|
VideoPortZeroMemory(VmxDeviceExtensionArray, sizeof(VmxDeviceExtensionArray));
|
||||||
VideoPortZeroMemory(&InitData, sizeof(InitData));
|
VideoPortZeroMemory(&InitData, sizeof(InitData));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue