Kernel: Reset xHCI control endpoint on command stall

This commit is contained in:
2026-08-22 11:57:19 +03:00
parent fdbfda189f
commit 6a7c1c1281
2 changed files with 64 additions and 13 deletions
@@ -373,6 +373,33 @@ namespace Kernel::XHCI
uint32_t slot_id : 8;
} configure_endpoint_command;
struct
{
uint32_t : 32;
uint32_t : 32;
uint32_t : 32;
uint32_t cycle_bit : 1;
uint32_t : 8;
uint32_t tsp : 1;
uint32_t trb_type : 6;
uint32_t endpoint_id : 5;
uint32_t : 3;
uint32_t slot_id : 8;
} reset_endpoint_command;
struct
{
uint64_t new_tr_deque_pointer : 64;
uint32_t : 16;
uint32_t stream_id : 16;
uint32_t cycle_bit : 1;
uint32_t : 9;
uint32_t trb_type : 6;
uint32_t endpoint_id : 5;
uint32_t : 3;
uint32_t slot_id : 8;
} set_tr_deque_pointer_command;
struct
{
uint64_t ring_segment_ponter : 64;