Skip to content

Update uefi requirement from 0.15 to 0.21 in /kernel #301

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

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 16, 2023

Updates the requirements on uefi to permit the latest version.

Changelog

Sourced from uefi's changelog.

uefi - 0.21.0 (2023-05-15)

Added

  • There is a new fs module that provides a high-level API for file-system access. The API is close to the std::fs module. The module also provides a Path and a PathBuf abstraction that is similar to the ones from std::path. However, they are adapted for UEFI.
  • Multiple convenience methods for CString16 and CStr16, including:
    • CStr16::as_slice()
    • CStr16::num_chars()
    • CStr16::is_empty()
    • CString16::new()
    • CString16::is_empty()
    • CString16::num_chars()
    • CString16::replace_char()
    • CString16::push()
    • CString16::push_str()
    • From<&CStr16> for CString16
    • From<&CStr16> for String
    • From<&CString16> for String
  • Added RuntimeServices::get_variable_boxed (requires the alloc feature).
  • Added CStr16::as_bytes
  • Added AsRef<[u8]> and Borrow<[u8]> for Cstr8 and CStr16.
  • Added LoadedImageDevicePath protocol.
  • Added FileAttribute::is_directory(&self) and FileAttribute::is_regular_file(&self)
  • Added LoadedImage::code_type() and LoadedImage::data_type()
  • Allocator will now use the memory type of the running UEFI binary:
    • MemoryType::LOADER_DATA for UEFI applications
    • MemoryType::BOOT_SERVICES_DATA for UEFI boot drivers
    • MemoryType::RUNTIME_SERVICES_DATA for UEFI runtime drivers

Changed

  • The global_allocator module has been renamed to allocator, and is now available regardless of whether the global_allocator feature is enabled. The global_allocator feature now only controls whether allocator::Allocator is set as Rust's global allocator.
  • Error::new and Error::from now panic if the status is SUCCESS.
  • Image::get_image_file_system now returns a fs::FileSystem instead of the protocol.
  • CString16::default now always contains a null character.
  • Conversion from Status to Result has been reworked. The into_with, into_with_val, and into_with_err methods have been removed from Status. impl From<Status> for Result has also been removed. A new StatusExt trait has been added that provides conversion methods to replace the ones that have been removed. StatusExt has been added to the prelude.
  • The Guid struct and guid! macro implementations have been replaced with re-exports from the uguid crate. The from_values

... (truncated)

Commits
  • 0965660 chore: Release
  • bb2f56b uefi: Bump uefi-macros version
  • 148d438 chore: Release
  • e6803d7 allocator: Use appropriate memory types
  • 9dbdfe9 loaded_image: Provide getters for memory types
  • 816d39c Merge pull request #803 from nicholasbishop/bishop-disable-debug-supp-aarch64
  • 94bd9aa Disable multi-processor test on aarch64
  • 182bda4 Disable DebugSupport protocol test on aarch64
  • 2f182bf Merge pull request #802 from nicholasbishop/bishop-drop-dep
  • 37c953e uefi-raw: Drop dep on uefi-macros
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels May 16, 2023
Updates the requirements on [uefi](https://github.com/rust-osdev/uefi-rs) to permit the latest version.
- [Changelog](https://github.com/rust-osdev/uefi-rs/blob/main/CHANGELOG.md)
- [Commits](rust-osdev/uefi-rs@uefi-services-v0.15.0...uefi-v0.21.0)

---
updated-dependencies:
- dependency-name: uefi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/kernel/uefi-0.21 branch from d584ec1 to 6a6ee9e Compare May 23, 2023 18:14
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 22, 2023

Superseded by #314.

@dependabot dependabot bot closed this Jun 22, 2023
@dependabot dependabot bot deleted the dependabot/cargo/kernel/uefi-0.21 branch June 22, 2023 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-not-required dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant