[Wine-patches] Hide needless messages.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пт Окт 17 17:54:29 MSD 2008


Патч к eterhack.
----------- следующая часть -----------
From c1c382cc443fa8792071d1c7c1da2d5e18b53f07 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Fri, 17 Oct 2008 17:48:44 +0400
Subject: [PATCH] Hide needless messages.

---
 dlls/hal/hal.c               |    8 ++++----
 dlls/ntdll/rtl.c             |    2 +-
 dlls/ntoskrnl.exe/ntoskrnl.c |   30 +++++++++++++++---------------
 dlls/usbd.sys/usbd.c         |    2 +-
 4 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/dlls/hal/hal.c b/dlls/hal/hal.c
index ecb0a3e..cdb17ba 100644
--- a/dlls/hal/hal.c
+++ b/dlls/hal/hal.c
@@ -60,7 +60,7 @@ void WINAPI __regs_ExAcquireFastMutex(PFAST_MUTEX FastMutex)
 void WINAPI ExAcquireFastMutex(PFAST_MUTEX FastMutex)
 #endif
 {
-    FIXME( "(%p) stub!\n", FastMutex );
+    TRACE( "(%p) stub!\n", FastMutex );
 }
 
 
@@ -71,7 +71,7 @@ void WINAPI __regs_ExReleaseFastMutex(PFAST_MUTEX FastMutex)
 void WINAPI ExReleaseFastMutex(PFAST_MUTEX FastMutex)
 #endif
 {
-    FIXME( "(%p) stub!\n", FastMutex );
+    TRACE( "(%p) stub!\n", FastMutex );
 }
 
 
@@ -82,7 +82,7 @@ KIRQL WINAPI __regs_KfAcquireSpinLock(PKSPIN_LOCK SpinLock)
 KIRQL WINAPI KfAcquireSpinLock(PKSPIN_LOCK SpinLock)
 #endif
 {
-    FIXME( "(%p) stub!\n", SpinLock );
+    TRACE( "(%p) stub!\n", SpinLock );
 
     return (KIRQL)0;
 }
@@ -119,7 +119,7 @@ VOID WINAPI __regs_KfReleaseSpinLock(PKSPIN_LOCK SpinLock, KIRQL NewIrql)
 VOID WINAPI KfReleaseSpinLock(PKSPIN_LOCK SpinLock, KIRQL NewIrql)
 #endif
 {
-    FIXME( "(%p %u) stub!\n", SpinLock, NewIrql );
+    TRACE( "(%p %u) stub!\n", SpinLock, NewIrql );
 }
 
 ULONG WINAPI HalGetBusData(BUS_DATA_TYPE BusDataType, ULONG BusNumber, ULONG SlotNumber, PVOID Buffer, ULONG Length)
diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c
index a4d1dac..d118c7d 100644
--- a/dlls/ntdll/rtl.c
+++ b/dlls/ntdll/rtl.c
@@ -309,7 +309,7 @@ NTSTATUS WINAPIV DbgPrint(LPCSTR fmt, ...)
   vsprintf(buf,fmt, args);
   va_end(args);
 
-  MESSAGE("DbgPrint says: %s",buf);
+  TRACE("%s",buf);
   /* hmm, raise exception? */
   return STATUS_SUCCESS;
 }
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 2ca2aeb..e4ff90a 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -294,7 +294,7 @@ void WINAPI __regs_ExAcquireFastMutexUnsafe( PFAST_MUTEX FastMutex )
 void WINAPI ExAcquireFastMutexUnsafe( PFAST_MUTEX FastMutex )
 #endif
 {
-    FIXME( "%p\n", FastMutex );
+    TRACE( "%p\n", FastMutex );
 }
 
 
@@ -308,7 +308,7 @@ void WINAPI __regs_ExReleaseFastMutexUnsafe( PFAST_MUTEX FastMutex )
 void WINAPI ExReleaseFastMutexUnsafe( PFAST_MUTEX FastMutex )
 #endif
 {
-    FIXME( "%p\n", FastMutex );
+    TRACE( "%p\n", FastMutex );
 }
 
 
@@ -317,7 +317,7 @@ void WINAPI ExReleaseFastMutexUnsafe( PFAST_MUTEX FastMutex )
  */
 void WINAPI IoAcquireCancelSpinLock( PKIRQL Irql )
 {
-    FIXME( "%p\n", Irql );
+    TRACE( "%p\n", Irql );
 }
 
 /***********************************************************************
@@ -325,7 +325,7 @@ void WINAPI IoAcquireCancelSpinLock( PKIRQL Irql )
  */
 void WINAPI IoReleaseCancelSpinLock( KIRQL Irql )
 {
-    FIXME( "%u\n", Irql );
+    TRACE( "%u\n", Irql );
 }
 
 /***********************************************************************
@@ -614,7 +614,7 @@ NTSTATUS WINAPI IoCreateSymbolicLink( UNICODE_STRING *name, UNICODE_STRING *targ
  */
 BOOLEAN WINAPI IoIsWdmVersionAvailable( UCHAR MajorVersion, UCHAR MinorVersion )
 {
-    FIXME( "%u %u\n", MajorVersion, MinorVersion );
+    TRACE( "%u %u\n", MajorVersion, MinorVersion );
     return TRUE;
 }
 
