Skip to content
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

boot: Add freestanding locate_handle and find_handles #1321

Merged
merged 3 commits into from
Aug 12, 2024

Conversation

nicholasbishop
Copy link
Contributor

These are relatively old parts of the API. The BootServices::locate_handle method in particular doesn't quite match our current conventions. For the freestanding version, changed the input buffer to not be an Option, and changed the buffer-too-small case to be an error rather than returning Ok(usize).

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

This is one of the older parts of uefi-rs, so the API of the BootServices
version didn't quite match our current conventions. Changed the input buffer to
not be an `Option`, and changed the buffer-too-small case to be an error rather
than returning `Ok(usize)`.
@phip1611
Copy link
Contributor

Please fix CI

@phip1611 phip1611 added this pull request to the merge queue Aug 12, 2024
Merged via the queue into rust-osdev:main with commit 058066f Aug 12, 2024
13 checks passed
@nicholasbishop nicholasbishop deleted the bishop-locate-handle branch August 12, 2024 15:38
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.

2 participants