Author: amunger
Date: Thu Aug 24 22:48:15 2006
New Revision: 23691
URL:
http://svn.reactos.org/svn/reactos?rev=23691&view=rev
Log:
DBG=0 fixes, patch by Physicus.
Modified:
trunk/reactos/drivers/usb/nt4compat/usbdriver/ehci.c
trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c
trunk/reactos/ntoskrnl/include/internal/i386/asmmacro.S
Modified: trunk/reactos/drivers/usb/nt4compat/usbdriver/ehci.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/nt4compat/usbd…
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/ehci.c (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/ehci.c Thu Aug 24 22:48:15 2006
@@ -6059,7 +6059,10 @@
{
PEHCI_DEV ehci;
- ULONG status, urb_count;
+ ULONG status;
+#ifdef DBG
+ ULONG urb_count;
+#endif
PLIST_ENTRY pthis, pnext;
PURB purb;
BOOLEAN door_bell_rings;
Modified: trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/nt4compat/usbd…
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c Thu Aug 24 22:48:15 2006
@@ -3771,9 +3771,9 @@
NTSTATUS
DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath)
{
+#if DBG
NTSTATUS ntStatus = STATUS_SUCCESS;
-#if DBG
// should be done before any debug output is done.
// read our debug verbosity level from the registry
//NetacOD_GetRegistryDword( NetacOD_REGISTRY_PARAMETERS_PATH, //absolute registry
path
Modified: trunk/reactos/ntoskrnl/include/internal/i386/asmmacro.S
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/i386/asmmacro.S (original)
+++ trunk/reactos/ntoskrnl/include/internal/i386/asmmacro.S Thu Aug 24 22:48:15 2006
@@ -566,7 +566,9 @@
jnz 6f
/* Assert the trap frame */
+#endif
5:
+#ifdef DBG
sub dword ptr [esp+KTRAP_FRAME_DEBUGARGMARK], 0xBADB0D00
//jnz 0f // FIXME: ROS IS BROKEN