fe7ec80cfb23e4bd6b978146e5bf6711e5ad58f0
19 // #include <usbprotocoldefs.h>
27 // the following includes are required to get kcom to compile
33 #include "interfaces.h"
36 // flags for handling USB_REQUEST_SET_FEATURE / USB_REQUEST_GET_FEATURE
39 #define PORT_SUSPEND 2
40 #define PORT_OVER_CURRENT 3
43 #define C_PORT_CONNECTION 16
44 #define C_PORT_ENABLE 17
45 #define C_PORT_SUSPEND 18
46 #define C_PORT_OVER_CURRENT 19
47 #define C_PORT_RESET 20
50 // tag for allocations
52 #define TAG_USBUHCI 'ICHU'
55 // assert for c++ - taken from portcls
57 #define PC_ASSERT(exp) \
59 RtlAssert((PVOID) #exp, (PVOID)__FILE__, __LINE__, NULL ), FALSE : TRUE)
64 NTSTATUS NTAPI
CreateUSBHardware(PUSBHARDWAREDEVICE
*OutHardware
);
69 NTSTATUS NTAPI
CreateUSBQueue(PUSBQUEUE
*OutUsbQueue
);
74 NTSTATUS NTAPI
InternalCreateUSBRequest(PUSBREQUEST
*OutRequest
);