[USBPORT] Add stubs for USB2_AllocateHS() and USB2_DeallocateEndpointBudget().
authorVadim Galyant <vgal@rambler.ru>
Fri, 1 Dec 2017 01:18:50 +0000 (10:18 +0900)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 21 Jan 2018 18:35:45 +0000 (19:35 +0100)
drivers/usb/usbport/usb2.c

index a3c0d14..5e0ace3 100644 (file)
@@ -250,6 +250,27 @@ USB2_InitTtEndpoint(IN PUSB2_TT_ENDPOINT TtEndpoint,
     TtEndpoint->Tt = Tt;
 }
 
+BOOLEAN
+NTAPI
+USB2_AllocateHS(IN PUSB2_TT_ENDPOINT TtEndpoint,
+                IN ULONG Frame)
+{
+    DPRINT("USB2_AllocateHS: UNIMPLEMENTED FIXME\n");
+    return FALSE;
+}
+
+BOOLEAN
+NTAPI
+USB2_DeallocateEndpointBudget(IN PUSB2_TT_ENDPOINT TtEndpoint,
+                              IN PUSB2_REBALANCE Rebalance,
+                              IN PULONG RebalanceListEntries,
+                              IN ULONG MaxFrames)
+{
+    DPRINT("USB2_DeallocateEndpointBudget: UNIMPLEMENTED FIXME\n");
+    ASSERT(FALSE);
+    return FALSE;
+}
+
 BOOLEAN
 NTAPI
 USB2_AllocateTimeForEndpoint(IN PUSB2_TT_ENDPOINT TtEndpoint,