* Remove inclusions that already exist in the main header.
* Cleanup the main header.
* Improve the GUIDs situation.
CORE-7716
svn path=/trunk/; revision=61505
usbuhci.cpp
usb_request.cpp
usb_queue.cpp
- hardware.cpp)
+ hardware.cpp
+ guid.cpp)
add_library(usbuhci SHARED
${SOURCE}
--- /dev/null
+/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
+
+#include <initguid.h>
+#include <libusb.h>
+
+/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */
#define UHCI_BULK_QUEUE 3
#define UHCI_DEBUG_QUEUE 4
-#endif
+#endif /* UHCI_HARDWARE_H */
-
#ifndef INTERFACES_HPP
#define INTERFACES_HPP
-#include "libusb.h"
-
//---------------------------------------------------------------------------
//
// Object Hierachy
typedef IUHCIQueue *PUHCIQUEUE;
-#endif
+#endif /* INTERFACES_HPP */
#ifndef USBUHCI_H__
#define USBUHCI_H__
-#define INITGUID
-
-#include <ntddk.h>
-#include <hubbusif.h>
-#include <usbbusif.h>
-#include <usbioctl.h>
-
-extern
-"C"
-{
-#include <usbdlib.h>
-}
-
-//
-// FIXME:
-// #include <usbprotocoldefs.h>
-//
-#include <usb.h>
-#include <stdio.h>
-#include <wdmguid.h>
-
-//
-// FIXME:
-// the following includes are required to get kcom to compile
-//
-#include <portcls.h>
-#include <dmusicks.h>
-#include <kcom.h>
+#include <libusb.h>
#include "hardware.h"
#include "interfaces.h"