-
-
Notifications
You must be signed in to change notification settings - Fork 182
Implement BlockIO2 #1841
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
Implement BlockIO2 #1841
Conversation
phip1611
left a comment
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.
Thanks for your contribution! I un-checked Sensible git history tho ;)
Your PR should have two commits:
uefi-raw: add BlockIo2 protocoluefi: add BlockIo2 protocol wrapper
|
Thanks for the review, I updated the commits as you requested. |
| &mut self, | ||
| media_id: u32, | ||
| lba: Lba, | ||
| token: Option<NonNull<BlockIO2Token>>, |
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.
to me the Option<NonNull<T>> looks a little weird and not very idiomatic. However, it is used in lots of places of the code base, so its fine with me.
phip1611
left a comment
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.
Great contribution, thank you!
Implementation of the Block I/O 2 Protocol
Checklist