@@ -724,7 +724,7 @@ void WINAPI IoRegisterDriverReinitialization( PDRIVER_OBJECT obj, PDRIVER_REINIT
  */
 NTSTATUS WINAPI IoRegisterShutdownNotification( PDEVICE_OBJECT obj )
 {
-    FIXME( "stub: %p\n", obj );
+    TRACE( "stub: %p\n", obj );
     return STATUS_SUCCESS;
 }
 
@@ -948,7 +948,7 @@ NTSTATUS WINAPI KeDelayExecutionThread ( KPROCESSOR_MODE WaitMode,
 void WINAPI KeInitializeEvent( PRKEVENT Event, EVENT_TYPE Type,
                                BOOLEAN State )
 {
-    FIXME( "%p %u %u\n", Event, Type, State );
+    TRACE( "%p %u %u\n", Event, Type, State );
     RtlZeroMemory( Event, sizeof(KEVENT) );
     Event->Header.Type = Type;
     Event->Header.Size = 4;
@@ -963,7 +963,7 @@ void WINAPI KeInitializeEvent( PRKEVENT Event, EVENT_TYPE Type,
  */
 void WINAPI KeClearEvent( PRKEVENT Event )
 {
-    FIXME( "%p\n", Event );
+    TRACE( "%p\n", Event );
     Event->Header.SignalState = 0;
 }
 
@@ -975,7 +975,7 @@ LONG WINAPI KeResetEvent( PRKEVENT Event )
 {
     LONG ret;
 
-    FIXME( "%p\n", Event );
+    TRACE( "%p\n", Event );
 
     ret = Event->Header.SignalState;
     Event->Header.SignalState = 0;
@@ -991,7 +991,7 @@ LONG WINAPI KeSetEvent( PRKEVENT Event, KPRIORITY Increment,
 {
     LONG ret;
 
-    FIXME("%p %d %d\n", Event, Increment, Wait);
+    TRACE("%p %d %d\n", Event, Increment, Wait);
 
     ret = Event->Header.SignalState;
     Event->Header.SignalState = 1;
@@ -1004,7 +1004,7 @@ LONG WINAPI KeSetEvent( PRKEVENT Event, KPRIORITY Increment,
  */
 void WINAPI KeInitializeMutex( PRKMUTEX Mutex, ULONG Level )
 {
-    FIXME( "%p %u\n", Mutex, Level );
+    TRACE( "%p %u\n", Mutex, Level );
     RtlZeroMemory( Mutex, sizeof(KMUTEX) );
     Mutex->Header.Type = 2;
     Mutex->Header.Size = 8;
@@ -1019,7 +1019,7 @@ void WINAPI KeInitializeMutex( PRKMUTEX Mutex, ULONG Level )
  */
 LONG WINAPI KeReleaseMutex( PRKMUTEX Mutex, BOOLEAN Wait )
 {
-    FIXME("%p %d\n", Mutex, Wait);
+    TRACE("%p %d\n", Mutex, Wait);
     return STATUS_SUCCESS;
 }
 
@@ -1029,7 +1029,7 @@ LONG WINAPI KeReleaseMutex( PRKMUTEX Mutex, BOOLEAN Wait )
  */
 void WINAPI KeInitializeSpinLock( PKSPIN_LOCK SpinLock )
 {
-    FIXME("%p\n", SpinLock);
+    TRACE("%p\n", SpinLock);
 }
 
 
@@ -1039,7 +1039,7 @@ void WINAPI KeInitializeSpinLock( PKSPIN_LOCK SpinLock )
 UINT WINAPI PoSetPowerState( PDEVICE_OBJECT DeviceObject,
                              POWER_STATE_TYPE Type, POWER_STATE State )
 {
-    FIXME("%p %u %u\n", DeviceObject, Type, State.DeviceState);
+    TRACE("%p %u %u\n", DeviceObject, Type, State.DeviceState);
     return State.DeviceState;
 }
 
@@ -1143,7 +1143,7 @@ NTSTATUS WINAPI KeWaitForSingleObject( PVOID Object, KWAIT_REASON WaitReason,
                                        KPROCESSOR_MODE WaitMode, BOOLEAN Alertable,
                                        PLARGE_INTEGER Timeout )
 {
-    FIXME("%p %u %d %d %p\n", Object, WaitReason, WaitMode, Alertable, Timeout);
+    TRACE("%p %u %d %d %p\n", Object, WaitReason, WaitMode, Alertable, Timeout);
     return STATUS_SUCCESS;
 }
 
diff --git a/dlls/usbd.sys/usbd.c b/dlls/usbd.sys/usbd.c
index 1c0a6c3..8c2a8f9 100644
--- a/dlls/usbd.sys/usbd.c
+++ b/dlls/usbd.sys/usbd.c
@@ -90,7 +90,7 @@ PUSB_INTERFACE_DESCRIPTOR WINAPI USBD_ParseConfigurationDescriptorEx(
         LONG AlternateSetting, LONG InterfaceClass,
         LONG InterfaceSubClass, LONG InterfaceProtocol )
 {
-    FIXME( "%p, %p, %d, %d, %d, %d, %d\n", ConfigurationDescriptor,
+    TRACE( "%p, %p, %d, %d, %d, %d, %d\n", ConfigurationDescriptor,
             StartPosition, InterfaceNumber, AlternateSetting,
             InterfaceClass, InterfaceSubClass, InterfaceProtocol );
     return (PUSB_INTERFACE_DESCRIPTOR)++ConfigurationDescriptor;
-- 
1.5.6.5.GIT



Подробная информация о списке рассылки Wine-patches