4fd78ce4ddcd331311ef3a1802a8f31d4bd7b5c4
20 // #include <usbprotocoldefs.h>
28 // the following includes are required to get kcom to compile
34 #include "interfaces.h"
37 // flags for handling USB_REQUEST_SET_FEATURE / USB_REQUEST_GET_FEATURE
40 #define PORT_SUSPEND 2
41 #define PORT_OVER_CURRENT 3
44 #define C_PORT_CONNECTION 16
45 #define C_PORT_ENABLE 17
46 #define C_PORT_SUSPEND 18
47 #define C_PORT_OVER_CURRENT 19
48 #define C_PORT_RESET 20
51 // tag for allocations
53 #define TAG_USBOHCI 'ICHO'
56 // assert for c++ - taken from portcls
58 #define PC_ASSERT(exp) \
60 RtlAssert((PVOID) #exp, (PVOID)__FILE__, __LINE__, NULL ), FALSE : TRUE)
65 NTSTATUS
CreateUSBHardware(PUSBHARDWAREDEVICE
*OutHardware
);
70 NTSTATUS
CreateUSBQueue(PUSBQUEUE
*OutUsbQueue
);
75 NTSTATUS
InternalCreateUSBRequest(PUSBREQUEST
*OutRequest
);