https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5654674e8c711e02a6092…
commit 5654674e8c711e02a60922007ec3954c4eca94e4
Author: Vadim Galyant <vgal(a)rambler.ru>
AuthorDate: Fri Dec 1 10:18:50 2017 +0900
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sun Jan 21 19:35:45 2018 +0100
[USBPORT] Add stubs for USB2_AllocateHS() and USB2_DeallocateEndpointBudget().
---
drivers/usb/usbport/usb2.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/drivers/usb/usbport/usb2.c b/drivers/usb/usbport/usb2.c
index a3c0d1449d..5e0ace37c6 100644
--- a/drivers/usb/usbport/usb2.c
+++ b/drivers/usb/usbport/usb2.c
@@ -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,