From 3525a89b7a3a2e211a5dae4154256a4cf12ba45b Mon Sep 17 00:00:00 2001 From: Benjamin David Lunt <11790532+fysnet@users.noreply.github.com> Date: Sun, 4 Feb 2024 22:08:31 -0700 Subject: [PATCH] Update usb_xhci.cc (#262) : The EDTLA should be updated for OUT going packets too. The EDTLA should be updated for OUT going packets too. --- bochs/iodev/usb/usb_xhci.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/bochs/iodev/usb/usb_xhci.cc b/bochs/iodev/usb/usb_xhci.cc index 247715aa5..6d116bbd0 100644 --- a/bochs/iodev/usb/usb_xhci.cc +++ b/bochs/iodev/usb/usb_xhci.cc @@ -2406,6 +2406,7 @@ Bit64u bx_usb_xhci_c::process_transfer_ring(int slot, int ep, Bit64u ring_addr, } else { ret = BX_XHCI_THIS broadcast_packet(&p->packet, port_num - 1); len = transfer_length; + BX_XHCI_THIS hub.slots[slot].ep_context[ep].edtla += len; BX_DEBUG(("OUT: Transferred %d bytes (ret = %d)", len, ret)); } break;