-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapt USB stack to work on ia32 #34
base: master
Are you sure you want to change the base?
Conversation
JIRA: RTOS-937
The reply data was not copied by the responder to the buffer address provided by the sender. JIRA: RTOS-937
65405df
to
3514ec3
Compare
3514ec3
to
257c6d9
Compare
This allows usb to be loaded from syspage (e.g. so that umass can be used for rootfs mounting) JIRA: RTOS-937
257c6d9
to
1f3319f
Compare
@@ -64,6 +64,7 @@ typedef struct usb_transfer { | |||
unsigned long rid; | |||
unsigned int port; | |||
pid_t pid; | |||
msg_t msg; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pid
field became redundant. Please note that msg_t
is quite hefty (150 bytes)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, this was only a temporary solution to make synchronous transfers work before doing a rework - I could have added a comment about this. A final more thought through solution is in #35
drvBind always succeeded even when no driver has been found for a device JIRA: RTOS-937
drvBind races with drvAdd. This change ensures that devices won't be orphaned if added by hcd before adding the corresponding driver in the single-driver scenario. This does not fix the race in case of multi-driver scenario, though, hence the "orphaned" todo is left untouched JIRA: RTOS-937
11073b9
to
d151c98
Compare
JIRA: RTOS-937
d151c98
to
864d4f9
Compare
…able JIRA: RTOS-937
864d4f9
to
204e45a
Compare
Various additions and fixes necessary for making the USB work on ia32
JIRA: RTOS-937
Description
Motivation and Context
Types of changes
How Has This Been Tested?
Checklist:
Special treatment
usb: Adapt USB stack to work on ia32 phoenix-rtos-devices#525