toku-sa-n / ramen

A toy OS written in Rust supporting xHCI.
GNU General Public License v3.0
40 stars 5 forks source link

chore(deps): bump uefi from 0.14.0 to 0.15.2 #1106

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps uefi from 0.14.0 to 0.15.2.

Changelog

Sourced from uefi's changelog.

uefi - 0.15.2

Added

  • Added PartialEq impls for CStr16 == CStr16, &CStr16 == CString, and CString == &CStr16.
  • Added Display impl for CString16.
  • Added Handle::from_ptr and SystemTable<View>::from_ptr, which are unsafe methods for initializing from a raw pointer.
  • Added CStr16::as_slice_with_nul to provide immutable access to the underlying slice.
  • Added LoadedImage::load_options_as_bytes and LoadedImage::load_options_as_cstr16.
  • Added Align::offset_up_to_alignment, Align::round_up_to_alignment, and Align::align_buf.
  • Added BootServices::connect_controller and BootServices::disconnect_controller.
  • Added BootServices::load_image and LoadImageSource. Together these replace BootServices::load_image_from_buffer and also allow an image to be loaded via the SimpleFileSystem protocol.
  • Added Rng protocol.
  • Added GptPartitionAttributes struct and associated constants.
  • Added Output::output_string_lossy.
  • Added ResultExt::handle_warning.

Changed

  • Updated to the 2021 edition.
  • File::open now takes the filename as &CStr16 instead of &str, avoiding an implicit string conversion.
  • FileInfo::new, FileSystemInfo::new, and FileSystemVolumeLabel::new now take their name parameter as &CStr16 instead of &str, avoiding an implicit string conversion. Additionally, an unaligned storage buffer is now allowed as long as it is big enough to provide an aligned subslice.
  • LoadImage::set_load_options now takes a u8 pointer instead of Char16.
  • The Error type is now public.
  • The type of GptPartitionEntry.attributes is now GptPartitionAttributes.
  • The uefi::Result type now treats UEFI warnings as errors by default. The uefi::Result::Ok variant no longer contains a Completion, so the type behaves more like a regular Rust Result type.

Removed

  • Removed CStr16::as_string method. Use ToString instead.

... (truncated)

Commits
  • b7ec37f Publish new versions of the crates (#390)
  • c55ac55 Fix status to Result conversions
  • c06922f Simplify uefi::Result type and remove Completion
  • 9690c0e Add GptPartitionAttributes bitflags
  • 392e624 Add rng protocol
  • d214630 Update changelog
  • 8e31830 fix rng test
  • 17c9011 Replace RngAlgorithm struct by RngAlgorithmType Enum + Better test log
  • 620ed9d fix get_info + make pointers unsafe
  • 02b0b07 Merge branch 'main' into add-rng-protocole
  • Additional commits viewable in compare view


Dependabot compatibility score

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)
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

dependabot[bot] commented 2 years ago

Superseded by #1113.