Skip to content

Implement event data trb handling#238

Open
Noi0103 wants to merge 9 commits into
mainfrom
Noi0103/implement-event-data-trb-handling
Open

Implement event data trb handling#238
Noi0103 wants to merge 9 commits into
mainfrom
Noi0103/implement-event-data-trb-handling

Conversation

@Noi0103
Copy link
Copy Markdown
Member

@Noi0103 Noi0103 commented May 6, 2026

Windows is never (as far as I saw in logs at least) utilizing the interrupt on completion bit. Windows will instead use event data trb.

The event data appeared on the Control Endpoint and the handler is initially written for the Control Endpoint.

When NormalIn and NormalOut Endpoints also needed event data handling I vendored the handle functions into the respective NormalEndpoint implementations because it seemed easiest. Combining this so that any endpoint can call the same handle_event_data seems better/less error prone.
Should that be added to this PR?

@Noi0103 Noi0103 marked this pull request as ready for review May 6, 2026 14:31
@Noi0103 Noi0103 requested review from lbeierlieb and snue May 6, 2026 14:31
This is the stepping stone to add event data handling.
This should already enable a multi-TRB Data Stage TD.
@Noi0103 Noi0103 force-pushed the Noi0103/implement-event-data-trb-handling branch from 7e322dc to 77e9f72 Compare May 7, 2026 14:14
@Noi0103 Noi0103 force-pushed the Noi0103/implement-event-data-trb-handling branch from 77e9f72 to 5c81728 Compare May 8, 2026 12:04
@Noi0103 Noi0103 force-pushed the Noi0103/implement-event-data-trb-handling branch from 5c81728 to bcd3d40 Compare May 8, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant