2011-04-14 11:35:16 +00:00
|
|
|
#ifndef USBEHCI_H__
|
|
|
|
#define USBEHCI_H__
|
|
|
|
|
2014-01-03 17:23:55 +00:00
|
|
|
#include <libusb.h>
|
2011-04-14 11:35:16 +00:00
|
|
|
|
2013-12-21 14:19:14 +00:00
|
|
|
#include "hardware.h"
|
2011-04-14 11:35:16 +00:00
|
|
|
#include "interfaces.h"
|
|
|
|
|
2011-04-15 15:45:09 +00:00
|
|
|
//
|
|
|
|
// tag for allocations
|
|
|
|
//
|
|
|
|
#define TAG_USBEHCI 'ICHE'
|
2011-04-14 11:35:16 +00:00
|
|
|
|
|
|
|
//
|
|
|
|
// assert for c++ - taken from portcls
|
|
|
|
//
|
|
|
|
#define PC_ASSERT(exp) \
|
|
|
|
(VOID)((!(exp)) ? \
|
|
|
|
RtlAssert((PVOID) #exp, (PVOID)__FILE__, __LINE__, NULL ), FALSE : TRUE)
|
|
|
|
|
|
|
|
//
|
|
|
|
// hardware.cpp
|
|
|
|
//
|
2012-02-29 09:41:34 +00:00
|
|
|
NTSTATUS NTAPI CreateUSBHardware(PUSBHARDWAREDEVICE *OutHardware);
|
2011-04-14 11:35:16 +00:00
|
|
|
|
2011-04-17 22:06:20 +00:00
|
|
|
//
|
|
|
|
// usb_queue.cpp
|
|
|
|
//
|
2012-02-29 09:41:34 +00:00
|
|
|
NTSTATUS NTAPI CreateUSBQueue(PUSBQUEUE *OutUsbQueue);
|
2011-04-17 22:06:20 +00:00
|
|
|
|
2011-04-20 04:30:22 +00:00
|
|
|
//
|
|
|
|
// usb_request.cpp
|
|
|
|
//
|
2012-02-29 09:41:34 +00:00
|
|
|
NTSTATUS NTAPI InternalCreateUSBRequest(PUSBREQUEST *OutRequest);
|
2011-04-20 04:30:22 +00:00
|
|
|
|
2014-01-03 17:23:55 +00:00
|
|
|
#endif /* USBEHCI_H__ */
|