mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 11:56:26 +00:00
49ab546ac3
svn path=/branches/ntvdm/; revision=61579
37 lines
622 B
C
37 lines
622 B
C
#ifndef USBEHCI_H__
|
|
#define USBEHCI_H__
|
|
|
|
#include <libusb.h>
|
|
|
|
#include "hardware.h"
|
|
#include "interfaces.h"
|
|
|
|
//
|
|
// tag for allocations
|
|
//
|
|
#define TAG_USBEHCI 'ICHE'
|
|
|
|
//
|
|
// assert for c++ - taken from portcls
|
|
//
|
|
#define PC_ASSERT(exp) \
|
|
(VOID)((!(exp)) ? \
|
|
RtlAssert((PVOID) #exp, (PVOID)__FILE__, __LINE__, NULL ), FALSE : TRUE)
|
|
|
|
//
|
|
// hardware.cpp
|
|
//
|
|
NTSTATUS NTAPI CreateUSBHardware(PUSBHARDWAREDEVICE *OutHardware);
|
|
|
|
//
|
|
// usb_queue.cpp
|
|
//
|
|
NTSTATUS NTAPI CreateUSBQueue(PUSBQUEUE *OutUsbQueue);
|
|
|
|
//
|
|
// usb_request.cpp
|
|
//
|
|
NTSTATUS NTAPI InternalCreateUSBRequest(PUSBREQUEST *OutRequest);
|
|
|
|
#endif /* USBEHCI_H__ */
|