Skip to content

Conversation

nicholasbishop
Copy link
Member

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
Member

Please fix CI

@phip1611 phip1611 enabled auto-merge August 12, 2024 15:31
@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
@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
2 participants