Author: akhaldi
Date: Tue Dec 24 20:54:29 2013
New Revision: 61379
URL:
http://svn.reactos.org/svn/reactos?rev=61379&view=rev
Log:
[USBUHCI]
* Move some inclusions and definitions to the main header.
* Do not include debug.h into the main header.
CORE-7716
Modified:
trunk/reactos/drivers/usb/usbuhci/hardware.cpp
trunk/reactos/drivers/usb/usbuhci/usb_queue.cpp
trunk/reactos/drivers/usb/usbuhci/usb_request.cpp
trunk/reactos/drivers/usb/usbuhci/usbuhci.cpp
trunk/reactos/drivers/usb/usbuhci/usbuhci.h
Modified: trunk/reactos/drivers/usb/usbuhci/hardware.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbuhci/hardwa…
==============================================================================
--- trunk/reactos/drivers/usb/usbuhci/hardware.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbuhci/hardware.cpp [iso-8859-1] Tue Dec 24 20:54:29 2013
@@ -8,9 +8,10 @@
* Johannes Anderwald (johannes.anderwald(a)reactos.org)
*/
-#define INITGUID
#include "usbuhci.h"
-#include "hardware.h"
+
+#define NDEBUG
+#include <debug.h>
typedef VOID __stdcall HD_INIT_CALLBACK(IN PVOID CallBackContext);
Modified: trunk/reactos/drivers/usb/usbuhci/usb_queue.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbuhci/usb_qu…
==============================================================================
--- trunk/reactos/drivers/usb/usbuhci/usb_queue.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbuhci/usb_queue.cpp [iso-8859-1] Tue Dec 24 20:54:29 2013
@@ -9,7 +9,9 @@
*/
#include "usbuhci.h"
-#include "hardware.h"
+
+#define NDEBUG
+#include <debug.h>
class CUSBQueue : public IUHCIQueue
{
Modified: trunk/reactos/drivers/usb/usbuhci/usb_request.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbuhci/usb_re…
==============================================================================
--- trunk/reactos/drivers/usb/usbuhci/usb_request.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbuhci/usb_request.cpp [iso-8859-1] Tue Dec 24 20:54:29
2013
@@ -8,10 +8,10 @@
* Johannes Anderwald (johannes.anderwald(a)reactos.org)
*/
-#define INITGUID
-
#include "usbuhci.h"
-#include "hardware.h"
+
+#define NDEBUG
+#include <debug.h>
class CUSBRequest : public IUHCIRequest
{
Modified: trunk/reactos/drivers/usb/usbuhci/usbuhci.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbuhci/usbuhc…
==============================================================================
--- trunk/reactos/drivers/usb/usbuhci/usbuhci.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbuhci/usbuhci.cpp [iso-8859-1] Tue Dec 24 20:54:29 2013
@@ -9,6 +9,9 @@
*/
#include "usbuhci.h"
+
+#define NDEBUG
+#include <debug.h>
extern
"C"
Modified: trunk/reactos/drivers/usb/usbuhci/usbuhci.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbuhci/usbuhc…
==============================================================================
--- trunk/reactos/drivers/usb/usbuhci/usbuhci.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbuhci/usbuhci.h [iso-8859-1] Tue Dec 24 20:54:29 2013
@@ -1,9 +1,9 @@
#ifndef USBUHCI_H__
#define USBUHCI_H__
+#define INITGUID
+
#include <ntddk.h>
-#define NDEBUG
-#include <debug.h>
#include <hubbusif.h>
#include <usbbusif.h>
#include <usbioctl.h>
@@ -30,6 +30,7 @@
#include <dmusicks.h>
#include <kcom.h>
+#include "hardware.h"
#include "interfaces.h"
//